This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: commit 9da4bb316ffa558b1001e5441d2ba919ebb2cf13 broke strcmp.S compile
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jeff Chua <jeff dot chua dot linux at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 27 Aug 2010 17:43:57 -0700
- Subject: Re: commit 9da4bb316ffa558b1001e5441d2ba919ebb2cf13 broke strcmp.S compile
- References: <Pine.LNX.4.64.1008271205220.29437@boston.corp.fedex.com> <201008271434.56205.vapier@gentoo.org> <AANLkTimd0mp2QSAZNpqvWUy18=OgJ4VRkbgUPdpq_uCu@mail.gmail.com> <AANLkTimRKyQu4EPToE=ut7jHOs9TmYit2h75MmLZc7N_@mail.gmail.com>
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.