url: https://koji.fedoraproject.org/koji/buildinfo?buildID=2445800 Receiving build error on koji for this mpris-scrobbler. Package building fine for other arches. Error received: Opened a report to infrastructure: https://pagure.io/fedora-infrastructure/issue/11899 They suggested I open a bug report: It seems like upstream just added that flag and it may well not be supported on ppc64le either (along with aarch64). Reproducible: Always Steps to Reproduce: fedpkg build Actual Results: closed buildSRPMFromSCM (/rpms/mpris-scrobbler.git:33c22989476238a0cb449e64c173d1f3eb065aec) closed buildArch (mpris-scrobbler-0.5.2-1.fc41.src.rpm, i686) closed buildArch (mpris-scrobbler-0.5.2-1.fc41.src.rpm, x86_64) closed buildArch (mpris-scrobbler-0.5.2-1.fc41.src.rpm, aarch64) failed buildArch (mpris-scrobbler-0.5.2-1.fc41.src.rpm, ppc64le) BuildError: error building package (arch ppc64le), mock exited with status 1; see build.log or root.log for more information Expected Results: All builds complete with no errors
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!