Bug in GMP5.0.0/4.3.2?

James Wanless james at grok.ltd.uk
Fri Jan 8 22:51:55 CET 2010


Firstly, thank you (all?) for your work on the latest release.
However, I think I _may_ have found a bug:
[NB this is so far only tested on Intel Mac OSX Leopard gcc 4.0.1 -- 
disable-shared]
I get a duplicate symbol error, on trying to compile 'make check' [or  
my own program using libgmp.a]
"
gcc -std=gnu99 -O2 -pedantic -m64 -mtune=k8 -o t-bswap t- 
bswap.o  ./.libs/libtests.a /Users/james/math/gmp/gmp-4.3.2/.libs/ 
libgmp.a ../.libs/libgmp.a
ld: duplicate symbol ___gmpz_abs in ./.libs/libtests.a(misc.o) and t- 
bswap.o
collect2: ld returned 1 exit status
"
It's quite possible it's Mac/or me/-related! :), so any help to  
resolve would be much appreciated...
[EDIT: yes, it seemed to be Mac-related, I have no such problems on  
FC4 x86_64]
J




More information about the gmp-bugs mailing list