build problem for 32bit i386 (both pentium-m and barcelona affected)
leif
not.really at online.de
Sun May 11 21:32:14 UTC 2014
On 11.05.2014 23:12, Marc Glisse wrote:
> On Sun, 11 May 2014, Marek Artur Penther wrote:
>
>> no miningful information is missing.
>
> Uh? --enable-profiling=gprof was a pretty fundamental piece of
> information...
>
> 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.
Either define(`movl_eip_to_ebx_done',1) in k7/gcd_1.asm (and possibly
elsewhere) after it gets defined "manually", or better replace
ifdef(`PIC_WITH_EBX',`
L(movl_eip_to_ebx):
mov (%esp), %ebx
ret
')
by
ifdef(`PIC_WITH_EBX',`
generate_movl_eip_to_ebx
')
and, a few line above, better also
ifdef(`PIC_WITH_EBX',`
push %ebx
call L(movl_eip_to_ebx)
add $_GLOBAL_OFFSET_TABLE_, %ebx
')
by
ifdef(`PIC_WITH_EBX',`
push %ebx
call_movl_eip_to_ebx
add $_GLOBAL_OFFSET_TABLE_, %ebx
')
(/Not tested/^TM.)
-leif
--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail
More information about the gmp-bugs
mailing list