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
  -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd_1
  -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
  .libs/gcd_1.o
  tmp-gcd_1.s: Assembler messages:
  tmp-gcd_1.s:94: Error: unsupported relocation against
  BMOD_1_TO_MOD_1_THRESHOLD
  make[2]: *** [gcd_1.lo] Error 1
  
With Richard Biener's analysis this was easy to fix:

https://gmplib.org/repo/gmp/raw-rev/4a6d258b467f
  
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.


Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list