Oh oh, no need. I know what is going on. This is a well-documented bug in old versions of gas.
You'll find notes to this effect throughout lots of old GMP assembly files, along with workarounds. Another reason to use yasm for *everything*. Anyhow, this ought not affect our release. Anyone making a fat binary should use a modern system, kernel, binutils, compiler, etc for best performance. But this bug will get fixed when we fix the Sun as bug. I'll update the ticket. Bill. 2009/3/16 Bill Hart <goodwillh...@googlemail.com>: > Jeff, if you haven't already cleaned up after the failure, could you > please post the contents of mpn/tmp-fat_entry.s to the list. > > Blank lines at the start can be omitted. > > Bill. > > 2009/3/15 Jason Moxham <ja...@njkfrudils.plus.com>: >> >> On Sunday 15 March 2009 23:36:29 Bill Hart wrote: >>> This actually looks like the same problem that causes the fat build to >>> fail with the Sun assembler. >>> >>> The code is definitely correct, with PIC and non-PIC sections. So we >>> infer that either: >>> >>> 1) PIC is not being passed correctly to gas/Sun as >>> >>> 2) M4 is screwing up >>> >>> 3) Certain versions of gas have a bug >>> >>> Here is the relevant section of Jeff's log: >>> >>> /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" >>> gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -m64 -D__GMP_WITHIN_GMP -I.. >>> -DOPERATION_`echo fat_entry | sed 's/_$//'` -I. -I.. `test -f >>> 'fat_entry.asm' || echo './'`fat_entry.asm >>> ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -m64 >>> -D__GMP_WITHIN_GMP -I.. -DOPERATION_fat_entry -I. -I.. fat_entry.asm >>> -fPIC -DPIC -o .libs/fat_entry.o >>> m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_fat_entry -DPIC >>> fat_entry.asm >tmp-fat_entry.s >>> gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -m64 -D__GMP_WITHIN_GMP -I.. >>> -DOPERATION_fat_entry -I. -I.. tmp-fat_entry.s -fPIC -DPIC -o >>> .libs/fat_entry.o >>> ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -m64 >>> -D__GMP_WITHIN_GMP -I.. -DOPERATION_fat_entry -I. -I.. fat_entry.asm >>> -o fat_entry.o >/dev/null 2>&1 >>> >>> It's not jumping out at me! >>> >>> Bill. >>> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---