diff --git a/.gc.metadata b/.gc.metadata index 3220adf..2c9555b 100644 --- a/.gc.metadata +++ b/.gc.metadata @@ -1 +1 @@ -4b8b24534f469b64ff4bc2332a9bdf8bef8bf1d4 SOURCES/gc-8.0.4.tar.gz +3f543532c47e592a8f5ea6f7a529c8ed7465a5c7 SOURCES/gc-8.2.6.tar.gz diff --git a/.gitignore b/.gitignore index 624dcc2..f94f305 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gc-8.0.4.tar.gz +SOURCES/gc-8.2.6.tar.gz diff --git a/SOURCES/gc-7.6.4-dont_disable_exceptions.patch b/SOURCES/gc-7.6.4-dont_disable_exceptions.patch deleted file mode 100644 index 422b149..0000000 --- a/SOURCES/gc-7.6.4-dont_disable_exceptions.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up gc-7.6.4/pthread_start.c.dont_disable_exceptions gc-7.6.4/pthread_start.c ---- gc-7.6.4/pthread_start.c.dont_disable_exceptions 2018-01-26 07:16:17.000000000 -0600 -+++ gc-7.6.4/pthread_start.c 2018-03-14 09:21:34.263477197 -0500 -@@ -22,7 +22,7 @@ - /* case at the top of the file. FIXME: it's still unclear whether this */ - /* will actually cause the exit handler to be invoked last when */ - /* thread_exit is called (and if -fexceptions is used). */ --#if defined(__GNUC__) && defined(__linux__) -+#if 0 && defined(__GNUC__) && defined(__linux__) - /* We undefine __EXCEPTIONS to avoid using GCC __cleanup__ attribute. */ - /* The current NPTL implementation of pthread_cleanup_push uses */ - /* __cleanup__ attribute when __EXCEPTIONS is defined (-fexceptions). */ diff --git a/SPECS/gc.spec b/SPECS/gc.spec index 98cfd6e..579eb42 100644 --- a/SPECS/gc.spec +++ b/SPECS/gc.spec @@ -1,20 +1,15 @@ - -Summary: A garbage collector for C and C++ +Summary: Garbage collector for C and C++ Name: gc -Version: 8.0.4 -Release: 7%{?dist} +Version: 8.2.6 +Release: 2%{?dist} License: BSD -Url: http://www.hboehm.info/gc/ -Source0: http://www.hboehm.info/gc/gc_source/gc-%{version}%{?pre}.tar.gz +URL: https://www.hboehm.info/gc/ +Source0: https://github.com/ivmai/bdwgc/releases/download/v%{version}/gc-%{version}%{?pre}.tar.gz ## upstreamable patches -## upstream patches - ## downstream patches -# https://bugzilla.redhat.com/show_bug.cgi?id=1551671 -Patch100: gc-7.6.4-dont_disable_exceptions.patch BuildRequires: automake libtool BuildRequires: gcc-c++ @@ -50,16 +45,16 @@ rm -f libtool libtool.m4 autoreconf -i -f # see https://bugzilla.redhat.com/689877 -CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN"; export CPPFLAGS +CPPFLAGS="-DUSE_GET_STACKBASE_FOR_MAIN $CPPFLAGS" +# https://github.com/ivmai/bdwgc/commit/3ea130ae326d02e224921017d3ee9c287fd4e670 +# WAS https://bugzilla.redhat.com/show_bug.cgi?id=1551671 +CPPFLAGS="-DDONT_UNDEF_EXCEPTIONS $CPPFLAGS" +export CPPFLAGS %configure \ - --disable-static \ --disable-docs \ --enable-cplusplus \ --enable-large-config \ -%ifarch %{ix86} - --enable-parallel-mark \ -%endif --enable-threads=posix %make_build @@ -93,6 +88,7 @@ make check %{?arch_ignore} %{_libdir}/libcord.so.1* %{_libdir}/libgc.so.1* %{_libdir}/libgccpp.so.1* +%{_libdir}/libgctba.so.1* %files devel %doc doc/README.environment doc/README.linux @@ -103,17 +99,59 @@ make check %{?arch_ignore} %{_libdir}/libcord.so %{_libdir}/libgc.so %{_libdir}/libgccpp.so +%{_libdir}/libgctba.so %{_libdir}/pkgconfig/bdw-gc.pc %{_mandir}/man3/gc.3* %changelog -* Mon Aug 09 2021 Mohan Boddu - 8.0.4-7 -- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Related: rhbz#1991688 +* Wed Dec 25 2024 Arkady L. Shane - 8.2.6-2 +- Rebuilt for MSVSphere 10 + +* Thu Jul 18 2024 Fedora Release Engineering - 8.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Mar 08 2024 Jens Petersen - 8.2.6-1 +- update to https://github.com/ivmai/bdwgc/releases/tag/v8.2.6 release + +* Wed Jan 24 2024 Fedora Release Engineering - 8.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 8.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 8.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 8.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Jan 17 2023 Timm Bäder - 8.2.2-2 +- Fix undefined pthread_setname_np +- https://fedoraproject.org/wiki/Toolchain/PortingToModernC + +* Tue Sep 20 2022 Rex Dieter 8.2.2-1 +- 8.2.2 (#2124760) + +* Thu Jul 21 2022 Fedora Release Engineering - 8.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jun 16 2022 Alexandra Hájková - 8.0.6-3 +- backport upstream "Do not probe to find main data root start if + dl_iterate_phdr exists" +- https://bugzilla.redhat.com/show_bug.cgi?id=2063942 + +* Thu Jan 20 2022 Fedora Release Engineering - 8.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Oct 7 2021 Ivan Maidanski - 8.0.6-1 +- 8.0.6 +- Source0: Switch URL to Github releases +- %%build: remove --disable-static (default one since 8.0.0) +- %%build: remove --enable-parallel-mark (default one since 8.0.0) -* Thu Apr 15 2021 Mohan Boddu - 8.0.4-6 -- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 +* Wed Jul 21 2021 Fedora Release Engineering - 8.0.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 8.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild