Bug 1312876

Summary: Several failed tests on PowerPC boxes
Product: Red Hat Enterprise Linux 7 Reporter: Miloš Prchlík <mprchlik>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED ERRATA QA Contact: Miloš Prchlík <mprchlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: law, ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: powerpc   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 01:55:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gas.log
none
ld.log
none
Change PowerPC64 GAS testsuite to accomodate bad TLBIE instructions
none
Fix PowerPC linker tests none

Comment 1 Miloš Prchlík 2016-02-29 12:32:42 UTC
Created attachment 1131521 [details]
gas.log

Comment 2 Miloš Prchlík 2016-02-29 12:34:12 UTC
Created attachment 1131522 [details]
ld.log

Comment 3 Nick Clifton 2016-03-01 14:25:54 UTC
Hi Miloš,

  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 ?

Cheers
  Nick

Comment 4 Nick Clifton 2016-03-01 14:27:24 UTC
Created attachment 1131958 [details]
Change PowerPC64 GAS testsuite to accomodate bad TLBIE instructions

Comment 5 Nick Clifton 2016-03-01 15:22:19 UTC
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.

Comment 6 Nick Clifton 2016-03-01 16:18:43 UTC
Patches checked in.

Comment 8 Miloš Prchlík 2016-06-24 07:41:43 UTC
Verified for build binutils-2.25.1-19.base.el7.

Comment 10 errata-xmlrpc 2016-11-04 01:55:23 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-2265.html