|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: A garbage collector for C and C++
|
|
|
|
|
Name: gc
|
|
|
|
|
Version: 8.0.4
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 7.6.4
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
Url: http://www.hboehm.info/gc/
|
|
|
|
@ -11,6 +11,10 @@ Source0: http://www.hboehm.info/gc/gc_source/gc-%{version}%{?pre}.tar.gz
|
|
|
|
|
## upstreamable patches
|
|
|
|
|
|
|
|
|
|
## upstream patches
|
|
|
|
|
# Upstream commit 4f7f0eebd24dcde9f2b3ec2cb98913fc39bbdda3.
|
|
|
|
|
Patch1: 0001-Add-initial-RISC-V-support.patch
|
|
|
|
|
# Upstream commit 3b008f79ee29dbd0d61cf163d20eee21412df95b.
|
|
|
|
|
Patch2: 0001-Merge-RISCV-32-64-bit-configurations-definition.patch
|
|
|
|
|
|
|
|
|
|
## downstream patches
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1551671
|
|
|
|
@ -18,10 +22,8 @@ Patch100: gc-7.6.4-dont_disable_exceptions.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: automake libtool
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
## https://www.hboehm.info/gc/ says: "Starting with 8.0, libatomic_ops is only required if the compiler does not understand C atomics."
|
|
|
|
|
#BuildRequires: pkgconfig(atomic_ops) >= 7.4
|
|
|
|
|
BuildRequires: pkgconfig(atomic_ops) >= 7.4
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
# rpmforge compatibility
|
|
|
|
|
Obsoletes: libgc < %{version}-%{release}
|
|
|
|
@ -49,7 +51,7 @@ Provides: libgc-devel = %{version}-%{release}
|
|
|
|
|
rm -f libtool libtool.m4
|
|
|
|
|
autoreconf -i -f
|
|
|
|
|
|
|
|
|
|
# see https://bugzilla.redhat.com/689877
|
|
|
|
|
# see bugzilla.redhat.com/689877
|
|
|
|
|
CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
@ -62,11 +64,11 @@ CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS
|
|
|
|
|
%endif
|
|
|
|
|
--enable-threads=posix
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%{make_install}
|
|
|
|
|
|
|
|
|
|
install -p -D -m644 doc/gc.man %{buildroot}%{_mandir}/man3/gc.3
|
|
|
|
|
|
|
|
|
@ -96,7 +98,7 @@ make check %{?arch_ignore}
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc doc/README.environment doc/README.linux
|
|
|
|
|
%doc doc/*.md
|
|
|
|
|
%doc doc/*.html
|
|
|
|
|
%{_includedir}/gc.h
|
|
|
|
|
%{_includedir}/gc_cpp.h
|
|
|
|
|
%{_includedir}/gc/
|
|
|
|
@ -108,37 +110,8 @@ make check %{?arch_ignore}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 8.0.4-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 8.0.4-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 15 2020 Rex Dieter <rdieter@fedoraproject.org> - 8.0.4-2
|
|
|
|
|
- drop libatomic_ops dep
|
|
|
|
|
|
|
|
|
|
* Wed Jan 15 2020 Rex Dieter <rdieter@fedoraproject.org> - 8.0.4-1
|
|
|
|
|
- 8.0.4
|
|
|
|
|
- %%build: --with-libatomic-ops=yes
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Tue Jul 25 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 7.6.4-3
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Wed Mar 14 2018 Rex Dieter <rdieter@fedoraproject.org> - 7.6.4-3
|
|
|
|
|
- gc: Effectively overrides -fexceptions flag (#1551671)
|
|
|
|
|