Bug 2277631
Summary: | Build failed for arch ppc64le: -fcf-protection=full not supported for this target | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gerald Cox <gbcox> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | rawhide | CC: | dmalcolm, fweimer, jakub, jlaw, josmyers, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-04-28 19:10:49 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: | 2273810 |
Description
Gerald Cox
2024-04-28 18:58:11 UTC
Made severity high since this is blocking submission of updates to packages. As documented, -fcf-protection= option https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fcf-protection is only supported on i686/x86_64 targets, not on any other target (like aarch64, s390x nor ppc64le in Fedora). So, don't use it except on i686/x86_64. The flag for POWER is called -mrop-protect (more or less). The architecture variance is definitely confusing. (In reply to Jakub Jelinek from comment #2) > As documented, -fcf-protection= option > https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fcf- > protection is only supported on i686/x86_64 targets, not on any other target > (like aarch64, s390x nor ppc64le in Fedora). > So, don't use it except on i686/x86_64. Thanks! I'll advise upstream. (In reply to Florian Weimer from comment #3) > The flag for POWER is called -mrop-protect (more or less). The architecture > variance is definitely confusing. Yes it is! ;-) Thanks for the info! |