This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ARM mapping symbols and --strip-unneeded
- From: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org, "Richard Earnshaw (lists)" <Richard dot Earnshaw at arm dot com>, Michael Weiser <michael at weiser dot dinsnail dot net>
- Date: Fri, 01 Jul 2016 10:42:08 +0100
- Subject: Re: ARM mapping symbols and --strip-unneeded
- Authentication-results: sourceware.org; auth=none
- References: <20160626221336 dot GB1916 at weiser dot dinsnail dot net> <1726067 dot 4bXWhcsQMF at e108577-lin> <8246190f-8977-ed69-e7f8-672327635469 at redhat dot com>
On Friday 01 July 2016 10:39:30 Nick Clifton wrote:
> Hi Thomas,
>
> > Since your commit fca2a38fdb391f810e309a12d5279047d4edac34 the binutils
> > test "strip without global symbol" started to fail for arm-none-eabi
> > targets.
> Sorry about that. I had tested the patch, but only an isolated binutils
> build. This particular test needs an ARM compiler to be present, which was
> why I did not detect the problem before.
No worry, I would have hit the same issue had I done the testing myself.
>
> I have checked in a simple fix that marks the test as an expected failure
> for the ARM and AArch64 toolchains. The issue is that the test expects all
> global symbols to be stripped from an object file, but the patch ensures
> that mapping symbols remain, thus invalidating the test.
I suspected a testism indeed. Could we have an ARM specific expected result? I
am concerned that an XFAIL would mask a real regression in the future.
Best regards,
Thomas