This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Binutils 2.29.1 breaks libpcap on sparc32 by filling .got
- From: David Miller <davem at davemloft dot net>
- To: amodra at gmail dot com
- Cc: jose dot marchesi at oracle dot com, eb at emlix dot com, binutils at sourceware dot org
- Date: Fri, 08 Dec 2017 11:02:20 -0500 (EST)
- Subject: Re: Binutils 2.29.1 breaks libpcap on sparc32 by filling .got
- Authentication-results: sourceware.org; auth=none
- References: <20171208011937.GN13179@bubble.grove.modra.org> <5587623.UYSD411yhV@devpool21> <20171208102526.GQ13179@bubble.grove.modra.org>
From: Alan Modra <amodra@gmail.com>
Date: Fri, 8 Dec 2017 20:55:26 +1030
> On Fri, Dec 08, 2017 at 09:07:13AM +0100, Rolf Eike Beer wrote:
>> Am Freitag, 8. Dezember 2017, 02:19:38 CET schrieb Alan Modra:
>> > On Fri, Dec 08, 2017 at 11:20:12AM +1030, Alan Modra wrote:
>> > > So it looks like sparc and sparc64 ld needs to be sure to zero section
>> > > contents whenever a RELATIVE relocation is emitted, to avoid this
>> > > glibc bug.
>> >
>> > Please test this.
>>
>> Works, awesome!
>
> OK, let's see what the binutils sparc maintainers have to say about
> the patch.
>
> https://sourceware.org/ml/binutils/2017-12/msg00070.html and
> https://sourceware.org/ml/binutils/2017-12/msg00071.html
>
> Incidentally, the problem was introduced with git commit ec1acaba
I agree with both of those changes, I also remember bumping into
this issue in the past.