Sync from SUSE:SLFO:Main libbacktrace revision 01361599fad57794999b7353b123ff4d

This commit is contained in:
Adrian Schröter 2024-11-12 12:13:58 +01:00
commit 0438573738
7 changed files with 408 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

18
_service Normal file
View File

@ -0,0 +1,18 @@
<services>
<service name="obs_scm" mode="manual">
<param name="versionformat">1.0+git%cd</param>
<param name="url">https://github.com/ianlancetaylor/libbacktrace.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="exclude">.*</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="manual">
<param name="file">libbacktrace.spec</param>
</service>
</services>

6
_servicedata Normal file
View File

@ -0,0 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/ianlancetaylor/libbacktrace.git</param>
<param name="changesrevision">86885d14049fab06ef8a33aac51664230ca09200</param>
</service>
</servicedata>

BIN
libbacktrace-1.0+git20240805.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

273
libbacktrace.changes Normal file
View File

@ -0,0 +1,273 @@
-------------------------------------------------------------------
Wed Sep 18 11:37:52 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.0+git20240805:
* libbacktrace: update xcoff.c for base_address changes
* libbacktrace: avoid -Wpointer-arith errors
* libbacktrace: fix syntax of Windows registration functions
-------------------------------------------------------------------
Mon Jul 22 08:52:38 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.0+git20240718:
* libbacktrace: use __has_attribute for fallthrough
* libbacktrace: add cast to avoid warning
* libbacktrace: better backtrace_print when no debug info
* libbacktrace: add notes about dl_iterate_phdr to README
* libbacktrace: support FDPIC
* libbacktrace: avoid infinite recursion
* libbacktrace: improve XCOFF support
* Libbacktrace: Fix the use of newline in sed replacement
* libbacktrace: fix b2test_buildid test on non-english locales
* libbacktrace: fix UBSAN issues
* Config,Darwin: Allow for configuring Darwin to use embedded runpath.
* libbacktrace: correct duplicate configury
* libbacktrace: update libtool.m4 to current GCC HEAD
* Handle jobserver file descriptors in btest.
* libbacktrace: update copyright years
* libbacktrace: don't fail if symbol size is unknown
* libbacktrace: correctly gather Mach-O symbol table
* libbacktrace: fix testsuite for clang
* libbacktrace: suggest how to fix missing debug info
* libbacktrace: remove trailing whitespace
* libbacktrace: it's OK if zstd decompressor sees no backward bits
* libbacktrace: add DLLS as they are loaded
* libbacktrace: load Windows modules
* libbacktrace: test --compress-debug-sections=ARG for each ARG
* libbacktrace: don't assume compressed section is aligned
-------------------------------------------------------------------
Mon Mar 4 10:37:57 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.0+git20240302:
* libbacktrace: pass -no-install when linking test programs
* libbacktrace: skip all LZMA block header padding bytes
* libbacktrace: use real .opd for debuginfo on ppc64 v1 ABI
* libbacktrace: read symbol table of debuginfo file
-------------------------------------------------------------------
Fri Feb 23 01:25:31 UTC 2024 - Richard Rahl <rrahl0@proton.me>
- switch over the devel packages to pkgconfig
-------------------------------------------------------------------
Wed Feb 21 07:48:59 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Use system libunwind
- Run internal testsuite during build
-------------------------------------------------------------------
Mon Feb 19 10:20:27 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Cleanup spec file
- Switch _service to obs_scm
-------------------------------------------------------------------
Sat Feb 17 00:33:00 UTC 2024 - Richard Rahl <rrahl0@proton.me>
- fix description, so rpmlint doesn't complain
-------------------------------------------------------------------
Fri Dec 01 15:11:45 UTC 2023 - marec@detebe.org
- Update to version 1.0_git20231130:
* libbacktrace: support ASLR on Windows
* libbacktrace: call GetModuleFileNameA on Windows
-------------------------------------------------------------------
Fri Aug 04 14:43:41 UTC 2023 - marec@detebe.org
- Update to version 1.0_git20230803:
* [libbacktrace] fix up broken test
-------------------------------------------------------------------
Tue Aug 01 15:55:56 UTC 2023 - marec@detebe.org
- Update to version 1.0_git20230731:
* libbacktrace: look for _pgmptr on Windows
-------------------------------------------------------------------
Wed Mar 29 16:04:21 UTC 2023 - marec@detebe.org
- Update to version 1.0_git20230328:
* libbacktrace: minor fixes for zstd decompression
* libbacktrace: change PC variables from uint64_t to uintptr_t
-------------------------------------------------------------------
Sat Jan 07 16:56:05 UTC 2023 - marec@detebe.org
- Update to version 1.0_git20230106:
* libbacktrace: don't run --build-id tests if it is not supported
-------------------------------------------------------------------
Sat Dec 17 14:00:20 UTC 2022 - marec@detebe.org
- Update to version 1.0_git20221216:
* libbacktrace: unpack literals into output buffer
-------------------------------------------------------------------
Sat Dec 10 11:54:22 UTC 2022 - marec@detebe.org
- Update to version 1.0_git20221209:
* libbacktrace: rewrite and simplify main zstd loop
-------------------------------------------------------------------
Fri Dec 09 17:09:45 UTC 2022 - marec@detebe.org
- Update to version 1.0_git20221207:
* libbacktrace: support zstd decompression
-------------------------------------------------------------------
Sat Jul 09 18:13:34 UTC 2022 - marec@detebe.org
- Update to version 1.0_git20220708:
* libbacktrace: check for sys/link.h
-------------------------------------------------------------------
Fri Jul 08 05:49:01 UTC 2022 - marec@detebe.org
- Update to version 1.0_git20220707:
* libbacktrace: don't exit Mach-O dyld library loop on one failure
* libbacktrace: don't let "make clean" remove allocfail.sh
* libbacktrace: replace fgrep with grep in configure script
-------------------------------------------------------------------
Wed Apr 06 15:50:03 UTC 2022 - marec@detebe.org
- Update to version 1.0_git20220405:
* libbacktrace: don't skip initial aligned byte in uncompressed block
-------------------------------------------------------------------
Thu Feb 17 18:15:37 UTC 2022 - marec@detebe.org
- Update to version 1.0_git20220217:
* libbacktrace: gather address ranges from skeleton units
* libbacktrace: initialize DWARF 5 fields of unit
* configury: support --disable-werror
-------------------------------------------------------------------
Wed Jan 19 16:43:38 UTC 2022 - marec@detebe.org
- Update to version 1.0_git20220118:
* configury: update to recent versions
-------------------------------------------------------------------
Sun May 30 17:23:12 UTC 2021 - marec@detebe.org
- Update to version 1.0_git20210529:
* config/override.m4: don't require exactly autoconf 2.69
-------------------------------------------------------------------
Wed Mar 03 06:28:08 UTC 2021 - marec@detebe.org
- Update to version 1.0_git20210302:
* libbacktrace: don't special case file 0
* libbacktrace: pass -1 to error callback for unrecognized DWARF
-------------------------------------------------------------------
Fri Feb 12 06:32:06 UTC 2021 - marec@detebe.org
- Update to version 1.0_git20210211:
* libbacktrace: check for objcopy --add-gnu-debuglink using --help
-------------------------------------------------------------------
Tue Jan 19 16:20:10 UTC 2021 - marec@detebe.org
- Update to version 1.0_git20210118:
* libbacktrace: don't fail tests if dwz fails
* libbacktrace: use correct directory/filename for DWARF 5
* Update copyright years.
-------------------------------------------------------------------
Sat Dec 05 11:06:50 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20201204:
* libbacktrace: correct buffer overflow tests
-------------------------------------------------------------------
Mon Oct 26 21:26:54 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20201026:
* libbacktrace: update README
-------------------------------------------------------------------
Sat Oct 24 16:25:59 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20201020:
* libbacktrace: use __attribute__((__fallthrough__))
-------------------------------------------------------------------
Thu Oct 01 16:10:55 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20200930:
* libbacktrace: replace Tom Sawyer with Opticks
-------------------------------------------------------------------
Tue Sep 29 05:34:38 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20200928:
* libbacktrace/ChangeLog: PR libbacktrace/97082 * Makefile.am (check_DATA): Add mtest.dSYM if USE_DSYMUTIL. * Makefile.in: Regenerate.
* libbacktrace: only run dsymutil with Mach-O
-------------------------------------------------------------------
Mon Sep 28 12:44:03 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20200927:
* libbacktrace: handle pc == low correctly
* libbacktrace: use ELF symbol table if no debug info available
* libbacktrace, Mach-O : Support PowerPC archs.
* libbacktrace: support MiniDebugInfo
* libbacktrace: don't strip leading underscore on 64-bit PE
* libbacktrace: fetch executable path on macOS
* libbacktrace: avoid ambiguous binary search
* libbacktrace: fix tipo in comment
* libbacktrace: correct memory lengths in Mach-O dsym support
* libbacktrace: correctly swap Mach-O 32-bit file offset
* libbacktrace: only match magic number at start of line
* libbacktrace: add Mach-O 64-bit FAT support
* libbacktrace: test linker support for DWARF 5
-------------------------------------------------------------------
Thu May 14 18:13:30 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20200513:
* libbacktrace: mark test_large parameter unused in ztest.c
* libbacktrace: treat EACCESS like ENOENT
-------------------------------------------------------------------
Mon May 11 19:08:10 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20200511:
* libbacktrace: declare getpagesize if necessary
-------------------------------------------------------------------
Sun May 10 07:44:41 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20200509:
* libbacktrace: don't crash if ELF file has no sections
-------------------------------------------------------------------
Wed Feb 19 19:16:21 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20200219:
* libbacktrace: don't free ELF strtab if error occurs after saving syminfo
-------------------------------------------------------------------
Wed Feb 19 13:28:00 UTC 2020 - marec@detebe.org
- Update to version 1.0_git20200218:
* libbacktrace: add preliminary Mach-O support
* libbacktrace: always pass -g when compiling test code
* Update copyright years.
* libbacktrace: update to current libgo test file
* libbacktrace: support short read
* libbacktrace: if debug info large or split, read sections individually
* libbacktrace: support fetching executable name using sysctl
* libbacktrace: update to current version from GCC trunk
* config.guess, config.sub: update to latest versions
* config.guess, config.sub: update to current GCC versions
-------------------------------------------------------------------
Tue Feb 18 19:15:07 UTC 2020 - marec <marec@detebe.org>
- initial package build

4
libbacktrace.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: libbacktrace
version: 1.0+git20240805
mtime: 1722902096
commit: 86885d14049fab06ef8a33aac51664230ca09200

81
libbacktrace.spec Normal file
View File

@ -0,0 +1,81 @@
#
# spec file for package libbacktrace
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define soname 0
Name: libbacktrace
Version: 1.0+git20240805
Release: 0
Summary: Backtrace C library
License: BSD-3-Clause
URL: https://github.com/ianlancetaylor/libbacktrace
Source0: %{name}-%{version}.tar.gz
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libunwind)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib)
%description
A C library that may be linked into a C/C++ program to produce symbolic backtraces.
%package -n %{name}%{soname}
Summary: Backtrace C library
%description -n %{name}%{soname}
This is a C library that may be linked into a C/C++ program to produce symbolic backtraces.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{soname} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for developing applications that use %{name}.
%prep
%autosetup
%build
autoreconf -fiv
%configure \
--disable-static \
--enable-shared \
--with-system-libunwind \
--enable-silent-rules
%make_build
%check
# btest_dwz fails
%make_build check ||:
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%ldconfig_scriptlets -n %{name}%{soname}
%files -n %{name}%{soname}
%doc README.md
%license LICENSE
%{_libdir}/*.so.*
%files devel
%{_includedir}/*.h
%{_libdir}/*.so
%changelog