This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: release soonish
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 23 Jan 2012 10:50:17 -0800
- Subject: Re: release soonish
> The issue is as follows on x86_64 with gcc (GCC) 4.7.0 20120119
> (Red Hat 4.7.0-0.8) and binutils-2.22-4.fc17.x86_64 any program
> will have a __TMC_END__ symbol in .symtab that looks as follows:
> 66: 0000000000600850 0 OBJECT GLOBAL HIDDEN 24 __TMC_END__
> Section 24 is:
> [24] .data PROGBITS 0000000000600848 00000848 00000004 0 WA 0 0 4
> So the address of __TMC_END__ is just beyond the end of the .data section.
An address literally at the end of the section is OK, and elflint will
already accept that. This is 8 bytes past, which seems pretty unlikely
to be anything kosher.
> __TMC_END__ comes from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/crtend.o
> 12: 0000000000000000 0 OBJECT GLOBAL HIDDEN 6 __TMC_END__
> [ 6] .tm_clone_table PROGBITS 0000000000000000 00000050 00000000 0 WA 0 0 8
Given this, it seems like it's got to be a linker bug. Since this is
effectively a new regression, I'd say you should pursue getting the linker
bug fixed. If there is some good reason that can't get resolved failry
quickly, then we could add a known-bug exception for --gnu-ld mode.
Thanks,
Roland