https://bugzilla.redhat.com/show_bug.cgi?id=2213979 --- Comment #4 from Jeremy Newton <alexjnewt@xxxxxxxxxxxx> --- > # Explain, commenting them out and still builds For me the hardened flags causes this issue: fatal error: error in backend: Cannot select: 0x71af480: i64 = FrameIndex<0> In function: _ZN12rocrand_host6detail15generate_kernelIj28rocrand_poisson_distributionIL23rocrand_discrete_method1ELb0EEEEvPNS0_19mt19937_octo_engineEPT_mT0_ clang-16: error: clang frontend command failed with exit code 70 (use -v to see invocation) Are you saying it works for you? The Debian guys disable the hardening too, so I took it at face value. > # %global optflags %(o="%{optflags}"; echo ${o//-fcf-protection/}) This also doesn't work, as it causes this error for me: error: option 'cf-protection=return' cannot be specified on this target > # why ? I changed it to a sed patch in %prep if that's better. Update: Spec URL: https://mystro256.fedorapeople.org/rocrand.spec SRPM URL: https://mystro256.fedorapeople.org/rocrand-5.5.1-2.fc39.src.rpm copr build: https://copr.fedorainfracloud.org/coprs/mystro256/rocm-hip/build/6059869/ -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2213979 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202213979%23c4 _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue