GMP 4.2.4 fails with ABI=mode32 on powerpc970-unknown-linux-gnu

Torbjorn Granlund tg at
Wed Mar 11 15:51:18 CET 2009

Paul Zimmermann <Paul.Zimmermann at> writes:

  I tried compiling GMP 4.2.4 with ABI=mode32 on
  (powerpc970-unknown-linux-gnu), but it fails, although configure did not cry:
  zimmerma at gcc40:~/gmp-4.2.4$ ./configure --disable-shared ABI=mode32
  zimmerma at gcc40:~/gmp-4.2.4$ make
   gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_dive_1 -mpowerpc64 -Wa,-mppc64 -mcpu=970 -O3 -c dive_1.c -o dive_1.o
  /tmp/ccxURvOI.s: Assembler messages:
  /tmp/ccxURvOI.s:62: Error: junk at end of line: `1'
  /tmp/ccxURvOI.s:93: Error: junk at end of line: `1'
  make[2]: *** [dive_1.lo] Error 1
  make[2]: Leaving directory `/home/zimmerma/gmp-4.2.4/mpn'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/zimmerma/gmp-4.2.4'
  make: *** [all] Error 2
  Note that everything is ok with ABI=32.
What a naughty compiler, generating assembly code that the assembler
doesn't understand!  (This is not GMP related, it is easy to trigger
with plain C code.)

  Is there any reason why ABI=mode32 is not tested at all on
Just time constraints I suppose, and test system limitations.


More information about the gmp-bugs mailing list