gmp 5.1.1 Solaris 10 & 11 on x86 using Studio 12.3 ABI32 doesn't compile with --disable-assembly
Torbjorn Granlund
tg at gmplib.org
Thu May 16 17:07:03 CEST 2013
nisse at lysator.liu.se (Niels Möller) writes:
That seems like a genuine bug. I can reproduce it with
~/hack/gmp/configure ABI=32 --disable-assembly
on a GNU/linux x86_64 system as well. Make check gets link errors,
libtool: link: gcc -std=gnu99 -m32 -O2 -pedantic -fomit-frame-pointer -mtune=corei7 -march=corei7 -DNO_ASM -o .libs/t-bswap t-bswap.o ./.libs/libtests.a /home/nisse/build/gmp-32-noasm/.libs/libgmp.so ../.libs/libgmp.so
./.libs/libtests.a(misc.o): In function `tests_hardware_setround':
misc.c:(.text+0xcc6): undefined reference to `x86_fstcw'
misc.c:(.text+0xcd6): undefined reference to `x86_fldcw'
./.libs/libtests.a(misc.o): In function `tests_hardware_getround':
misc.c:(.text+0xd30): undefined reference to `x86_fstcw'
collect2: ld returned 1 exit status
make[4]: *** [t-bswap] Error 1
Tricky issue. We probably really need to manipulate the rounding mode
to make testing reliable, but I am not sure about that.
But if we let --disable-assembly also disable the asm files in 'tests'
we exclude the code for rounding mode manipulation...
--
Torbjörn
More information about the gmp-bugs
mailing list