libio/testsuite/hounddog fails under hpux 10.20 with gas 2.9.5
John David Anglin
dave@hiauly1.hia.nrc.ca
Wed May 3 10:17:00 GMT 2000
> I have searched the manuals but can't find any indication that the
> hpux linker can deal with secondary symbols. It seems likely that
> the link failure is a result of this. If this is the case, weak
> support may need to be disabled under hpux 10.20.
I turned off HAVE_GAS_WEAK in auto-host.h and rebuilt. __builtin_delete
is no longer unsatisfied. However, I am still left with the following
unsatisfied symbols when linking the hounddog test:
spawn /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/threads/libiberty -L/xxx/gnu/gcc-2.96/objdir/hppa1.1-hp-hpux10.20/threads/libiberty -Wl,-a,shared_archive -g -lstdc++ -liberty -lm -threads -o /xxx/gnu/gcc-2.96/objdir/hppa1.1-hp-hpux10.20/libio/testsuite/hounddog
<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:
__check_eh_spec (data)
__rtti_user (data)
__rtti_si (data)
type_info type_info function(data)
__check_null_eh_spec (data)
bad_cast type_info function(data)
bad_alloc type_info function(data)
exception type_info function(data)
bad_typeid type_info function(data)
__user_type_info type_info function(data)
It looks like these symbols should be code rather than data.
I wonder what is causing the whitespace warning. The following warning
occurs a couple of times building libgcc.a:
_varargs
../../gcc/libgcc2.c: In function `__builtin_saveregs':
../../gcc/libgcc2.c:1297: warning: ICE: would have deleted prologue/epilogue ins
n
(insn 37 35 38 (set (reg:SI 4 %r4)
(reg:SI 19 %r19)) -1 (nil)
(nil))
and
_eh
../../gcc/libgcc2.c: In function `__default_terminate':
../../gcc/libgcc2.c:2990: warning: ICE: would have deleted prologue/epilogue ins
n
(insn 35 33 36 (set (reg:SI 4 %r4)
(reg:SI 19 %r19)) -1 (nil)
(nil))
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-bugs
mailing list