This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hppa64-hp-hpux11.11 and GCC 3.2


In message <20020823182615.A53631@oolong.il.thewrittenword.com>, Albert Chin wr
ites:
 >I'm attempting to build a 64-bit GCC 3.2 on hppa64-hp-hpux11.11. I'm
 >building against binutils 2.12.1 as/ld but get the following when the
 >libstdc++.sl library is being created:
 >  /opt/build/gcc-3.2/objdir/gcc/xgcc -shared-libgcc
 >  -B/opt/build/gcc-3.2/objdir/gcc/ -nostdinc++
 >  -L/opt/build/gcc-3.2/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src
 >  -L/opt/build/gcc-3.2/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
 >  -B/opt/TWWfsw/gcc32-64/hppa64-hp-hpux11.11/bin/
 >  -B/opt/TWWfsw/gcc32-64/hppa64-hp-hpux11.11/lib/ -isystem
 >  /opt/TWWfsw/gcc32-64/hppa64-hp-hpux11.11/include -shared -nostdlib
 >  .libs/globals.o .libs/limits.o .libs/basic_file.o .libs/complex_io.o
 >  .libs/ios.o .libs/strstream.o .libs/bitset.o .libs/functexcept.o
 >  .libs/stdexcept.o .libs/vterminate.o .libs/c++locale.o .libs/locale.o
 >  .libs/localename.o .libs/codecvt.o .libs/collate.o .libs/ctype.o
 >  .libs/messages.o .libs/monetary.o .libs/numeric.o .libs/time.o
 >  .libs/concept-inst.o .libs/locale-inst.o .libs/misc-inst.o
 >  .libs/stl-inst.o .libs/string-inst.o .libs/wstring-inst.o
 >  .libs/valarray-inst.o .libs/ext-inst.o .libs/fstream.o
 >  .libs/fstream-inst.o .libs/io-inst.o .libs/istream-inst.o
 >  .libs/ostream-inst.o .libs/streambuf-inst.o .libs/sstream-inst.o
 >  -Wl,--whole-archive ../libmath/.libs/libmath.a
 >  ../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive
 >  -L/opt/build/gcc-3.2/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src
 >  -L/opt/build/gcc-3.2/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
 >  -lm ../libmath/.libs/libmath.a -lm
 >  ../libsupc++/.libs/libsupc++convenience.a -lm
 >  -L/opt/build/gcc-3.2/objdir/gcc
 >  -L/opt/TWWfsw/gcc32-64/hppa64-hp-hpux11.11/bin
 >  -L/opt/TWWfsw/gcc32-64/hppa64-hp-hpux11.11/lib -L/usr/ccs/bin
 >  -L/usr/ccs/lib/pa20_64 -L/opt/langtools/lib/pa20_64 -lm -lc   -Wl,-O1
 >  -Wl,-soname -Wl,libstdc++.sl.5 -o .libs/libstdc++.sl.5.0
 >  collect2: ld terminated with signal 11 [Segmentation fault]
 >
 >I'm sure --disable-shared would fix this but shared libraries would be
 >nice :) Has anyone successfully built a 64-bit GCC for hppa64 with
 >shared libraries? If so, how did you do it?
There's been bugs in GLD for PA64.  Make sure you've got the latest bits
(get them from the CVS sources).

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]