SHA256
2
0

Accepting request 685311 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/685311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gc?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2019-07-13 11:36:28 +00:00 committed by Git OBS Bridge
commit d11a20844b
4 changed files with 52 additions and 17 deletions

View File

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

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

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

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Fri Mar 15 09:35:41 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de>
- 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 <jengelh@inai.de>
- 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 Tue Jan 30 00:23:41 UTC 2018 - jengelh@inai.de

24
gc.spec
View File

@ -1,7 +1,7 @@
# #
# spec file for package gc # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Name: gc
Version: 7.6.4 Version: 8.0.4
Release: 0 Release: 0
Summary: A garbage collector for C and C++ Summary: A garbage collector for C and C++
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ 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 #Git-Clone: git://github.com/ivmai/bdwgc
Source: http://www.hboehm.info/gc/gc_source/%name-%version.tar.gz Source: https://github.com/ivmai/bdwgc/releases/download/v%version/%name-%version.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.64 BuildRequires: autoconf >= 2.64
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libtool BuildRequires: libtool
@ -43,12 +42,11 @@ be otherwise accessed.
%package -n libgc1 %package -n libgc1
Summary: A garbage collector for C and C++ Summary: A garbage collector for C and C++
# bug437293
Group: System/Libraries Group: System/Libraries
%ifarch ppc64 %ifarch ppc64
# bug437293
Obsoletes: boehm-gc-64bit Obsoletes: boehm-gc-64bit
%endif %endif
#
%description -n libgc1 %description -n libgc1
The Boehm-Demers-Weiser conservative garbage collector can be used as a 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++ Group: Development/Libraries/C and C++
Provides: gc:/usr/include/gc/gc.h Provides: gc:/usr/include/gc/gc.h
Requires: glibc-devel Requires: glibc-devel
Requires: libatomic_ops-devel
Requires: libgc1 = %version Requires: libgc1 = %version
%description devel %description devel
@ -77,14 +76,11 @@ be otherwise accessed.
%setup -q %setup -q
%build %build
# refresh auto*/libtool to purge rpaths
rm -f libtool libtool.m4
autoreconf -fi autoreconf -fi
# see bugzilla.redhat.com/689877 # see bugzilla.redhat.com/689877
CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS export CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"
CXXFLAGS="%optflags -std=gnu++98"; export CXXFLAGS export CXXFLAGS="%optflags -std=gnu++98"
%configure --disable-static --docdir="%_docdir/%name" \ %configure --disable-static --docdir="%_docdir/%name" \
--with-gnu-ld \ --with-gnu-ld \
--enable-cplusplus \ --enable-cplusplus \
@ -107,7 +103,6 @@ make check
%endif %endif
%post -n libgc1 -p /sbin/ldconfig %post -n libgc1 -p /sbin/ldconfig
%postun -n libgc1 -p /sbin/ldconfig %postun -n libgc1 -p /sbin/ldconfig
%files -n libgc1 %files -n libgc1
@ -121,6 +116,7 @@ make check
%_libdir/libcord.so %_libdir/libcord.so
%_libdir/libgc*.so %_libdir/libgc*.so
%_libdir/pkgconfig/bdw-gc.pc %_libdir/pkgconfig/bdw-gc.pc
%_mandir/man3/gc.3*
%_includedir/gc.h %_includedir/gc.h
%_includedir/gc_cpp.h %_includedir/gc_cpp.h
%_includedir/gc/ %_includedir/gc/