2 Commits

Author SHA256 Message Date
ebf295e4f6 gc 8.2.10 2025-10-19 11:41:01 +02:00
9a30dc62a7 gc 8.2.8 2024-09-09 08:02:38 +02:00
4 changed files with 65 additions and 22 deletions

BIN
gc-8.2.10.tar.gz LFS Normal file

Binary file not shown.

BIN
gc-8.2.6.tar.gz LFS

Binary file not shown.

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Sun Oct 19 09:36:12 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 8.2.10
* Support RISC-V ILP32 ABI (rv64ilp32)
* Turn off thread suspend/resume API support explicitly
* Export CMake libraries with aliases
* Fix deprecation warning about support of CMake older than v3.10
* Fix 'missing GNU-stack section in atomic_ops_sysdeps' ld
warning
* Fix assertion violation about GC_mark_lock_holder in
fork_child_proc
* Fix CPP_WORDSZ for LoongArch
* Fix I_HOLD_LOCK assertion violation in child process
* Fix mark lock in child process after fork
* Fix missing parentheses in SIG_THR_RESTART macro definition
* Fix print_heap_obj call with the lock held in backgraph
add_edge
* Fix pthread id stored in GC_threads of child process
* Fix pthread id stored in key thread_specific_data of child
process
* Fix pthread_sigmask result checking in
GC_start_mark_threads_inner
* Fix reading async proc maps when GC is single-threaded but
process is not
* Fix undefined reference to GC_objfreelist and GC_bytes_allocd
* Grow GC_proc_buf to required size in GC_proc_read_dirty instead
of WARN
* Workaround vpush/vpop instructions generation for non-FPU ARMv5
target
-------------------------------------------------------------------
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>

30
gc.spec
View File

@@ -17,17 +17,17 @@
Name: gc
Version: 8.2.6
Version: 8.2.10
Release: 0
Summary: A garbage collector for C and C++
License: BSD-3-Clause
Group: Development/Libraries/C and C++
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
#Git-Clone: https://github.com/bdwgc/bdwgc
Source: https://github.com/bdwgc/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)
@@ -80,14 +80,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
@@ -101,11 +96,10 @@ done
%check
%if !0%{?qemu_user_space_build}
make check -j1
%make_build 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 +109,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