This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: New x86 linker testsuite failure
- From: Alan Modra <amodra at gmail dot com>
- To: Nick Clifton <nickc at redhat dot com>, Alan Hayward <Alan dot Hayward at arm dot com>, Christophe Lyon <christophe dot lyon at linaro dot org>
- Cc: binutils <binutils at sourceware dot org>
- Date: Tue, 26 Jun 2018 21:06:43 +0930
- Subject: Re: New x86 linker testsuite failure
- References: <87in6cic8b.fsf@redhat.com> <CAKdteObSKC9t+O4JWGm3=Q53_YL8Bd7zp1br=dcKHFMpvE_KWQ@mail.gmail.com> <20180621135924.GD7660@bubble.grove.modra.org>
On Thu, Jun 21, 2018 at 11:29:24PM +0930, Alan Modra wrote:
> On Thu, Jun 21, 2018 at 03:02:20PM +0200, Christophe Lyon wrote:
> > On Thu, 21 Jun 2018 at 13:57, Nick Clifton <nickc@redhat.com> wrote:
> > >
> > > Hi Guys,
> > >
> > > Is anybody else seeing a x86 linker testsuite failure like this:
> > >
> > > FAIL: Invalid allocated section
> > >
> > > Which appears to be because the ld/testsuite/ld-i386/alloc test
> > > is expected to fail:
> > >
> > > succeeded with: <>, expected: <.*section `.foo' can't be allocated in segment 0.*>
> > >
>
> Yeah, and the test really does want to error out as the vma/lma given
> for .foo isn't possible within the text segment. The patch
> responsible for the regression is "Use offsets instead of addresses in
> ELF_SECTION_IN_SEGMENT for non SHT_NOBITS". I OK'd that one thinking
> it was reasonable, but this fail says otherwise.
I think the patch should be reverted for the binutils-2.31 release.
--
Alan Modra
Australia Development Lab, IBM