Compare commits

...

18 Commits

Author SHA1 Message Date
David Abdurachmanov 8d9ad6a3bb
Add a note about failing test
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-20 10:09:10 +02:00
David Abdurachmanov 70665a3dd5
Allow tests to fail
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-20 10:08:14 +02:00
David Abdurachmanov 6cec44af9c
Rebuild for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-20 09:37:49 +02:00
David Abdurachmanov b246e00145
Merge remote-tracking branch 'up/main' into main-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-20 09:37:16 +02:00
Richard W.M. Jones dd1576a172 Bump and rebuild package (for riscv64) 2024-03-06 10:02:37 +00:00
David Abdurachmanov e7ca52941e Enable riscv64 support
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-02-14 11:28:51 +00:00
Kalev Lember bbfe2c4352 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.
2024-02-09 14:24:41 +01:00
Kalev Lember 9e54e2f553 Revert "try this"
This didn't help with the aarch64 build issue.

This reverts commit 883612a821.
2024-02-08 23:07:12 +01:00
Tom Callaway 883612a821 try this 2024-01-29 17:18:26 -05:00
Tom Callaway a6688043e0 update to 1.8.0 2024-01-29 16:37:36 -05:00
Fedora Release Engineering 86b4f8372b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 03:50:53 +00:00
Fedora Release Engineering 4322523759 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 05:37:22 +00:00
David Abdurachmanov 2f04dfd545
Enable riscv64 support
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-14 09:03:29 +02:00
David Abdurachmanov 0260b6beda
Merge remote-tracking branch 'up/main' into main-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-12-14 09:01:52 +02:00
Miroslav Suchý bc33082ca5 Migrate to SPDX license
This is a mess. There is no sign of BSD - as far as source git allowed me to go. The frontpage at Savanah claims that the license is X11. But the license file and file headers refer to plain MIT.
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
2023-10-31 06:33:23 +00:00
Tom Callaway a6ef66ee2f 1.7.2 2023-08-09 15:49:17 -04:00
Fedora Release Engineering e3a1a67039 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 12:24:31 +00:00
David Abdurachmanov 5d58736dc4
Enable riscv64 (now supported)
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-09-18 20:26:44 +03:00
3 changed files with 53 additions and 22 deletions

View File

@ -10,16 +10,15 @@ in DSOs (they are considered external):
This patch is downstream-specific due to annobin.
diff --git a/src/Makefile.am b/src/Makefile.am
index 2b5b02959e99eb8f..e5ff21515c36d30f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -147,7 +147,7 @@ libunwind_la_SOURCES_local = \
$(libunwind_la_SOURCES_local_unwind)
noinst_HEADERS += os-linux.h
-libunwind_la_SOURCES_os_linux = os-linux.c dl-iterate-phdr.c
+libunwind_la_SOURCES_os_linux = os-linux.c
libunwind_la_SOURCES_os_hpux = os-hpux.c
diff -up libunwind-1.8.0/src/Makefile.am.no-dl-iterate-phdr libunwind-1.8.0/src/Makefile.am
--- libunwind-1.8.0/src/Makefile.am.no-dl-iterate-phdr 2024-01-29 16:30:52.230008417 -0500
+++ libunwind-1.8.0/src/Makefile.am 2024-01-29 16:31:40.476692706 -0500
@@ -346,7 +346,7 @@ noinst_LTLIBRARIES += $(libunwind_elf_li
libunwind_la_LIBADD += $(libunwind_elf_libs)
if OS_LINUX
- libunwind_la_SOURCES_os = os-linux.c dl-iterate-phdr.c
+ libunwind_la_SOURCES_os = os-linux.c
libunwind_la_SOURCES_os_local = $(libunwind_la_SOURCES_os_linux_local)
libunwind_la_SOURCES_aarch64_os = aarch64/Gos-linux.c
libunwind_la_SOURCES_aarch64_os_local = aarch64/Los-linux.c

View File

@ -34,23 +34,24 @@
# Gtest-resume-sig-rt
# Ltest-resume-sig-rt
# test-ptrace
# riscv64
# run-coredump-unwind
%ifarch aarch64 i686 ppc64le s390x
%ifarch i686 ppc64le s390x riscv64
%global test_failure_override true
%else
%global test_failure_override false
%endif
%global prerel rc2
# %%global prerel rc2
Summary: An unwinding library
Name: libunwind
Version: 1.7.0
Release: 0.1.%{prerel}%{?dist}
License: BSD
Version: 1.8.0
Release: 3.0.riscv64%{?dist}
License: MIT
URL: http://savannah.nongnu.org/projects/libunwind
Source: https://github.com/libunwind/libunwind/archive/refs/tags/v%{version}-%{prerel}.tar.gz
# http://download-mirror.savannah.gnu.org/releases/libunwind/libunwind-%%{version}.tar.gz
Source: https://github.com/libunwind/libunwind/releases/download/v%{version}/%{name}-%{version}.tar.gz
#Fedora specific patch
Patch1: libunwind-arm-default-to-exidx.patch
@ -58,7 +59,7 @@ Patch1: libunwind-arm-default-to-exidx.patch
Patch2: libunwind-1.3.1-multilib-fix.patch
Patch5: libunwind-no-dl-iterate-phdr.patch
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} s390x %{ix86} x86_64
ExclusiveArch: %{arm} aarch64 hppa ia64 mips ppc %{power64} s390x %{ix86} x86_64 riscv64
BuildRequires: automake libtool autoconf texlive-latex2man
BuildRequires: make
@ -79,9 +80,14 @@ The libunwind-devel package includes the libraries and header files for
libunwind.
%prep
%autosetup -p1 -n %{name}-%{version}-%{prerel}
%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
@ -132,6 +138,32 @@ echo ====================TESTING END=====================
%{_includedir}/libunwind*.h
%changelog
* Wed Mar 20 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.8.0-3.0.riscv64
- Rebuild for riscv64
- Allow tests to fail
* Wed Mar 06 2024 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-3
- Bump and rebuild package (for riscv64)
* 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
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Aug 9 2023 Tom Callaway <spot@fedoraproject.org> - 1.7.2-1
- update to 1.7.2
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-0.2.rc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Feb 20 2023 Tom Callaway <spot@fedoraproject.org> - 1.7.0-0.1.rc2
- update to 1.7.0-rc2
- disable tests on s390x (reported upstream: https://github.com/libunwind/libunwind/issues/464)

View File

@ -1 +1 @@
SHA512 (v1.7.0-rc2.tar.gz) = 09920dffd7ab7eb18c3ec5ed3cbb78cc66e7456e465d7454c48d2d9d015e76d2ee78af42b34ccd85f4a15a2d61b1da461dcee12adadcfcf1ae4af3a2ecc59df3
SHA512 (libunwind-1.8.0.tar.gz) = ecbcfacacbcc4f7e4326397af448c92253f88b8f57c14c31b9b82b3a2951eb67b164b2a137b2800a2ada933a07a5bdd75f0198d3e4c6a2d8d740559e3a76f1b2