SHA256
2
0

Accepting request 923658 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/923658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gc?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2021-10-12 19:47:52 +00:00 committed by Git OBS Bridge
commit ed54984925
4 changed files with 27 additions and 10 deletions

View File

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

3
gc-8.0.6.tar.gz Normal file
View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Sep 28 22:27:54 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 8.0.6
* Allocate start_info struct on the stack in GC_pthread_create.
* Allow GC_PAUSE_TIME_TARGET environment variable values
smaller than 5 ms.
* Disable mprotect-based incremental GC if /proc roots are used.
* Enable sbrk-to-mmap fallback on major supported Unix-like
platforms.
* Ensure process is running on one CPU core if AO ops are
emulated with locks.
* Fix data race regarding *rlh value in generic_malloc_many.
* Fix handling of areas smaller than page size in
GC_scratch_recycle.
* Limit number of unmapped regions.
-------------------------------------------------------------------
Fri Mar 15 09:35:41 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

14
gc.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package gc
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,14 @@
Name: gc
Version: 8.0.4
Version: 8.0.6
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: git://github.com/ivmai/bdwgc
#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++
@ -73,7 +73,7 @@ automatically recycles memory when it determines that it can no longer
be otherwise accessed.
%prep
%setup -q
%autosetup -p1
%build
autoreconf -fi
@ -95,7 +95,9 @@ make %{?_smp_mflags}
%install
%make_install
rm -Rf "%buildroot/%_datadir/gc" "%buildroot/%_libdir"/*.la
rm -f "%buildroot/%_docdir/%name"/README.{Mac,OS2,win32}
for i in README.Mac README.OS2 README.win32; do
rm -f "%buildroot/%_docdir/%name/$i"
done
%check
%if !0%{?qemu_user_space_build}
@ -106,12 +108,10 @@ make check
%postun -n libgc1 -p /sbin/ldconfig
%files -n libgc1
%defattr(-, root, root)
%_libdir/libcord.so.1*
%_libdir/libgc*.so.1*
%files devel
%defattr(-, root, root)
%_docdir/%name/
%_libdir/libcord.so
%_libdir/libgc*.so