This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15407] Partial frame info in sysdeps/x86_64/start.S
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 26 Apr 2013 21:30:28 +0000
- Subject: [Bug libc/15407] Partial frame info in sysdeps/x86_64/start.S
- Auto-submitted: auto-generated
- References: <bug-15407-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15407
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2013-04-26 21:30:28 UTC ---
(In reply to comment #5)
> HJ, do you think you could produce a (preferably C only, not C++) test case
> that shows the same problems that gold/exception_static_test experiences?
The problem only shows up with C++ exception when linked with gold:
[hjl@gnu-6 testsuite]$ cat /tmp/x.cc
void
f1()
{
throw 0;
}
bool
t1()
{
int i;
try
{
i = 0;
f1();
i = 1;
}
catch (...)
{
return i == 0;
}
return false;
}
int
main()
{
return !t1();
}
[hjl@gnu-6 testsuite]$ g++ -static /tmp/x.cc -fuse-ld=gold
[hjl@gnu-6 testsuite]$ ./a.out
Aborted
[hjl@gnu-6 testsuite]$
--
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.