This is the mail archive of the gcc-bugs@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]

collect2: ld terminated with signal 10 [Bus error]


This is likely a bug in HP's `ld' but trying to link a shared version of
libstdc++ causes make bootstrap to fail with the current CVS source:

...
if [ x"yes" = xyes ]; then \
  sed 's,\([A-Za-z_]*\.o\),pic/\1,g' tlist > tlist2 ; \
  mv tlist2 tlist ; \
else true ; fi
mv tlist piclist
/xxx/gnu/gcc-2.96/objdir/gcc/xgcc -B/xxx/gnu/gcc-2.96/objdir/gcc/ -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -O3 -W -Wall -fno-implicit-templates -fPIC -shared -o libstdc++.sl `cat piclist`
collect2: ld terminated with signal 10 [Bus error]
make[2]: *** [libstdc++.sl] Error 1

140 (hiauly1)dave> what /usr/bin/ld
/usr/bin/ld:
        92453-07 linker linker ld B.10.37 991028

The --enable-shared option was used with configure.

-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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