compiler-rt failed to build from source in Fedora rawhide/f34 https://koji.fedoraproject.org/koji/taskinfo?taskID=60913671 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Please fix compiler-rt at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, compiler-rt will be orphaned. Before branching of Fedora 35, compiler-rt will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1753927 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1753928 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1753929 [details] state.log
Builds with gcc-11.0.0-0.16.fc34 but fails with gcc-11.0.0-0.17.fc34. It looks like compiler-rt's feature checks are getting confused and it thinks the compiler supports these flags: /wd4146 /wd4291 /wd4391 /wd4722 /wd4800 But gcc complains about this.
Here is a small reproducer that demonstrates the change in behavior: gcc-10.2.1-9.fc33: echo 'int main() { return 0; }' | gcc /wd48000 -x c -c - gcc: error: /wd48000: No such file or directory gcc-11.0.0-0.18.fc34: echo 'int main() { return 0; }' | g++ /wd48000 -x c -c - g++: warning: /wd48000: linker input file unused because linking not done compiler-rt uses the standard cmake function: check_cxx_compiler_flag[1] to check for supported compiler flags, so it's likely that other packages that use cmake and check for this kind of flag could also hit the same problem. [1] https://cmake.org/cmake/help/latest/module/CheckCXXCompilerFlag.html
sorry about that, this patch is now on trunk: 6606b852bfa 2021-02-04 | driver: error for nonexistent linker inputs [PR 98943]
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. 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 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 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 Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07. Fedora Linux 34 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. Thank you for reporting this bug and we are sorry it could not be fixed.