diff --git a/gc-8.2.6.tar.gz b/gc-8.2.6.tar.gz deleted file mode 100644 index eea2295..0000000 --- a/gc-8.2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b9183fe49d4c44c7327992f626f8eaa1d8b14de140f243edb1c9dcff7719a7fc -size 1216440 diff --git a/gc-8.2.8.tar.gz b/gc-8.2.8.tar.gz new file mode 100644 index 0000000..f216ff2 --- /dev/null +++ b/gc-8.2.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7649020621cb26325e1fb5c8742590d92fb48ce5c259b502faf7d9fb5dabb160 +size 1219553 diff --git a/gc.changes b/gc.changes index 2684ae8..291a3eb 100644 --- a/gc.changes +++ b/gc.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Sep 9 05:56:13 UTC 2024 - Jan Engelhardt + +- 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 diff --git a/gc.spec b/gc.spec index 5750d23..f437ab5 100644 --- a/gc.spec +++ b/gc.spec @@ -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