Compare commits

1 Commits
main ... 1.1

8 changed files with 61 additions and 3502 deletions

View File

@@ -1,33 +0,0 @@
From 1e849719a1035f34f44873a44a3d6266a59a5f1d Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@arm.com>
Date: Thu, 18 Jan 2024 12:59:37 +0000
Subject: [PATCH] configure: don't disable documentation if latex2man isn't
present
latex2man is only needed to generate the manpages from the LaTeX
sources, but as the git repository has pregenerated manpages in (and so
do the tarballs) this tool is only needed if the sources have been
changed.
Instead of turning off documentation, just warn that the manpages
cannot be rebuilt.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 406f3773c..7744251b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -297,8 +297,7 @@ AC_ARG_ENABLE([documentation],
AC_MSG_RESULT([$enable_documentation])
AC_PATH_PROG([LATEX2MAN],[latex2man])
AS_IF([test "x$LATEX2MAN" = "x" && test "x$enable_documentation" != "xno"], [
- AC_MSG_WARN([latex2man not found. Install latex2man. Disabling docs.])
- enable_documentation="no";
+ AC_MSG_WARN([latex2man not found, unable to regenerate the manpages])
])
AM_CONDITIONAL([CONFIG_DOCS], [test x$enable_documentation != xno])
AM_COND_IF([CONFIG_DOCS], [AC_CONFIG_FILES([doc/Makefile doc/common.tex])])

BIN
libunwind-1.6.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
libunwind-1.6.2.tar.gz.sig Normal file

Binary file not shown.

BIN
libunwind-1.8.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE+G6wn3JxdCbyDTZHCg/4RbfbNCcFAmXXV+cACgkQCg/4Rbfb
NCfxtQ//fWFWIOcGe6SYeah8cfDLLNJkylQ5OgghJKtC3dQACCjowYOtm/+fttBv
PvwYnrM7FI8m5755/etVeSnlTAgUH7M4IRcLcggS6wJNN7id7ffiyk1B2YU/yqUS
rCSh7ZUTSFuMLexIZIby0NRPit1kAEvWMDXXysHb+TNDZj/DbQGVDhYAfTaOl3/+
NQA9ONcOF0PzPHbNVQ6bfhFz2IIS4GCBbbnUnQe587l0J30AN7fB8cHOpv5nPTJj
6ATfN0q3HBmB7iAyZgWgR5CjdK0J2uLQQ1s4YOYCGM/rhC2ooPXtuaRABKwk7zeK
EjBmS8IP8I4qrwSFGSqt0DX141Hx3lE7YG9b9K5yWd/SFRYCjaoW9O9xgkVmjU+I
PAEIQsM9XyKdnel3ornlO+9CyfIlMtASdj+yKZoAljqu/8VKzt2aWS+zaD0U6TgF
Yf2fkm1gjXy1cWa/JuI1qdjIgV93ycwcT6eeBvCG/OYYHtjq80Raa/MhAQaMhKp/
kn2DffZatjslri5gkk9oS2QwZlkh1r2IYaz1G2GYxVzRzvkoLaypzsaR/7YhaO2H
gu3bnKKcLg7fDPmFpB8qzfkc8OmoGGCUPGlw//4gYvsvEj+oAL0Arq0KqLRWY5fb
D8t0SgCRttvs2xkXwF70KGATZcaBU8TEktpE17o07l7dj94esWI=
=xD26
-----END PGP SIGNATURE-----

View File

@@ -1,127 +1,3 @@
-------------------------------------------------------------------
Fri Mar 22 09:28:07 UTC 2024 - Fabian Vogt <fvogt@suse.com>
- Drop BuildRequires on latex2man, the tarball has manpages already.
This avoids a large dependency chain:
* Add dont-disable-documentation-without-latex2man.patch
-------------------------------------------------------------------
Fri Feb 23 11:43:14 UTC 2024 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.8.1:
* Fix issue #713 by @cshung in #717
* Add do-release script by @bregma in #725
* Backport dotnet-runtime fixes to the 1.8 branch by @bregma in #726
* [v1.8] Make tests installable by @bregma in #722
* Bump version to 1.8.1 by @bregma in #727
-------------------------------------------------------------------
Mon Feb 12 13:57:28 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Disable LTO on aarch64 until upstream fix the issue:
https://github.com/libunwind/libunwind/issues/693
-------------------------------------------------------------------
Tue Jan 30 11:33:15 UTC 2024 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.8.0:
* Improve unwinding through a bad function pointer on x86_64
* Fix UMRs indicated by valgrind (x86_64)
* fix byte_order_is_valid function logic
* Use size_t to match R.H.S
* Move get_proc_info_in_range under dwarf/
* Bump actions/checkout@v2 to @V3
* dwarf_find_unwind_table: Find load_base correctly when current
segment does not start at segbase
* Add introspection for march=armv8-a+sve
* Linux: Make get_elf_image guaranteed AS-safe
* Provide syscall wrappers for mmap and munmap
* Allow to use a custom dl_iterate_phdr implementation
* aarch64: unw_step() validates address before calling dwarf_get
* Provide AS-safe allocator to LZMA
* Rework register load in aarch64_local_resume()
* Fix arm postdecrement
* Added support for unwinding through PPC64 PLT entries
* Fix array indexing bug in dwarf_search_unwind_table
* Fix unaligned memory accesses in */Ginit.c
* Get filename and offset from ip
* Fix maps leak if caller's pathlen is too small
* Adjust DYNAMIC addrs in loaded image
* Fix crash in elf_w(valid_object)
* Fix segfault on QNX
-------------------------------------------------------------------
Wed Aug 30 09:24:53 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.7.2:
* Don't override sp on arm and mips64.
* Add direct dependent libraries to remotes.
* Fix make install failure.
-------------------------------------------------------------------
Wed Aug 28 12:34:01 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.7.1:
* Bump to release 1.7.1 to fix source tarball naming issue
-------------------------------------------------------------------
Fri Jun 23 18:49:48 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.7.0:
* DWARF: dwarf4 fix cie parsing.
* x86_64: Stop aliasing RSP and CFA.
* Prefer EXTBL unwinding on ARM.
* [GCC pedantic] Fix "error: comma at end of enumerator list"
when linking to libunwind.
* Fix table indexing in dwarf_search_unwind_table.
* Expose function-pointer-to-name API.
* Add port for Linux on LoongArch.
* Add more POSIX polyfills for nix cross-build on win.
* DWARF: avoid a data race.
* skip latex2man check with --disable-documentation.
* Skip init_mem_validate calls during remote unwind.
* [Loongarch64] amend the LoongArch64's CMakeLists.txt and compiling error.
* Update license in pal-single-threaded.c.
* Fix to malloc call in tdep_get_elf_image.
* Updated to determine PAGE_SIZE dynamically.
* Unwind with pointer authentication on arm64.
* Make some structs non-empty.
* DWARF: avoid invalid memory access with invalid CFI.
* fix incorrect store in AArch64 getcontext.
* avoid leaking registers across sigreturn.
* Use constant for array size in os-linux.
* added coredump support for s390x.
* Allow an alternate LOG_DRIVER to be specified.
* Remove bashisms from tests/check-namespace.sh.
* Add autodetection of procfs_status type.
* Add remote unwinding support for macOS.
* Expose get_proc_info_in_range API.
* Autodetect presence of elf_fpregset_t.
* coredump: stop assuming .text and .eh_frame are both in the first
segment of an ELF file.
* Make sigaltstack() optional.
* Add support for arm fp registers unwind.
* updated dist to focal for s390x jobs.
* Add RISC-V machine value in remote unwind.
* Fix SOFTFP case for arm getcontext.
* Added support for unwinding from the vsyscall region.
* Stop the autotools nag about AC_CONFIG_MACRO_DIRS.
* Fix make distcheck due to missing coredump header.
* Fix undefined behavior issues in aarch64.
* Account for lr in aarch64's uc_addr.
* tests/run-coredump-unwind: Skip test if no coredump has been created.
* [LoongArch64] Update the port to latest kernel ABI.
* arm64: Add support for unwinding in SVE functions
* check-namespace.sh: adjust aarch64 symbols.
* Updated to determine PAGE_SIZE dynamically for loongarch64.
* Gia64-test-nat.c: #include <signal.h> for sigaction().
* Fix for unw_backtrace fast path does not work on x86_64.
* fix the way load offset is detected so it works with lld linker.
* Remove the unused powerpc setcontext() dummies.
* Add unw_backtrace2 function.
- Include the man pages, README and LICENSE files.
- Update libunwind.keyring file.
-------------------------------------------------------------------
Mon May 23 07:40:56 UTC 2022 - Andreas Schwab <schwab@suse.de>

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
#
# spec file for package libunwind
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,18 @@
#
# Disable LTO on aarch64
# https://github.com/libunwind/libunwind/issues/693
%ifarch aarch64
%define _lto_cflags %{nil}
%endif
# Note the wrong version number from upstream
Name: libunwind
Version: 1.8.1
Version: 1.6.2
Release: 0
Summary: Call chain detection library
License: MIT
Group: System/Base
URL: https://savannah.nongnu.org/projects/libunwind/
Source0: https://github.com/libunwind/libunwind/releases/download/v%{version}/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://github.com/libunwind/libunwind/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc#/%{name}-%{version}.tar.gz.asc
Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Source1: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring
Source3: baselibs.conf
# PATCH-FIX-UPSTREAM https://github.com/libunwind/libunwind/pull/712
Patch1: dont-disable-documentation-without-latex2man.patch
BuildRequires: automake >= 1.14
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: lzma-devel
BuildRequires: pkgconfig
ExcludeArch: s390
@@ -101,10 +90,9 @@ program (libunwind), of a coredump image (libunwind-coredump), or of a separate
process (libunwind-ptrace).
%prep
%autosetup -p1 -n %{name}-%{version}
%autosetup
%build
autoreconf -fiv
%configure \
--enable-minidebuginfo
%make_build
@@ -116,10 +104,8 @@ autoreconf -fiv
%install
%make_install
find %{buildroot} -iregex '.*\.l?a$' -delete -print
# Help packagers with %%files
# Help packagers with %files
find %{buildroot}/%{_libdir} -type f | sort
# Do not install the test files
rm -rf %{buildroot}%{_libexecdir}/%{name}
%post -n libunwind8 -p /sbin/ldconfig
%postun -n libunwind8 -p /sbin/ldconfig
@@ -131,8 +117,6 @@ rm -rf %{buildroot}%{_libexecdir}/%{name}
%postun -n libunwind-setjmp0 -p /sbin/ldconfig
%files -n libunwind8
%license COPYING
%doc README NEWS
%{_libdir}/libunwind.so.8*
%ifarch %arm
%{_libdir}/libunwind-arm.so.8*
@@ -171,6 +155,5 @@ rm -rf %{buildroot}%{_libexecdir}/%{name}
%{_includedir}/*
%{_libdir}/%{name}*.so
%{_libdir}/pkgconfig/%{name}*.pc
%{_mandir}/man3/*
%changelog