Bug 1428310
Summary: | binutils does not build correctly with gcc 7 on pcc64le | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Hlavinka <mhlavink> |
Component: | binutils | Assignee: | Nick Clifton <nickc> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | dan, hannsj_uhl, jakub, mhlavink, nickc |
Target Milestone: | --- | Flags: | nickc:
needinfo+
|
Target Release: | --- | ||
Hardware: | ppc64le | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
If this bug requires documentation, please select an appropriate Doc Type value.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-11-30 17:37:26 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1071880 |
Description
Michal Hlavinka
2017-03-02 09:42:01 UTC
Also this happens only when optimization (-O1 or higher) is enabled. Trying some gcc tests for bad code ( https://gcc.gnu.org/wiki/FAQ#misoptimization ) did not help Hi Michal, This sounds like a bug in the libiberty library. That library is officially under the control of the GCC project, but the binutils does include its own copy of the library sources. Since the FSF Binutils v2.28 has just been released, containing a newer copy of the libiberty sources, I am hoping that this will resolve the problem. Therefore please could you test: binutils-2.28-1.fc27 This rpm does include one small extra patch on top of the FSF 2.28 sources to fix another bug in the libiberty demangler. With this patch applies the rawhide binutils version of libiberty now matches the very latest FSF GCC development version of libiberty. Cheers Nick I've checked the build.log of the 2.28 build https://kojipkgs.fedoraproject.org//work/tasks/7657/18137657/build.log and there is no crash reported, so this issue seems to be fixed in 2.28 release Are we sure it's a bug in libiberty and not a ppc64le gcc7 code-gen bug? (In reply to Dan Horák from comment #4) > Are we sure it's a bug in libiberty and not a ppc64le gcc7 code-gen bug? Not 100% sure, no. But libiberty's demangler is notorious for encountering bugs like the one reported here, and upgrading the sources did fix the problem. I think that if there is a ppc64 code-gen bug then it is going to show up in more places than just the libiberty testsuite... If somebody could bisect which demangler change fixed the test failure, then we could answer that question more easily. Any volunteers? Hm, testing in libiberty dir from the binutils-2_27 tag, using Fedora compiler flags, and no segfault. Will try harder ... So the issue is reproduceable with upstream binutils 2.27 with gcc-7.0.1-0.8.fc26.ppc64le but not with gcc-7.0.1-0.10.fc26.ppc64le. I would say NOTABUG anymore :-) This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 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. |