From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: dave@hiauly1.hia.nrc.ca (John David Anglin) Cc: rth@redhat.com, gcc-patches@gcc.gnu.org Subject: Re: fix execute/20010518-2.c Date: Thu, 23 Aug 2001 22:55:00 -0000 Message-id: <200108240555.f7O5tgSe007520@hiauly1.hia.nrc.ca> References: X-SW-Source: 2001-08/msg01387.html > I am currently testing the following change to the PA config together > with the patch you sent. It will take a couple of days to run with and > without gas. New problem: HP as doesn't like undefined symbols without corresponding .IMPORT directive: /xxx/gnu/gcc-3.1/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.1/objdir/gcc/ -nostdinc++ -L/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src -L/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src/.libs -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -B/usr/local/hppa1.1-hp-hpux10.20/lib/ -isystem /usr/local/hppa1.1-hp-hpux10.20/include -I../../../../libstdc++-v3/../gcc -I../../../../libstdc++-v3/../include -I/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/include/hppa1.1-hp-hpux10.20 -I/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/include -I../../../../libstdc++-v3/libsupc++ -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../../../../libstdc++-v3/libsupc++/eh_aux_runtime.cc -fPIC -DPIC -o eh_aux_runtime.o cc1plus: warning: -g is only supported when using GAS on this processor, cc1plus: warning: -g option disabled. as: error 7403: undefined label - _ZTVN10__cxxabiv120__si_class_type_infoE (7403) Gas will assemble the file without problem. The demangled symbol is: U vtable for __cxxabiv1::__si_class_type_info We have the following references in the assembler file: .SPACE $PRIVATE$ .SUBSPA $DATA$ .stabs "__ti_0:S79=xs__si_class_type_info_pseudo:",38,0,56,_ZTISt10bad_typeid .align 4 _ZTISt10bad_typeid .word _ZTVN10__cxxabiv120__si_class_type_infoE+8 .word _ZTSSt10bad_typeid .word _ZTISt9exception .stabs "__ti_1:S79",38,0,56,_ZTISt8bad_cast .align 4 _ZTISt8bad_cast .word _ZTVN10__cxxabiv120__si_class_type_infoE+8 .word _ZTSSt8bad_cast .word _ZTISt9exception Dave -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605)