This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Gold linker testsuite failure with glibc-2.16

Sorry for dumping this on both lists, but not sure where problem lies...

Using vanilla glibc from HEAD of 2.16 branch and binutils from HEAD of binutils-2_22-branch.

Test failure is:

/bin/sh: line 1: 9975 Aborted (core dumped) "$tst" > exception_static_test.log-t 2>&1
FAIL: exception_static_test

And trying it in gdb gives this:

$ gdb exception_static_test
GNU gdb (GDB)

Reading symbols from /tmp/src/tool/binutils/sourceware/binutils/gold/testsuite/exception_static_test...done.
(gdb) run
Starting program: /tmp/src/tool/binutils/sourceware/binutils/gold/testsuite/exception_static_test

Program received signal SIGABRT, Aborted.
0x000000000044e215 in raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
63 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

(gdb) bt
#0 0x000000000044e215 in raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#1 0x00000000004134b8 in abort () at abort.c:90
#2 0x000000000040bfd7 in uw_init_context_1 (context=context@entry=0x7fffffffe1b0, outer_cfa=outer_cfa@entry=0x7fffffffe560,
outer_ra=0x401841 <__cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*))+81>) at /tmp/src/tool/gcc/libgcc/unwind-dw2.c:1501
#3 0x000000000040c3c7 in _Unwind_RaiseException (exc=0x4db490) at /tmp/src/tool/gcc/libgcc/
#4 0x0000000000401841 in __cxxabiv1::__cxa_throw (obj=0x4db4b0, tinfo=<optimized out>, dest=<optimized out>)
at /tmp/src/tool/gcc/libstdc++-v3/libsupc++/
#5 0x0000000000400523 in f1 () at
#6 0x00000000004004d9 in t1 () at
#7 0x00000000004004a9 in main () at

(gdb) up
#1  0x00000000004134b8 in abort () at abort.c:90
90      abort.c: No such file or directory.
(gdb) up 5
#6  0x00000000004004d9 in t1 () at
43            f1();

(gdb) list
38      {
39        int i;
40        try
41          {
42            i = 0;
43            f1();
44            i = 1;
45          }
46        catch (...)
47          {

(gdb) down
#5  0x0000000000400523 in f1 () at
30        throw 0;

(gdb) list
25      #include "exception_test.h"
27      void
28      f1()
29      {
30        throw 0;
31      }

Hope that is useful

Andrew Walrond

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