[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/14271] exception handling broken in combination with gcc stati
From: |
d.g.gorbachev at gmail dot com |
Subject: |
[Bug gold/14271] exception handling broken in combination with gcc static libs |
Date: |
Fri, 19 Oct 2012 17:52:56 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14271
--- Comment #3 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com>
2012-10-19 17:52:56 UTC ---
Created attachment 6692
--> http://sourceware.org/bugzilla/attachment.cgi?id=6692
A script to reproduce the bug
Another problem, I can't get correct backtraces in GDB:
============================= Gold =============================
========== GCC 4.8 ==========
== With LTO ==
Breakpoint 1 at 0x80483b8: file 2.c, line 4.
Breakpoint 1, baz (i=<error reading variable: can't compute CFA for this
frame>) at 2.c:4
4 }
#0 baz (i=<error reading variable: can't compute CFA for this frame>) at 2.c:4
#1 0x080483cc in bar (i=<error reading variable: can't compute CFA for this
frame>) at 2.c:8
#2 0x00000000 in ?? ()
[Inferior 1 (process 2627) exited normally]
== No LTO ==
Breakpoint 1 at 0x80483cc: file 2.c, line 4.
Breakpoint 1, baz (address@hidden) at 2.c:4
4 }
#0 baz (address@hidden) at 2.c:4
#1 0x080483e0 in bar (address@hidden) at 2.c:8
#2 0x080483af in foo (address@hidden) at 1.c:5
#3 0x080483c8 in main () at 1.c:10
[Inferior 1 (process 2642) exited normally]
========== GCC 4.7 ==========
== With LTO ==
Breakpoint 1 at 0x80483b4: file 2.c, line 4.
Breakpoint 1, baz (address@hidden) at 2.c:4
4 }
#0 baz (address@hidden) at 2.c:4
#1 0x080483c8 in bar (i=0) at 2.c:8
#2 0x00000000 in ?? ()
[Inferior 1 (process 2663) exited normally]
== No LTO ==
Breakpoint 1 at 0x80483c8: file 2.c, line 4.
Breakpoint 1, baz (address@hidden) at 2.c:4
4 }
#0 baz (address@hidden) at 2.c:4
#1 0x080483dc in bar (address@hidden) at 2.c:8
#2 0x080483ab in foo (address@hidden) at 1.c:5
#3 0x080483c4 in main () at 1.c:10
[Inferior 1 (process 2678) exited normally]
============================= BFD Ld =============================
========== GCC 4.8 ==========
== With LTO ==
Breakpoint 1 at 0x80483b8: file 2.c, line 4.
Breakpoint 1, baz (address@hidden) at 2.c:4
4 }
#0 baz (address@hidden) at 2.c:4
#1 0x080483cc in bar (address@hidden) at 2.c:8
#2 0x080483b5 in foo (i=0) at 1.c:5
#3 main () at 1.c:10
[Inferior 1 (process 2699) exited normally]
== No LTO ==
Breakpoint 1 at 0x80483cc: file 2.c, line 4.
Breakpoint 1, baz (address@hidden) at 2.c:4
4 }
#0 baz (address@hidden) at 2.c:4
#1 0x080483e0 in bar (address@hidden) at 2.c:8
#2 0x080483af in foo (address@hidden) at 1.c:5
#3 0x080483c8 in main () at 1.c:10
[Inferior 1 (process 2714) exited normally]
========== GCC 4.7 ==========
== With LTO ==
Breakpoint 1 at 0x80483b4: file 2.c, line 4.
Breakpoint 1, baz (address@hidden) at 2.c:4
4 }
#0 baz (address@hidden) at 2.c:4
#1 0x080483c8 in bar (address@hidden) at 2.c:8
#2 0x080483b1 in foo (i=0) at 1.c:5
#3 main () at 1.c:10
[Inferior 1 (process 2735) exited normally]
== No LTO ==
Breakpoint 1 at 0x80483c8: file 2.c, line 4.
Breakpoint 1, baz (address@hidden) at 2.c:4
4 }
#0 baz (address@hidden) at 2.c:4
#1 0x080483dc in bar (address@hidden) at 2.c:8
#2 0x080483ab in foo (address@hidden) at 1.c:5
#3 0x080483c4 in main () at 1.c:10
[Inferior 1 (process 2750) exited normally]
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/14271] exception handling broken in combination with gcc static libs,
d.g.gorbachev at gmail dot com <=