Created attachment 1131521 [details]
Created attachment 1131522 [details]
The GAS failure is due to the patch that suppresses TLBIE instruction checking. (I forgot to check that the GAS testsuite did not test the instruction, and of course it does). I will upload a simple patch that will
fix that problem.
The LD failures however are a mystery. I cannot reproduce them. I assume
therefore that they must be an artefact of running the tests natively. I
could create a patch to just mark those tests as expected failures, but I
would prefer to get to the bottom of the problem. (I suspect that I just need
to add a line to regexp files to skip dumps of the .data section). Is there a
RHEL 7.3 PPC64 machine available that I can use for testing ?
Created attachment 1131958 [details]
Change PowerPC64 GAS testsuite to accomodate bad TLBIE instructions
Created attachment 1131983 [details]
Fix PowerPC linker tests
With access to a PP64 machine (thanks Milos), I was able to reproduce the
failures and find the cause - the native ppc tools always create a .data section
even if one is not needed. This patch tweaks the failing linker tests to allow
for this fact.
Once we have a QA ACK, the two patches should go in.
Patches checked in.
Verified for build binutils-2.25.1-19.base.el7.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.