diff --git a/gc-7.6.4.tar.gz b/gc-7.6.4.tar.gz deleted file mode 100644 index 42c73a0..0000000 --- a/gc-7.6.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b94c1f2535f98354811ee644dccab6e84a0cf73e477ca03fb5a3758fb1fecd1c -size 1120784 diff --git a/gc-8.0.4.tar.gz b/gc-8.0.4.tar.gz new file mode 100644 index 0000000..29c3689 --- /dev/null +++ b/gc-8.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d +size 1160528 diff --git a/gc.changes b/gc.changes index 6b08541..19f8191 100644 --- a/gc.changes +++ b/gc.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Fri Mar 15 09:35:41 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 8.0.4 + * Avoid a full GC when growing finalizer tables if in + incremental mode. + * Avoid potential race in hb_sz access between realloc and + reclaim_block. + * Ensure result of every variant of MS_TIME_DIFF has unsigned + long type. + * Fix 'unexpected mark stack overflow' abort in push_all_stack. + +------------------------------------------------------------------- +Tue Jan 8 13:51:13 UTC 2019 - Jan Engelhardt + +- Add libatomic_ops-devel as a package require, since it shows up + in bdw-gc.pc. + +------------------------------------------------------------------- +Tue Jan 8 02:37:16 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 8.0.2 + * Explicitly unblock GC signals on GC initialization. + * Add initial RISC-V support. + * Never return null by C++ GC allocators and gc_cpp + operator new. + * Add AO primitives implementation to GC based on C11 atomic + intrinsic. + * Change pointer arguments of push_all[_eager]/conditional API + to void * type. + * Change type of hb_sz field (of hblkhdr) from size_t to word. + * Decide between memory unmapping and mprotect-based dirty bits + at runtime. + * New API function (GC_dump_named) to produce named dumps. + * New API function (get_size_map_at) to get content of size_map + table. + * New API to stop and start the GC world externally. + * New API to turn on manual VDB at runtime. + ------------------------------------------------------------------- Tue Jan 30 00:23:41 UTC 2018 - jengelh@inai.de diff --git a/gc.spec b/gc.spec index 041e8fc..6d91aa7 100644 --- a/gc.spec +++ b/gc.spec @@ -1,7 +1,7 @@ # # spec file for package gc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,21 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: gc -Version: 7.6.4 +Version: 8.0.4 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/ +URL: http://www.hboehm.info/gc/ #Git-Clone: git://github.com/ivmai/bdwgc -Source: http://www.hboehm.info/gc/gc_source/%name-%version.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: https://github.com/ivmai/bdwgc/releases/download/v%version/%name-%version.tar.gz BuildRequires: autoconf >= 2.64 BuildRequires: gcc-c++ BuildRequires: libtool @@ -43,12 +42,11 @@ be otherwise accessed. %package -n libgc1 Summary: A garbage collector for C and C++ -# bug437293 Group: System/Libraries %ifarch ppc64 +# bug437293 Obsoletes: boehm-gc-64bit %endif -# %description -n libgc1 The Boehm-Demers-Weiser conservative garbage collector can be used as a @@ -63,6 +61,7 @@ Summary: A garbage collector for C and C++ Group: Development/Libraries/C and C++ Provides: gc:/usr/include/gc/gc.h Requires: glibc-devel +Requires: libatomic_ops-devel Requires: libgc1 = %version %description devel @@ -77,14 +76,11 @@ be otherwise accessed. %setup -q %build -# refresh auto*/libtool to purge rpaths -rm -f libtool libtool.m4 autoreconf -fi # see bugzilla.redhat.com/689877 -CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS -CXXFLAGS="%optflags -std=gnu++98"; export CXXFLAGS - +export CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN" +export CXXFLAGS="%optflags -std=gnu++98" %configure --disable-static --docdir="%_docdir/%name" \ --with-gnu-ld \ --enable-cplusplus \ @@ -107,7 +103,6 @@ make check %endif %post -n libgc1 -p /sbin/ldconfig - %postun -n libgc1 -p /sbin/ldconfig %files -n libgc1 @@ -121,6 +116,7 @@ make check %_libdir/libcord.so %_libdir/libgc*.so %_libdir/pkgconfig/bdw-gc.pc +%_mandir/man3/gc.3* %_includedir/gc.h %_includedir/gc_cpp.h %_includedir/gc/