collect2: ld terminated with signal 10 [Bus error]
Jeffrey A Law
law@cygnus.com
Fri Jun 30 11:13:00 GMT 2000
In message < 200006291650.MAA20413@hiauly1.hia.nrc.ca >you write:
> >
> > With todays CVS and binutils 2.10.90, the following occurs executing the
> > libio hounddog.exp under hppa1.1-hp-hpux10.20:
> >
> > Running ../../../../libio/testsuite/libio.tests/hounddog.exp ...
> > Executing on host: /xxx/gnu/gcc-2.96/objdir/gcc/xgcc -B/xxx/gnu/gcc-2.96/
> objdir/gcc/ ../../../../libio/testsuite/../tests/hounddog.cc -O3 -I.. -I..
> /../../../libio/testsuite/.. -nostdinc++ -I/xxx/gnu/gcc-2.96/libstdc++ -I/
> xxx/gnu/gcc-2.96/libstdc++/stl -L/xxx/gnu/gcc-2.96/objdir/hppa1.1-hp-hpux10
> .20/threads/libstdc++ -L/xxx/gnu/gcc-2.96/objdir/hppa1.1-hp-hpux10.20/threa
> ds/libiberty -L/xxx/gnu/gcc-2.96/objdir/hppa1.1-hp-hpux10.20/threads/libib
> erty -g -lstdc++ -liberty -lm -threads -o /xxx/gnu/gcc-2.96/objdir/hppa1.1
> -hp-hpux10.20/libio/testsuite/hounddog (timeout = 300)
> > <command line>: warning: The C standard requires whitespace after #define
> __STDC_EXT__
> > collect2: ld terminated with signal 10 [Bus error]
> > /usr/ccs/bin/ld: Unsatisfied symbols:
> > bad_typeid virtual table(data)
>
> Here is a patch to fix the problem related the above unsatisfied symbol.
> Under hpux, weak (sdef) data symbols need to be .EXPORT'd or else they
> are local. The code in varasm.c implicitly assumes that weak symbols
> are global.
>
> With this patch, weak symbol support now works under hpux 10.20. Yeah!
>
> Dave
> --
> J. David Anglin dave.anglin@nrc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6
> 605)
>
> 2000-06-27 J. David Anglin <dave@hiauly1.hia.nrc.ca>
>
> * pa/som.h (ASM_WEAKEN_LABEL): Export weak data symbols so that they
> have global scope.
Thanks. Installed.
jeff
More information about the Gcc-bugs
mailing list