New x86 linker testsuite failure

Alan Modra amodra@gmail.com
Tue Jun 26 11:36:00 GMT 2018


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



More information about the Binutils mailing list