mono failed to build from source in Fedora rawhide/f33 https://koji.fedoraproject.org/koji/taskinfo?taskID=47963830 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Please fix mono 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, mono will be orphaned. Before branching of Fedora 34, mono will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
only ppc64le is failing now, with this error: /tmp/cc8MKcf4.s: Assembler messages: /tmp/cc8MKcf4.s:1239: Error: can't resolve `.toc1' {.toc1 section} - `.LCTOC1' {*UND* section} /tmp/cc8MKcf4.s:1245: Error: can't resolve `.toc1' {.toc1 section} - `.LCTOC1' {*UND* section} /tmp/cc8MKcf4.s:1291: Error: can't resolve `.toc1' {.toc1 section} - `.LCTOC1' {*UND* section} on the Internet, I can find this hint: https://gcc.gnu.org/legacy-ml/gcc/2017-08/msg00111.html "Maybe you want to #define USE_TM_CLONE_REGISTRY 0 for your subtarget?"
Have you tried building it with LTO disabled?
Thanks for the hint! I inserted now: +%ifarch ppc64le +# workaround for LTO being enabled by default +%define _lto_cflags %{nil} +%endif into the mono.spec file, and the scratch build worked fine: https://koji.fedoraproject.org/koji/taskinfo?taskID=49072756 Assigning to Jeff Law, perhaps you want to have a look? Thanks!
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33.
Sure. I'd looked at mono yesterday and marked it as potentially LTO related. I tried a scratch build with LTO disabled last night, but still had the PPC failure. At least I thought I did. But it was a long long day and I could have missed something. I'll take another look today. THanks, Jeff
Thank you, that worked :)