From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24683 invoked by alias); 27 Apr 2013 16:31:19 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 24633 invoked by uid 48); 27 Apr 2013 16:31:16 -0000 From: "jan.kratochvil at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/15407] Partial frame info in sysdeps/x86_64/start.S Date: Sat, 27 Apr 2013 16:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.18 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-04/txt/msg00206.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15407 --- Comment #10 from Jan Kratochvil 2013-04-27 16:31:15 UTC --- $ gdb -ex 'b __register_frame_info_bases' -ex 'b __register_frame_info_table_bases' -ex 'b _Unwind_Find_registered_FDE' -ex r ./hjl Breakpoint 1, __register_frame_info_bases (begin=0x4c29d0, ob=0x0, tbase=0x0, dbase=0x0) at ../../../gcc48/libgcc/unwind-dw2-fde.c:81 80 /* If .eh_frame is empty, don't register at all. */ 81 if ((const uword *) begin == 0 || *(const uword *) begin == 0) 82 return; (gdb) p *(const uword *) begin $2 = 0 (gdb) up #1 0x0000000000400fdd in frame_dummy () (gdb) disas Dump of assembler code for function frame_dummy: 0x0000000000400fd3 <+19>: mov $0x4c29d0,%edi 0x0000000000400fd8 <+24>: callq 0x40f7d0 <__register_frame_info> => 0x0000000000400fdd <+29>: cmpq $0x0,0xc4103(%rip) # 0x4c50e8 End of assembler dump. (gdb) p &__EH_FRAME_BEGIN__ $3 = ( *) 0x4c29d0 (gdb) p &__FRAME_END__ $4 = ( *) 0x4c29d0 With gold there are no static frames registered, I did not investigate it more but _start in glibc seems unrelated to it. Does really reverting the glibc patch of mine fix it for you? (I did not test reverting it.) The Roland's posted patch looks right; but it seems unrelated. -- 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.