Unable to compile GMP-4.2.1 on Solaris 10

TATGENHORST, KARL, ATTSI kt8603 at att.com
Mon Jan 12 16:35:17 CET 2009


Hello,

    I have tried a great deal of things to compile this and do believe I
have run into a bug. I will give you as many details as I can come up
with, feel free to ask for more.

Architecture:
SunOS sddsdbs1 5.10 Generic_118833-17 sun4u sparc
SUNW,UltraSPARC-IIi-cEngine  (running on a Sun Netra 105)

GCC:
sddsdbs1--# gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6

CFLAGS:
sddsdbs1--# echo $CFLAGS
-g -O2 -m32 -mptr32 -mcpu=v9

ABI=32
ISA=32

Configure Statement:
sddsdbs1--# ./configure --libdir=/usr/sfw/lib

make runs without error
make check runs nearly without error until actually building the tests
and then warns of multiple inclusions such as:

/bin/bash ../libtool --mode=link gcc  -g -O2 -m32 -mptr32 -mcpu=v9   -o
t-sub  t-sub.o libtests.la ../libgmp.la
gcc -g -O2 -m32 -mptr32 -mcpu=v9 -o .libs/t-sub t-sub.o
./.libs/libtests.a /tmp/gmp-4.2.1/.libs/libgmp.so ../.libs/libgmp.so
-R/usr/sfw/lib
ld: warning: file ../.libs/libgmp.so: linked to
/tmp/gmp-4.2.1/.libs/libgmp.so: attempted multiple inclusion of file

Then 9 out of 9 tests fail


Thank you for any assistance you may decide to give,


Karl Tatgenhorst
Network Security Systems Engineer
Office of the CSO
AT&T, Chicago, Il.
Office: 312-230-4207




More information about the gmp-bugs mailing list