public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libunwind] epel9: Disable LTO on aarch64 to fix the build (rhbz#2261344)
@ 2026-06-15 10:27 Kalev Lember
0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-06-15 10:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libunwind
Branch : epel9
Commit : bbfe2c4352c2e806c6498d488a6fe85e4a950c1c
Author : Kalev Lember <klember@redhat.com>
Date : 2024-02-09T14:24:41+01:00
Stats : +11/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libunwind/c/bbfe2c4352c2e806c6498d488a6fe85e4a950c1c?branch=epel9
Log:
Disable LTO on aarch64 to fix the build (rhbz#2261344)
It turns out that disabling LTO fixes the build on aarch64. With this,
we can also re-enable self tests on aarch64.
---
diff --git a/libunwind.spec b/libunwind.spec
index 737e4d5..88a93de 100644
--- a/libunwind.spec
+++ b/libunwind.spec
@@ -35,7 +35,7 @@
# Ltest-resume-sig-rt
# test-ptrace
-%ifarch aarch64 i686 ppc64le s390x
+%ifarch i686 ppc64le s390x
%global test_failure_override true
%else
%global test_failure_override false
@@ -46,7 +46,7 @@
Summary: An unwinding library
Name: libunwind
Version: 1.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
URL: http://savannah.nongnu.org/projects/libunwind
Source: https://github.com/libunwind/libunwind/releases/download/v%{version}/%{name}-%{version}.tar.gz
@@ -81,6 +81,11 @@ libunwind.
%autosetup -p1 -n %{name}-%{version}
%build
+%ifarch aarch64
+# LTO causes FTBFS on aarch64 (rhbz#2261344)
+%global _lto_cflags %{nil}
+%endif
+
%global optflags %{optflags} -fcommon
aclocal
libtoolize --force
@@ -131,6 +136,10 @@ echo ====================TESTING END=====================
%{_includedir}/libunwind*.h
%changelog
+* Thu Feb 08 2024 Kalev Lember <klember@redhat.com> - 1.8.0-2
+- Disable LTO on aarch64 to fix the build (rhbz#2261344)
+- Re-enable tests on aarch64
+
* Mon Jan 29 2024 Tom Callaway <spot@fedoraproject.org> - 1.8.0-1
- update to 1.8.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 10:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 10:27 [rpms/libunwind] epel9: Disable LTO on aarch64 to fix the build (rhbz#2261344) Kalev Lember
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox