Sync from SUSE:SLFO:Main gc revision 52da6e41926a4c87de05bfe607891f93

This commit is contained in:
Adrian Schröter 2024-10-01 08:36:47 +02:00
parent 4f4d0dcc91
commit 1ebc1d2d11
6 changed files with 48 additions and 19 deletions

3
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,3 @@
mtime: 1725861758
commit: 9a30dc62a764d2d812c0ebc6a9b89e9b4a50990c86e46d728132c2af9a70fbc6
url: https://src.opensuse.org/clibs/gc

BIN
build.specials.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gc-8.2.4.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
gc-8.2.8.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Mon Sep 9 05:56:13 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 8.2.8
* Allow GC_size() argument to be null
* Fix 'un-mprotect vdb failed' abort with out-of-memory reason
on Linux
* Fix GC_is_visible for case of arg pointing exactly to object
upper bound
* Fix double lock in GC_malloc called from backtrace()
* Fix heap blocks size computation by GC_get_memory_use
* Fix infinite resend lost signals if a thread is restarted by
SIGQUIT
* Fix null pointer dereference in GC_is_visible if type_descr
is null
* Fix potential address overflow in GC_add_to_heap
* Fix potential buffer overrun during read in GC_text_mapping
* Use atomic store to set GC_first_nonempty in
GC_do_parallel_mark
-------------------------------------------------------------------
Sun Feb 4 09:20:25 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 8.2.6
* Compiler warning fixes on various non-Linux platforms
* Fix null dereference in check_finalizer_nested if redirecting
malloc on Linux
* Fix race in init_lib_bounds on Linux/glibc-2.34+ if
redirecting malloc
-------------------------------------------------------------------
Fri May 26 20:42:53 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

25
gc.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package gc
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -17,7 +17,7 @@
Name: gc
Version: 8.2.4
Version: 8.2.8
Release: 0
Summary: A garbage collector for C and C++
License: BSD-3-Clause
@ -27,7 +27,7 @@ URL: http://www.hboehm.info/gc/
#Git-Clone: https://github.com/ivmai/bdwgc
Source: https://github.com/ivmai/bdwgc/releases/download/v%version/%name-%version.tar.gz
BuildRequires: autoconf >= 2.64
BuildRequires: gcc-c++
BuildRequires: c++_compiler
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: pkgconfig(atomic_ops)
@ -81,13 +81,9 @@ autoreconf -fi
# see bugzilla.redhat.com/689877
export CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"
export CXXFLAGS="%optflags"
%configure --disable-static --docdir="%_docdir/%name" \
--with-gnu-ld \
--enable-cplusplus \
--enable-large-config \
--enable-threads=posix \
--enable-parallel-mark \
--with-libatomic-ops=yes
%configure --disable-static --docdir="%_docdir/%name" --with-gnu-ld \
--enable-cplusplus --enable-large-config --enable-threads=posix \
--enable-parallel-mark --with-libatomic-ops=yes
# --with-libatomic-ops=yes means to use the system library
%make_build
@ -104,8 +100,7 @@ done
make check -j1
%endif
%post -n libgc1 -p /sbin/ldconfig
%postun -n libgc1 -p /sbin/ldconfig
%ldconfig_scriptlets -n libgc1
%files -n libgc1
%_libdir/libcord.so.1*
@ -115,10 +110,8 @@ make check -j1
%_docdir/%name/
%_libdir/libcord.so
%_libdir/libgc*.so
%_libdir/pkgconfig/bdw-gc.pc
%_libdir/pkgconfig/*.pc
%_mandir/man3/gc.3*
%_includedir/gc.h
%_includedir/gc_cpp.h
%_includedir/gc/
%_includedir/gc*
%changelog