This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-ss-20000306: installation failure on hppa2.0n-hp-hpux11.00
>>>>> "MGi" == Marc Girod <girod@shire.ntc.nokia.com> writes:
MGi> I'll try to upgrade binutils.
I did, to ss 000312, and it did help.
However, now the build stops at:
/tools/contrib/gen/src/gcc-build11/gcc/xgcc -B/tools/contrib/gen/src/gcc-build11/gcc/ -B/tools/contrib/HP-UX/B.11.00/hppa2.0/packages/egcs/hppa2.0n-hp-hpux11.00/bin/ -g -O2 -fno-implicit-templates -fPIC -shared -o libstdc++.sl `cat piclist`
collect2: ld terminated with signal 10 [Bus error]
make[1]: *** [libstdc++.sl] Error 1
make[1]: Leaving directory `/tmp_mnt/tools/contrib/gen/src/gcc-build11/hppa2.0n-hp-hpux11.00/libstdc++'
make: *** [all-target-libstdc++] Error 2
This is thus with HP ld:
$ what /usr/ccs/bin/ld
/usr/ccs/bin/ld:
92453-07 linker command s800.sgs ld B.11.13 REL 990903
ld_msgs.cat: $Revision: 1.85 $
$ what /usr/ccs/lbin/ld32
/usr/ccs/lbin/ld32:
92453-07 linker linker ld B.11.13 990903
And looking for a core file, I actually found another one:
$ file ./hppa2.0n-hp-hpux11.00/libiberty/core
./hppa2.0n-hp-hpux11.00/libiberty/core: core file from 'cpp' - received SIGBUS
$ gdb gcc/cpp ./hppa2.0n-hp-hpux11.00/libiberty/core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "hppa2.0n-hp-hpux11.00"...
Core was generated by `cpp'.
Program terminated with signal 10, Bus error.
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
Reading symbols from /tools/contrib/gen/src/gcc-build11/gcc/cpp...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
Reading symbols from /usr/lib/nls/loc/locales.2/C...done.
#0 0xc0180d58 in _sigfillset () from /usr/lib/libc.2
(gdb) bt
#0 0xc0180d58 in _sigfillset () from /usr/lib/libc.2
#1 0xc0183af4 in free () from /usr/lib/libc.2
#2 0x9a30 in cpp_cleanup (pfile=0x40001b60)
at ../../egcs-20000306/gcc/cppinit.c:430
#3 0x36b8 in main (argc=1023, argv=0x40001b60)
at ../../egcs-20000306/gcc/cppmain.c:118
(gdb)
Best Regards!
Marc
--
Marc Girod P.O. Box 320 Voice: +358-9-511 23746
Nokia Networks 00045 NOKIA Group Mobile: +358-40-569 7954
Hiomo 5/1 Finland Fax: +358-9-511 23580