Problems compiling libstdc++ under Solaris 7 x86
Gerald Heinig
Gerald.Heinig@post.rwth-aachen.de
Sat Jun 17 03:23:00 GMT 2000
Hi everyone,
I hope this is the correct mailing list for this type of problem. I'm having
problems compiling gcc with libstdc++ (ie. I'm doing a complete recompilation
with
libstdc++) under Solaris 7 x86.
I got gcc 2.95.2 from the Steve Christensen GNU utilities web page as a
compiled package for Solaris and installed it. No probs, works fine, except
for the old
library. I then fetched gcc-core (latest version) from an ftp mirror, gcc-g++
(also latest version) and grabbed the libstdc++-2.10.8 sources.
I followed the instructions ie. unpacked the libstdc++ sources in the
gccsrcdir directory, made the symlink, changed to the build directory and did
a make
bootstrap.
Stage1 and stage2 work fine, but the libstdc++ bombs after a while at
src/locale.cc
I've included the last few lines of output below.
Can anyone help here?
Thanks,
Gerald
opt/gcc/gcc-2.95.2/libstdc++ -I/opt/gcc/gcc-2.95.2/libstdc++/stl -I../libio
-I/opt/gcc/gcc-2.95.2/libs
tdc++/libio -I/opt/gcc/gcc-2.95.2/libstdc++/config/cpu/generic
-I/opt/gcc/gcc-2.95.2/libstdc++/config/
solaris/solaris2.7 -I/usr/local/include -D_GNU_SOURCE
-fno-implicit-templates -Wall -Wno-forma
t -W -Wwrite-strings -Winline -Werror -g -fhonor-std -O2 -c
/opt/gcc/gcc-2.95.2/libstdc++/src/locale.c
c
rm -f .libs/locale.lo
/opt/g++/gcc/xgcc -B/opt/g++/gcc/ -B/usr/local/i386-pc-solaris2.7/bin/
-DHAVE_CONFIG_H -I. -I/opt/gcc/g
cc-2.95.2/libstdc++/src -I.. -nostdinc++ -I/opt/gcc/gcc-2.95.2/libstdc++
-I/opt/gcc/gcc-2.95.2/libstdc+
+/stl -I../libio -I/opt/gcc/gcc-2.95.2/libstdc++/libio
-I/opt/gcc/gcc-2.95.2/libstdc++/config/cpu/gener
ic -I/opt/gcc/gcc-2.95.2/libstdc++/config/solaris/solaris2.7
-I/usr/local/include -D_GNU_SOURCE -fno-im
plicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -Werror -g
-fhonor-std -O2 -c -fPIC -DP
IC /opt/gcc/gcc-2.95.2/libstdc++/src/locale.cc -o .libs/locale.lo
In file included from
/usr/local/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/include/limits.h:117,
from /opt/g++/gcc/include/limits.h:117,
from /opt/g++/gcc/include/syslimits.h:7,
from /opt/g++/gcc/include/limits.h:11,
from /opt/gcc/gcc-2.95.2/libstdc++/bits/std_climits.h:38,
from /opt/gcc/gcc-2.95.2/libstdc++/bits/localefwd.h:38,
from /opt/gcc/gcc-2.95.2/libstdc++/bits/std_locale.h:37,
from /opt/gcc/gcc-2.95.2/libstdc++/src/locale.cc:35:
/usr/include/limits.h:204: warning: `DBL_MAX' redefined
/opt/g++/gcc/include/float.h:63: warning: this is the location of the previous
definition
/usr/include/limits.h:206: warning: `DBL_MIN' redefined
/opt/g++/gcc/include/float.h:54: warning: this is the location of the previous
definition
/usr/include/limits.h:209: warning: `FLT_MAX' redefined
/opt/g++/gcc/include/float.h:35: warning: this is the location of the previous
definition
/usr/include/limits.h:210: warning: `FLT_MIN' redefined
/opt/g++/gcc/include/float.h:26: warning: this is the location of the previous
definition
make[4]: *** [locale.lo] Error 1
make[4]: Leaving directory `/opt/g++/i386-pc-solaris2.7/libstdc++/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/g++/i386-pc-solaris2.7/libstdc++'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/opt/g++/i386-pc-solaris2.7/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/opt/g++'
make: *** [bootstrap] Error 2
bash-2.03$
~
More information about the Libstdc++
mailing list