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 - 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 - 1.8.0-1 - update to 1.8.0