update to 1.8.1 [release 1.8.1-1mamba;Mon May 06 2024]

This commit is contained in:
Silvan Calarco 2024-05-07 15:30:59 +02:00
parent 166b5df2aa
commit ae4f9a3239
3 changed files with 11 additions and 82 deletions

View File

@ -2,12 +2,3 @@
libunwind implements a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation. As such, the API is useful in a number of applications. Some examples include: libunwind implements a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation. As such, the API is useful in a number of applications. Some examples include:
* exception handling
The libunwind API makes it trivial to implement the stack-manipulation aspects of exception handling.
* debuggers
The libunwind API makes it trivial for debuggers to generate the call-chain (backtrace) of the threads in a running program.
* introspection
It is often useful for a running thread to determine its call-chain. For example, this is useful to display error messages (to show how the error came about) and for performance monitoring/analysis.
* efficient setjmp()
With libunwind, it is possible to implement an extremely efficient version of setjmp(). Effectively, the only context that needs to be saved consists of the stack-pointer(s).

View File

@ -1,42 +0,0 @@
From c7ab998ec52b09d61ec3c0ea62aa07cd26077ea3 Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@smile.fr>
Date: Mon, 3 Jul 2017 14:43:02 +0200
Subject: [PATCH] libunwind-arm: fix build failure due to asm()
The gcc documentation [1] suggest to use __asm__ instead of asm.
Fixes:
http://autobuild.buildroot.net/results/3ef/3efe156b6494e4392b6c31de447ee2c72acc1a53
[1] https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#Alternate-Keywords
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
---
include/libunwind-arm.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/libunwind-arm.h b/include/libunwind-arm.h
index f208487..1c856fa 100644
--- a/include/libunwind-arm.h
+++ b/include/libunwind-arm.h
@@ -265,7 +265,7 @@ unw_tdep_context_t;
#ifndef __thumb__
#define unw_tdep_getcontext(uc) (({ \
unw_tdep_context_t *unw_ctx = (uc); \
- register unsigned long *unw_base asm ("r0") = unw_ctx->regs; \
+ register unsigned long *unw_base __asm__ ("r0") = unw_ctx->regs; \
__asm__ __volatile__ ( \
"stmia %[base], {r0-r15}" \
: : [base] "r" (unw_base) : "memory"); \
@@ -273,7 +273,7 @@ unw_tdep_context_t;
#else /* __thumb__ */
#define unw_tdep_getcontext(uc) (({ \
unw_tdep_context_t *unw_ctx = (uc); \
- register unsigned long *unw_base asm ("r0") = unw_ctx->regs; \
+ register unsigned long *unw_base __asm__ ("r0") = unw_ctx->regs; \
__asm__ __volatile__ ( \
".align 2\nbx pc\nnop\n.code 32\n" \
"stmia %[base], {r0-r15}\n" \
--
2.9.4

View File

@ -1,5 +1,5 @@
Name: libunwind Name: libunwind
Version: 1.6.2 Version: 1.8.1
Release: 1mamba Release: 1mamba
Summary: A portable and efficient C programming interface (API) to determine the call-chain of a program Summary: A portable and efficient C programming interface (API) to determine the call-chain of a program
Group: System/Libraries Group: System/Libraries
@ -7,28 +7,20 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.nongnu.org/libunwind/ URL: http://www.nongnu.org/libunwind/
Source: http://download.savannah.gnu.org/releases/libunwind/libunwind-%{version}.tar.gz Source: https://github.com/libunwind/libunwind.git/v%{version}/libunwind-%{version}.tar.bz2
Patch0: libunwind-1.2.1-arm-fix-build-failure-due-to-asm.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: liblzma-devel BuildRequires: liblzma-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libatomic_ops-devel
%description %description
libunwind implements a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation. As such, the API is useful in a number of applications. Some examples include: libunwind implements a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation. As such, the API is useful in a number of applications. Some examples include:
* exception handling
The libunwind API makes it trivial to implement the stack-manipulation aspects of exception handling.
* debuggers
The libunwind API makes it trivial for debuggers to generate the call-chain (backtrace) of the threads in a running program.
* introspection
It is often useful for a running thread to determine its call-chain. For example, this is useful to display error messages (to show how the error came about) and for performance monitoring/analysis.
* efficient setjmp()
With libunwind, it is possible to implement an extremely efficient version of setjmp(). Effectively, the only context that needs to be saved consists of the stack-pointer(s).
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
@ -36,22 +28,13 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
libunwind implements a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation. As such, the API is useful in a number of applications. Some examples include: libunwind implements a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation. As such, the API is useful in a number of applications. Some examples include:
This package contains static libraries and header files needed for development.
* exception handling
The libunwind API makes it trivial to implement the stack-manipulation aspects of exception handling.
* debuggers
The libunwind API makes it trivial for debuggers to generate the call-chain (backtrace) of the threads in a running program.
* introspection
It is often useful for a running thread to determine its call-chain. For example, this is useful to display error messages (to show how the error came about) and for performance monitoring/analysis.
* efficient setjmp()
With libunwind, it is possible to implement an extremely efficient version of setjmp(). Effectively, the only context that needs to be saved consists of the stack-pointer(s).
This package contains static libraries and header files need for development.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
autoreconf -f -i
%build %build
%configure \ %configure \
@ -88,6 +71,8 @@ This package contains static libraries and header files need for development.
%ifarch aarch64 %ifarch aarch64
%{_libdir}/libunwind-aarch64.so.* %{_libdir}/libunwind-aarch64.so.*
%endif %endif
%dir %{_libexecdir}/libunwind
%{_libexecdir}/libunwind/*
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files devel %files devel
@ -95,37 +80,29 @@ This package contains static libraries and header files need for development.
%{_includedir}/libunwind*.h %{_includedir}/libunwind*.h
%{_includedir}/unwind*.h %{_includedir}/unwind*.h
%{_libdir}/libunwind.a %{_libdir}/libunwind.a
%{_libdir}/libunwind.la
%{_libdir}/libunwind.so %{_libdir}/libunwind.so
%{_libdir}/libunwind-coredump.a %{_libdir}/libunwind-coredump.a
%{_libdir}/libunwind-coredump.la
%{_libdir}/libunwind-coredump.so %{_libdir}/libunwind-coredump.so
%{_libdir}/libunwind-generic.a %{_libdir}/libunwind-generic.a
%{_libdir}/libunwind-generic.so %{_libdir}/libunwind-generic.so
%{_libdir}/libunwind-ptrace.a %{_libdir}/libunwind-ptrace.a
%{_libdir}/libunwind-ptrace.la
%{_libdir}/libunwind-ptrace.so %{_libdir}/libunwind-ptrace.so
%{_libdir}/libunwind-setjmp.a %{_libdir}/libunwind-setjmp.a
%{_libdir}/libunwind-setjmp.la
%{_libdir}/libunwind-setjmp.so %{_libdir}/libunwind-setjmp.so
%ifarch %{ix86} %ifarch %{ix86}
%{_libdir}/libunwind-x86.a %{_libdir}/libunwind-x86.a
%{_libdir}/libunwind-x86.la
%{_libdir}/libunwind-x86.so %{_libdir}/libunwind-x86.so
%endif %endif
%ifarch x86_64 %ifarch x86_64
%{_libdir}/libunwind-x86_64.a %{_libdir}/libunwind-x86_64.a
%{_libdir}/libunwind-x86_64.la
%{_libdir}/libunwind-x86_64.so %{_libdir}/libunwind-x86_64.so
%endif %endif
%ifarch arm %ifarch arm
%{_libdir}/libunwind-arm.a %{_libdir}/libunwind-arm.a
%{_libdir}/libunwind-arm.la
%{_libdir}/libunwind-arm.so %{_libdir}/libunwind-arm.so
%endif %endif
%ifarch aarch64 %ifarch aarch64
%{_libdir}/libunwind-aarch64.a %{_libdir}/libunwind-aarch64.a
%{_libdir}/libunwind-aarch64.la
%{_libdir}/libunwind-aarch64.so %{_libdir}/libunwind-aarch64.so
%endif %endif
%{_libdir}/pkgconfig/libunwind-coredump.pc %{_libdir}/pkgconfig/libunwind-coredump.pc
@ -137,6 +114,9 @@ This package contains static libraries and header files need for development.
#%doc ChangeLog LICENSE NEWS README TODO #%doc ChangeLog LICENSE NEWS README TODO
%changelog %changelog
* Mon May 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
- update to 1.8.1
* Wed Dec 01 2021 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba * Wed Dec 01 2021 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist - automatic version update by autodist