Hide Forgot
Description of problem: binutils fails to build on ppc64, make aborts with 'Makefile:830: recipe for target 'all' failed' Much earlier in the logs is an error during configure, although I'm not sure if that is just the normal trial and error of configure or if thats related: checking whether make sets $(MAKE)... checking for vsprintf... yes configure: error: "unsupported target spu-unknown-elf" yes checking for waitpid... Makefile:5965: recipe for target 'configure-gold' failed make[1]: *** [configure-gold] Error 1 make[1]: *** Waiting for unfinished jobs.... yes checking for setproctitle... no Version-Release number of selected component (if applicable): binutils-2.24-29.fc22 How reproducible: always Steps to Reproduce: 1. ppc-koji build f22 binutils-2.24-29.fc22.src.rpm 2. 3. Actual results: http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=281159 Expected results: Additional info: I think all the f22 binutils ppc64 builds failed with the same error, but most of the logs got deleted already.
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.