bug-gnu-utils
[Top][All Lists]
Advanced

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

gcc-3.0.2-hppa64-hp-hpux11.00: c++ build failure for libstdc++.sl.3.2


From: Markus Werle
Subject: gcc-3.0.2-hppa64-hp-hpux11.00: c++ build failure for libstdc++.sl.3.2
Date: Thu, 08 Nov 2001 13:46:37 +0100

Hi!

It is possible to build the C part of gcc on hpux-11.0.
Not tested yet, but it seems to be fine, since a bootstrap of gcc
itself again is successful.

But for the c++ part we have a problem:
I tried to build gcc using binutils-2.11.2 _and_ today's cvs-binutils
together with gcc-3.0.1 and gcc-3.0.2.
All four combinations fail at this point: segmentation fault of ld.
(due to option --enable-shared)

Why does the build-process think I have no shared version of the lib?
Again: Can someone explain?
No one with the same problem on that platform?

regards,

Markus

../gcc-3.0.2/configure --prefix=/opt/precompiled/gcc-3.0.2-64 
--host=hppa64-hp-hpux11.00 --with-gnu-as 
--with-as=/opt/precompiled/gcc-3.0.2-64/bin/as
--with-gnu-ld --with-ld=/opt/precompiled/gcc-3.0.2-64/bin/ld 
--enable-version-specific-runtime-libs --enable-languages=c,c++,f77 
--enable-shared 2>&1 && make
-j8 bootstrap

[...]
*** Warning: This library needs some functionality provided by -lgcc.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
/work/markus/GCC/build-64/gcc/xgcc -B/work/markus/GCC/build-64/gcc/ -nostdinc++ 
 -L/work/markus/GCC/build-64/hppa64-hp-hpux11.00/libstdc++-v3/src
-L/work/markus/GCC/build-64/hppa64-hp-hpux11.00/libstdc++-v3/src/.libs 
-B/opt/precompiled/gcc-3.0.2-64/hppa64-hp-hpux11.00/bin/
-B/opt/precompiled/gcc-3.0.2-64/hppa64-hp-hpux11.00/lib/ -isystem 
/opt/precompiled/gcc-3.0.2-64/hppa64-hp-hpux11.00/include -shared -nostdlib
.libs/basic_file.o .libs/bitset.o .libs/c++locale.o .libs/cmath.o 
.libs/codecvt.o .libs/complex_io.o .libs/functexcept.o .libs/globals.o 
.libs/ios.o
.libs/limits.o .libs/locale.o .libs/locale-inst.o .libs/localename.o 
.libs/misc-inst.o .libs/stdexcept.o .libs/stl-inst.o .libs/string-inst.o 
.libs/strstream.o
.libs/valarray-inst.o .libs/wstring-inst.o -Wl,--whole-archive 
../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a 
-Wl,--no-whole-archive
-L/work/markus/GCC/build-64/hppa64-hp-hpux11.00/libstdc++-v3/src 
-L/work/markus/GCC/build-64/hppa64-hp-hpux11.00/libstdc++-v3/src/.libs -lm
../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm 
-L/work/markus/GCC/build-64/gcc
-L/opt/precompiled/gcc-3.0.2-64/hppa64-hp-hpux11.00/bin 
-L/opt/precompiled/gcc-3.0.2-64/hppa64-hp-hpux11.00/lib
-L/opt/precompiled/gcc-3.0.2-64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2
-L/opt/precompiled/gcc-3.0.2-64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2/../../../../hppa64-hp-hpux11.00/lib
 -L/opt/langtools/bin -L/opt/langtools/lib/pa20_64
-L/opt/langtools/lib 
-L/opt/precompiled/gcc-3.0.2-64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2/../../.. 
-lm -lc   -Wl,-soname -Wl,libstdc++.sl.3 -o
.libs/libstdc++.sl.3.2collect2: ld terminated with signal 11 [Segmentation 
fault]
make[4]: *** [libstdc++.la] Error 1
make[4]: Leaving directory 
`/work/markus/GCC/build-64/hppa64-hp-hpux11.00/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/work/markus/GCC/build-64/hppa64-hp-hpux11.00/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory 
`/work/markus/GCC/build-64/hppa64-hp-hpux11.00/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/work/markus/GCC/build-64'
make: *** [bootstrap] Error 2





reply via email to

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