config? bootstrap on hppa64-hp-hpux11.0 with --enable-shared still fails

Markus Werle numerical.simulation@web.de
Fri Oct 26 02:02:00 GMT 2001


Hi!

There still is a problem with shared libs on my sorrow platform.
Maybe You have an idea what might be the reason.
I guess --configure does not get it right, because libgcc should
exist as shared version, no?

The only problem configure had was:
checking for xgettext... (cached) :
configure: warning: No program for building catalogs found -> building disabled


Can someone explain the -lgcc warning? I do not understand it at all.


Markus


Starting point:

# gcc -v
Reading specs from /opt/precompiled/gcc-3.0.1-64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.1/specs
Configured with: ../gcc-3.0.1/configure --prefix=/opt/precompiled/gcc-3.0.1-64 --host=hppa64-hp-hpux11.00 --with-gnu-as
--with-as=/opt/precompiled/gcc-3.0.1-64/bin/as --with-gnu-ld --with-ld=/opt/precompiled/gcc-3.0.1-64/bin/ld --enable-version-specific-runtime-libs
--enable-languages=c,c++,f77 --disable-shared
Thread model: single
gcc version 3.0.1

# ld --version
GNU ld 2.11.2
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
  Supported emulations:
   elf64hppa



# ../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 && make -j 8
bootstrap


[...]
/bin/sh ../libtool --tag CXX --mode=link /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      -fno-implicit-templates            -Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections  -g    -o libstdc++.la -rpath
/opt/precompiled/gcc-3.0.2-64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2 -version-info 3:2:0 -lm basic_file.lo bitset.lo c++locale.lo cmath.lo codecvt.lo
complex_io.lo functexcept.lo globals.lo ios.lo limits.lo locale.lo locale-inst.lo localename.lo misc-inst.lo stdexcept.lo stl-inst.lo string-inst.lo
strstream.lo valarray-inst.lo wstring-inst.lo ../libmath/libmath.la         ../libsupc++/libsupc++convenience.la -lm

*** 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.

*** 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.

*** 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.

*** 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/langtools/bin
-L/opt/langtools/lib/pa20_64 -L/opt/langtools/lib -lm -lc   -Wl,-soname -Wl,libstdc++.sl.3 -o .libs/libstdc++.sl.3.2
collect2: 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




More information about the Gcc-help mailing list