build problem for 32bit i386 (both pentium-m and barcelona affected)

leif not.really at
Sun May 11 22:11:54 UTC 2014

Torbjörn Granlund wrote:
> Marc Glisse <marc.glisse at> writes:
>    Renaming the 2 occurences of movl_eip_to_ebx in mpn/x86/x86-defs.m4 is
>    enough to let it build and check, I'll let more knowledgeable
>    maintainers find what the proper fix should be.
> We should probably clean up the files which explicitly adds these code
> snippets, and let m4 trickery handle it more robustly.  See the newer
> mpn/arm/arm-defs.m4 and its LEA, lea_list, and EPILOGUE_cpu macros.

Attached patch works for me (these are all instances AFAICS).

Tested with

make clean && ../gmp-6.0.0a/configure --enable-profiling=gprof 
--build={i686,athlon}-linux-gnu && make && make check


() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp-6.0.0-x86-gprof-pic.patch
Type: text/x-patch
Size: 1117 bytes
Desc: not available
URL: <>

More information about the gmp-bugs mailing list