Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1423303
Summary: | compat-gcc-34: FTBFS in rawhide | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||||||||
Component: | compat-gcc-34 | Assignee: | Jakub Jelinek <jakub> | ||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||
Priority: | unspecified | ||||||||||||||||
Version: | 26 | CC: | digitalfreak, jakub, jwakely | ||||||||||||||
Target Milestone: | --- | ||||||||||||||||
Target Release: | --- | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
Whiteboard: | |||||||||||||||||
Fixed In Version: | compat-gcc-34-3.4.6-46.fc27 compat-gcc-34-3.4.6-46.fc26 | Doc Type: | If docs needed, set a value | ||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2018-03-06 17:24:20 UTC | Type: | --- | ||||||||||||||
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: | 1423041 | ||||||||||||||||
Attachments: |
|
Description
Fedora Release Engineering
2017-02-17 03:32:51 UTC
Created attachment 1251660 [details]
build.log
Created attachment 1251661 [details]
root.log
Created attachment 1251662 [details]
state.log
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. Created attachment 1362079 [details] Fixes build on Fedora 26 This patch adds a patch :-) which fixes a doc file gcc.texi whose failure seems to be blocking. Also it increases the maximum allowed libstdc++ version. In a comment I wrote that the 7.x series of libstdc++ "is still backwards ABI compatible" like it was written many times in the past but honestly I have no idea how to verify that it is actually compatible. If it is then the patch is correct. If it is not then I'm not sure how to fix the problem. The patch is correct for Fedora 26 and also required but not sufficient for later versions. In fact it is a backport of some patches for later Fedora releases which I will attach later. Builds in koji without a problem: https://koji.fedoraproject.org/koji/taskinfo?taskID=23489430 Created attachment 1362080 [details]
Fixes build on Fedora 27 and newer (part 1)
In fact the previous patch is a backport of this one. The branches have diverged so the patches differ. Otherwise all previous comments apply here as well.
This patch is required but not sufficient, see the next patch.
Created attachment 1362081 [details] Fixes build on Fedora 27 and newer (part 2) This is the second patch required to fix the problem on Fedora 27 and newer. Builds fine in koji on F27: https://koji.fedoraproject.org/koji/taskinfo?taskID=23495065 except s390x which has an errors which I don't know how to fix: "Unknown cpu used in -march=zEC12," "Unknown cpu used in -mtune=z13," and "z/Architecture mode not supported on zEC12." The same patches are required and applicable to F28 (Rawhide, master) branch as well. However, due to the recent changes in redhat-rpm-config one more patch is required to make the package build. See the failed build in koji for Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=23494230 (In reply to Rafal Luzynski from comment #5) > This patch adds a patch :-) which fixes a doc file gcc.texi whose failure > seems to be blocking. Also it increases the maximum allowed libstdc++ > version. In a comment I wrote that the 7.x series of libstdc++ "is still > backwards ABI compatible" like it was written many times in the past but > honestly I have no idea how to verify that it is actually compatible. https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html#abi.versioning.history shows that GCC 3.4. GCC 3.4.0: libstdc++.so.6.0.0 (Incompatible with previous) GCC 3.4.2: libstdc++.so.6.0.2 GCC 3.4.3: libstdc++.so.6.0.3 ... GCC 8.0.0: libstdc++.so.6.0.25 i.e. it's still compatible. The struct ucontext and texinfo patches are also correct (an alternative to the texinfo patch would be to configure with MAKEINFO=missing to disable generation of those docs, but fixing them is better). I would use "libstdc++ < 9.0.0" not "libstdc++ < 8.0.0" because gcc-8 is also compatible. compat-gcc-34-3.4.6-46.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b853bf34b compat-gcc-34-3.4.6-46.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-61e0f160ba compat-gcc-34-3.4.6-46.fc26 has been pushed to the Fedora 26 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-61e0f160ba compat-gcc-34-3.4.6-46.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-7b853bf34b compat-gcc-34-3.4.6-46.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. compat-gcc-34-3.4.6-46.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |