commit 9da4bb316ffa558b1001e5441d2ba919ebb2cf13 broke strcmp.S compile

H.J. Lu hjl.tools@gmail.com
Sat Aug 28 00:49:00 GMT 2010


On Fri, Aug 27, 2010 at 5:30 PM, Jeff Chua <jeff.chua.linux@gmail.com> wrote:
> On Sat, Aug 28, 2010 at 7:50 AM, Jeff Chua <jeff.chua.linux@gmail.com> wrote:
>> On Sat, Aug 28, 2010 at 2:34 AM, Mike Frysinger <vapier@gentoo.org> wrote:
>>> On Friday, August 27, 2010 00:21:28 Jeff Chua wrote:
>>>> Compiling glibc resulted in the follow error:
>>> FWIW, it's building for me
>>> GNU ld (Linux/GNU Binutils) 2.20.51.0.11.20100810
>>
>> Mine is up-to-date as yours, but for some reasons, compilation is
>> breaking on mine. My binutils:
>> GNU ld (Linux/GNU Binutils) 2.20.51.0.8.20100412
>
> Interesting! I just upgraded binutils:
> GNU ld (Linux/GNU Binutils) 2.20.51.0.11.20100810
>
> ... and it's compiling file, with/without patch reverted.
>
> I was still using the older binutils because the attached binary
> (DivaP) couldn't be stripped (using strip -s) using anything newer
> than binutils-2.20.51.0.8
>
> BFD: /tmp/stvQzX7x: section .note.ABI-tag lma 0x8049094 adjusted to 0x804a094
> BFD: /tmp/stvQzX7x: section .init lma 0x80490b4 adjusted to 0x804a0b4
> BFD: /tmp/stvQzX7x: section .text lma 0x80490f0 adjusted to 0x804a0e5
> BFD: /tmp/stvQzX7x: section .fini lma 0x81a8c9c adjusted to 0x81a9c91
> BFD: /tmp/stvQzX7x: section .rodata lma 0x81a8cc0 adjusted to 0x81a9cad
> BFD: /tmp/stvQzX7x: section __libc_subinit lma 0x81f0f6c adjusted to 0x81f1f57
> BFD: /tmp/stvQzX7x: section __libc_subfreeres lma 0x81f0f78 adjusted
> to 0x81f1f63
> BFD: /tmp/stvQzX7x: section __libc_atexit lma 0x81f0f98 adjusted to 0x81f1f83
> BFD: /tmp/stvQzX7x: section `__libc_subfreeres' can't be allocated in segment 0
> LOAD: .note.ABI-tag .init .text .fini .rodata __libc_subinit
> __libc_subfreeres __libc_atexit
> BFD: /tmp/stvQzX7x: section `__libc_atexit' can't be allocated in segment 0
> LOAD: .note.ABI-tag .init .text .fini .rodata __libc_subinit
> __libc_subfreeres __libc_atexit
>
>

Please open a binutils bug report with this testcase.

Thanks.


-- 
H.J.



More information about the Binutils mailing list