libunwind failed to build from source in Fedora rawhide/f40 https://koji.fedoraproject.org/koji/taskinfo?taskID=112318755 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Please fix libunwind 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, libunwind will be orphaned. Before branching of Fedora 41, libunwind 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 2012529 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2012530 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2012531 [details] state.log
Well, there is a workaround to make this build on aarch64, but it involves dropping all the optflags except -O2 and linking explicitly to -latomic. This also means we cannot generate debuginfo for aarch64. Upstream knows about the issue: https://github.com/libunwind/libunwind/issues/693 Not sure how to proceed here.
I played a bit with this and discovered that disabling LTO makes it build again. It's unclear to me what's exactly going on, but I think we have a reasonable workaround for the issues here. I put my fixes in https://src.fedoraproject.org/rpms/libunwind/pull-request/8
(In reply to Kalev Lember from comment #5) > I played a bit with this and discovered that disabling LTO makes it build > again. It's unclear to me what's exactly going on, but I think we have a > reasonable workaround for the issues here. > > I put my fixes in https://src.fedoraproject.org/rpms/libunwind/pull-request/8 Reviewed the PR today with Florian. Florian had some feedback. I think we're almost ready to merge that and fix this issue.
FEDORA-2024-2ed53a84d8 (libunwind-1.8.0-2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-2ed53a84d8
FEDORA-2024-2ed53a84d8 (libunwind-1.8.0-2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.