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]

HP-UX 11/g++/ld bus error


Hi,

compiling the following standard program,

-----
#include <iostream>
using namespace std;

main() {
   cout << "Hi!" << endl;
}
-----

I get the following output. Most notably the ld bus error. I installed
a patch named PHSS_20014 against the "linker tools" from HP because
the patch description sounded right to me, with no effect. Has anybody
seen this?

I am using a recent CVS version of gcc, configured to use libstdc++-v3
and to produce gas output.

Thanks,
Joerg

-----
jfasch:~/tmp>/usr/local/gcc-anoncvs-stdc++-v3/bin/g++ -v test.C
Reading specs from /usr/local/gcc-anoncvs-stdc++-v3/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.96/specs
gcc version 2.96 20000605 (experimental)
 /usr/local/gcc-anoncvs-stdc++-v3/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.96/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__cplusplus -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D__hppa -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa) -D__EXCEPTIONS -D_PA_RISC1_1 -D__hp9000s700 -D_HPUX_SOURCE -D_HIUX_SOURCE -D__STDC_EXT__ test.C /var/tmp/ccdQqy7X.ii
GNU CPP version 2.96 20000605 (experimental) (cpplib)
 (hppa)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/gcc-anoncvs-stdc++-v3/include/g++-v3
 /usr/local/include
 /usr/local/gcc-anoncvs-stdc++-v3/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.96/include
 /usr/local/gcc-anoncvs-stdc++-v3/hppa2.0w-hp-hpux11.00/include
 /usr/include
End of search list.
 /usr/local/gcc-anoncvs-stdc++-v3/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.96/cc1plus /var/tmp/ccdQqy7X.ii -quiet -dumpbase test.cc -version -o /var/tmp/ccKDDG64.s
GNU C++ version 2.96 20000605 (experimental) (hppa2.0w-hp-hpux11.00) compiled by GNU C version 2.96 20000605 (experimental).
 as -o /var/tmp/ccxczZHc.o /var/tmp/ccKDDG64.s
 /usr/local/gcc-anoncvs-stdc++-v3/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.96/collect2 -L/lib/pa1.1 -L/usr/lib/pa1.1 -z -u main /usr/ccs/lib/crt0.o -L/usr/local/gcc-anoncvs-stdc++-v3/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.96 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/gcc-anoncvs-stdc++-v3/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.96/../../.. /var/tmp/ccxczZHc.o -lstdc++ -lm -lgcc -lc -lgcc
collect2: ld terminated with signal 10 [Bus error]
/usr/ccs/bin/ld: Unsatisfied symbols:
   __user_type_info type_info function(data)
   std::exception type_info function(data)
   __rtti_user (data)
   __check_eh_spec (data)
   __rtti_si (data)
   __check_null_eh_spec (data)
   std::bad_cast type_info function(data)
   std::bad_alloc type_info function(data)
   std::type_info type_info function(data)
   std::bad_typeid type_info function(data)
jfasch:~/tmp>

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