Bug 1173780
| Summary: | re-enable gold for ppc64/ppc64le and s390x | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> |
| Component: | binutils | Assignee: | Nick Clifton <nickc> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 27 | CC: | dan, jakub, nickc |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | ppc64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | binutils-2.29.1-2.fc28, binutils-2.29-12.fc27 binutils-2.29-13.fc27 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-13 23:18:07 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: | |||
|
Description
Karsten Hopp
2014-12-12 22:59:17 UTC
any news here, this is really blocking progress on ppc* ? Hi Karsten,
> any news here, this is really blocking progress on ppc* ?
Sorry, no news. Or at least no good news. The basic problem is that I am totally unable to reproduce this failure locally. :-(
The rawhide binutils sources are now at version binutils-2.25-2. Perhaps if you try building with this version it will work ?
If not is there any chance that you could narrow down the failure a bit more ? This message about "spu-unknown-elf" being an unknown target for gold is a bit worrying. It is true that gold does not support the spu-unknown-elf target, but since you are building for a ppc64 target that message should not have even appeared in the logs.
Alternatively, maybe you could try a patch to the binutils.spec file, like this:
-------------------------------------------------------------------------
index 8d41f03..a0b4f31 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -55,7 +55,7 @@ Patch14: binutils-2.24-ldforcele.patch
Provides: bundled(libiberty)
-%define gold_arches %ix86 x86_64 %arm ppc* %{power64}
+%define gold_arches %ix86 x86_64 %arm
%ifarch %gold_arches
%define build_gold both
--------------------------------------------------------------------------
If this works then let me know and I can apply it to the rawhide sources until a proper solution is found.
Cheers
Nick
Hi Nick, binutils-2.25-2 doesn't build, it fails with the same error. Removing the power arches from gold_arches works around this issue and the build finishes. Karsten Hi Karsten, OK, I have checked the patch in and created binutils-2.25.3. Cheers Nick This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. Reopening, because gold is still disabled and requires special handling in some packages (recently pypy3 5.5). As a result all Fedora "non-experimental architectures" (= all except mips or riscv) will have gold.
scratch build with gold enabled for ppc64/ppc64le (aka %{power64}) is http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3875757
and it turns out that s390(x) also supports gold now, so a scratch build is at http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2402116
diff --git a/binutils.spec b/binutils.spec
index 04291da..90acf7e 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -91,9 +91,7 @@ Patch20: binutils-2.27-objdump-improvements.patch
Provides: bundled(libiberty)
-# BZ 1173780: Building GOLD for PPC is not working at the moment.
-# %define gold_arches %ix86 x86_64 %arm aarch64 ppc* %{power64}
-%define gold_arches %ix86 x86_64 %arm aarch64
+%define gold_arches %ix86 x86_64 %arm aarch64 %{power64} s390x
%if %{with bootstrap}
%define build_gold no
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. As reported this is already fixed in rawhide. I have now updated F27 so that gold for powerpc and s390x is enabled there too. I am not going to update F26 however, (unless there is an outcry), as that uses a relatively older version of the FSF binutils sources. Fixed in: binutils-2.29-12.fc27 binutils-2.29-13.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1e994c659e binutils-2.29-13.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1e994c659e binutils-2.29-13.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |