bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Configuration bug in GMP 4.1.2


From: Krzysztof Kozminski
Subject: Configuration bug in GMP 4.1.2
Date: Thu, 02 Jan 2003 15:48:35 -0800

GMP 4.1.2 fails to configure under Solaris 2.7 when Solaris Workshop 6 is
reachable in the user's environment.  Apparently the 'configure' script picks
'cc' in preference to gcc (even though gcc was found first in my PATH) which
then seems to cause /usr/local/gnu/bin/nm to fail.

The programs involved were:
cc: Sun WorkShop 6 2000/04/07 C 5.1
gcc version 2.95.2 19991024 (release)
GNU nm 2.9

Here are relevant portions of the output from 'configure' script:

...
checking compiler gcc -g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9 ... no
checking compiler cc -fast -fns=no -fsimple=1 -xarch=v9 ... yes
checking for gcc... cc
...
checking what prefix to use for a local label... configure: WARNING:
"/usr/local/gnu/bin/nm -B" failure
configure: WARNING: cannot determine local label, using default L
L
checking how to define a 32-bit word... /usr/local/gnu/bin/nm: conftest.o:
File format not recognized
/usr/local/gnu/bin/nm: conftest.o: File format not recognized
configure: error: cannot determine how to define a 32-bit word
--- The output ended above.

The configuration options were:

./configure --prefix=/home/cts/tools --bindir=/home/cts/tools/bin/0-solaris
--sbindir=/home/cts/tools/bin/0-solaris
--libexecdir=/home/cts/tools/lib/0-solaris-gcc2.95.2
--libdir=/home/cts/tools/lib/0-solaris-gcc2.95.2 --enable-cxx

The config.log file is attached.

My PATH was:
.:/usr/local/gnu/bin:/opt/SUNWspro.6/bin:/usr/ucb:/usr/dt/bin:/bin:/usr/sbin:/usr/bin

My LD_LIBRARY_PATH was: .:/usr/local/gnu/lib:/usr/lib

Here's uname output:

SunOS fugitive.nsc.com 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10

config.guess produces: ultrasparc2i-sun-solaris2.7

configfsf.guess produces: sparc-sun-solaris2.7

After removing /opt/SUNWspro.6/bin from my PATH, the configuration went OK,
but the current behavior is unfriendly, and the reason for failure quite
unobvious at the first glance.

KK
-- 
"Divide by cucumber error.  Please reinstall the Universe and reboot."

Attachment: config.log
Description: Binary data

Attachment: Krzysztof.A.Kozminski.vcf
Description: Card for Krzysztof Kozminski


reply via email to

[Prev in Thread] Current Thread [Next in Thread]