SHA256
6
0
forked from pool/gc
This commit is contained in:
Jan Engelhardt 2024-09-09 08:02:38 +02:00
parent 5bdc7c6cc2
commit 9a30dc62a7
4 changed files with 31 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9183fe49d4c44c7327992f626f8eaa1d8b14de140f243edb1c9dcff7719a7fc
size 1216440

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

Binary file not shown.

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
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>

23
gc.spec
View File

@ -17,7 +17,7 @@
Name: gc
Version: 8.2.6
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