SHA256
2
0

Accepting request 571365 from devel:libraries:c_c++

- Update to new upstream release 7.6.4

OBS-URL: https://build.opensuse.org/request/show/571365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gc?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2018-02-03 14:41:29 +00:00 committed by Git OBS Bridge
commit b805f69412
4 changed files with 23 additions and 11 deletions

View File

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

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

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Jan 30 00:23:41 UTC 2018 - jengelh@inai.de
- Update to new upstream release 7.6.4
* Also enable the TSX workaround for i386 (Linux)
* Relax mark_mutex attribute needed to disable elision (Linux/x64)
* Process all PT_LOAD segments before PT_GNU_RELRO segments (Glibc)
* Add API function to calculate total memory in use by all GC blocks
* Add API function to set/modify GC log file descriptor (Unix)
* Add alt-stack registration support
* Implement the finalization extension API
* Implement thread suspend/resume API (Linux threads only)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 1 10:03:41 UTC 2016 - rguenther@suse.com Mon Feb 1 10:03:41 UTC 2016 - rguenther@suse.com

15
gc.spec
View File

@ -1,7 +1,7 @@
# #
# spec file for package gc # spec file for package gc
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 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
@ -17,7 +17,7 @@
Name: gc Name: gc
Version: 7.4.2 Version: 7.6.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
@ -43,8 +43,8 @@ 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++
Group: System/Libraries
# bug437293 # bug437293
Group: System/Libraries
%ifarch ppc64 %ifarch ppc64
Obsoletes: boehm-gc-64bit Obsoletes: boehm-gc-64bit
%endif %endif
@ -83,10 +83,9 @@ autoreconf -fi
# see bugzilla.redhat.com/689877 # see bugzilla.redhat.com/689877
CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
CXXFLAGS="$RPM_OPT_FLAGS -std=gnu++98"; export CXXFLAGS CXXFLAGS="%optflags -std=gnu++98"; export CXXFLAGS
%configure --disable-static \ %configure --disable-static --docdir="%_docdir/%name" \
--with-pic \
--with-gnu-ld \ --with-gnu-ld \
--enable-cplusplus \ --enable-cplusplus \
--enable-large-config \ --enable-large-config \
@ -100,6 +99,7 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
rm -Rf "%buildroot/%_datadir/gc" "%buildroot/%_libdir"/*.la rm -Rf "%buildroot/%_datadir/gc" "%buildroot/%_libdir"/*.la
rm -f "%buildroot/%_docdir/%name"/README.{Mac,OS2,win32}
%check %check
%if !0%{?qemu_user_space_build} %if !0%{?qemu_user_space_build}
@ -112,13 +112,12 @@ make check
%files -n libgc1 %files -n libgc1
%defattr(-, root, root) %defattr(-, root, root)
%doc README.QUICK doc/README.*
%_libdir/libcord.so.1* %_libdir/libcord.so.1*
%_libdir/libgc*.so.1* %_libdir/libgc*.so.1*
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%doc doc/[a-z]* %_docdir/%name/
%_libdir/libcord.so %_libdir/libcord.so
%_libdir/libgc*.so %_libdir/libgc*.so
%_libdir/pkgconfig/bdw-gc.pc %_libdir/pkgconfig/bdw-gc.pc