[Bug target/25168] New: FAIL: g++.old-deja/g++.abi/cxa_vec.C execution test

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 30 00:22:00 GMT 2005


Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/testsuite/../g++
-B/mnt/gnu/gcc-3
.3/objdir/gcc/testsuite/../
/mnt/gnu/gcc-3.3/gcc/gcc/testsuite/g++.old-deja/g++.
abi/cxa_vec.C  -nostdinc++
-I/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/libst
dc++-v3/include/hppa2.0w-hp-hpux11.11
-I/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux
11.11/libstdc++-v3/include -I/mnt/gnu/gcc-3.3/gcc/libstdc++-v3/libsupc++
-I/mnt/
gnu/gcc-3.3/gcc/libstdc++-v3/include/backward
-I/mnt/gnu/gcc-3.3/gcc/libstdc++-v
3/testsuite -fmessage-length=0   -ansi -pedantic-errors -Wno-long-long   
-L/mnt
/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs 
-L/mnt/gnu/g
cc-3.3/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs
-L/mnt/gnu/gcc-3.3/
objdir/hppa2.0w-hp-hpux11.11/./libiberty  -lm   -o ./cxa_vec.exe    (timeout =
3
00)
PASS: g++.old-deja/g++.abi/cxa_vec.C (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/./lib
stdc++-v3/src/.libs:/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3
/src/.libs:/mnt/gnu/gcc-3.3/objdir/gcc:.:/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpu
x11.11/./libstdc++-v3/src/.libs:/mnt/gnu/gcc-3.3/objdir/hppa2.0w-hp-hpux11.11/./
libstdc++-v3/src/.libs:/mnt/gnu/gcc-3.3/objdir/gcc
test 1 failed 3
test 2 failed 3
test 4 failed 3
FAIL: g++.old-deja/g++.abi/cxa_vec.C execution test

This test fails with the new dwarf eh support.  It shouldn't fail with
sjlj exceptions.

I've looked at the failure in some detail.  The problem is this test
overloads new.  By somewhat unlucky circumstances, get_file_function_name_long
chooses the same symbol name for the fde in the cxa_vec and an object
in libstdc++.sl.  This breaks the fde search for libstdc++.

collect2_eh_frame_section calls get_file_function_name with kind, 'F'.
This isn't documented as one on the types for get_file_function_name.
Anyway, I don't think the first_global_object_name is suitable for
this type.


-- 
           Summary: FAIL: g++.old-deja/g++.abi/cxa_vec.C execution test
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-hp-hpux* (32-bit)
  GCC host triplet: hppa*-hp-hpux* (32-bit)
GCC target triplet: hppa*-hp-hpux* (32-bit)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25168



More information about the Gcc-bugs mailing list