6.0.0a -Fails to build on my powerpc box (debian wheezy)

Torbjorn Granlund tg at gmplib.org
Wed Mar 26 12:13:57 UTC 2014

[Moving bug report from gmp-discuss and gmp-devel.]

  libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c
  -m64 -O3 gcd_1.asm  -fPIC -DPIC -o .libs/gcd_1.o
  gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP
  -I.. -DOPERATION_gcd_1 -m64 -O3 tmp-gcd_1.s -fPIC -DPIC -o
  tmp-gcd_1.s: Assembler messages:
  tmp-gcd_1.s:94: Error: unsupported relocation against
  make[2]: *** [gcd_1.lo] Error 1
With Richard Biener's analysis this was easy to fix:

We might want to improve GMP's config.guess to better recognise the
affected CPUs.  We have very broad testing for powerpc64, but no system
was identified as a plain powerpc64-*.

I am curious about the contents of /prec/cpuinfo for the problem systems.

Please encrypt, key id 0xC8601622

More information about the gmp-bugs mailing list