diff --git a/0009-Fix-22_locale-locale-cons-unicode.cc-when-run-under-.patch b/0009-Fix-22_locale-locale-cons-unicode.cc-when-run-under-.patch deleted file mode 100644 index a540702..0000000 --- a/0009-Fix-22_locale-locale-cons-unicode.cc-when-run-under-.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 87e2a4f28b444f376ebe15f38e2743eb952ff355 Mon Sep 17 00:00:00 2001 -From: David Malcolm -Date: Wed, 1 Sep 2021 11:02:53 -0400 -Subject: [PATCH 09/17] Fix 22_locale/locale/cons/unicode.cc when run under DTS - -Various has_facet calls return false in DTS, as DTS is using the -std::locale from the system libstdc++. - -Hence this patch tweaks tests to remove the VERIFY from the result of -the call, so that they do not fail if run against an older -std::locale. - -These VERIFY tests were added upstream 2015-01-16 in - https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=bb93f35da1612940266f5d159b6cc5a3e54fca14 ---- - libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc -index 15c621099..328145094 100644 ---- a/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc -+++ b/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc -@@ -70,8 +70,8 @@ void test01() - VERIFY( has_facet(loc13) ); - #endif - #ifdef _GLIBCXX_USE_C99_STDINT_TR1 -- VERIFY( has_facet(loc13) ); -- VERIFY( has_facet(loc13) ); -+ (void)( has_facet(loc13) ); -+ (void)( has_facet(loc13) ); - #ifdef _GLIBCXX_USE_CHAR8_T - VERIFY( has_facet(loc13) ); - VERIFY( has_facet(loc13) ); --- -2.31.1 - diff --git a/0019-xfails.patch b/0019-xfails.patch deleted file mode 100644 index e7c1ba8..0000000 --- a/0019-xfails.patch +++ /dev/null @@ -1,16 +0,0 @@ -Looks like a known fail: -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101674 - -diff --git a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c -index 53c4a5399ea..c2b043f5019 100644 ---- a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c -+++ b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c -@@ -17,7 +17,7 @@ int foo (int n, int l, int m, int r) - - if (l > 100) - if ( (n <= 9) && (m < 100) && (r < 19) ) -- blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc64*-*-* cris-*-* riscv*-*-* } } */ -+ blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc64*-*-* cris-*-* riscv*-*-* s390*-*-* } } */ - - if ( (n <= 8) && (m < 99) && (r < 19) ) - blah(v); /* { dg-bogus "uninitialized" "pr101674" { xfail mmix-*-* } } */ diff --git a/gcc.spec b/gcc.spec index 0a59dc7..411201a 100644 --- a/gcc.spec +++ b/gcc.spec @@ -5,13 +5,13 @@ BuildRequires: scl-utils-build %{?scl:%global __strip %%{_scl_root}/usr/bin/strip} %{?scl:%global __objdump %%{_scl_root}/usr/bin/objdump} %{?scl:%scl_package gcc} -%global DATE 20240701 -%global gitrev 6eada54ba865eeb9aabfcfbc106c3fbff7abe98a -%global gcc_version 14.1.1 +%global DATE 20240801 +%global gitrev 43d4666d3d94934f11857a2fb9122c575be81801 +%global gcc_version 14.2.1 %global gcc_major 14 # Note, gcc_release must be integer, if you want to add suffixes to # %%{release}, append them after %%{gcc_release} on Release: line. -%global gcc_release 7 +%global gcc_release 1 %global nvptx_tools_gitrev 87ce9dc5999e5fca2e1d3478a30888d9864c9804 %global newlib_cygwin_gitrev d45261f62a15f8abd94a1031020b9a9f455e4eed %global isl_version 0.24 @@ -204,7 +204,12 @@ URL: http://gcc.gnu.org # Need binutils which support .loc view >= 2.30 # Need binutils which support --generate-missing-build-notes=yes >= 2.31 BuildRequires: %{?scl_prefix}binutils >= 2.31 +# For VTA guality testing +%if 0%{?rhel} >= 9 +BuildRequires: gdb >= 7.4.50 +%else BuildRequires: %{?scl_prefix}gdb >= 7.4.50 +%endif # While gcc doesn't include statically linked binaries, during testing # -static is used several times. BuildRequires: glibc-static @@ -214,8 +219,6 @@ BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man #BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 3.1.0, libmpc-devel >= 0.8.1 #BuildRequires: python3-devel, /usr/bin/python BuildRequires: gcc, gcc-c++, make -# For VTA guality testing -BuildRequires: gdb # Make sure pthread.h doesn't contain __thread tokens # Make sure glibc supports stack protector # Make sure glibc supports DT_GNU_HASH @@ -344,7 +347,6 @@ Patch3001: 0004-operator-istream-char-N-eofbit-fixes-are-not-availab.patch Patch3002: 0005-Disable-tests-for-PR-libstdc-79820-and-PR-libstdc-81.patch Patch3003: 0006-Don-t-assume-has_facet-codecvt_c16-when-run-against-.patch Patch3004: 0008-testsuite-build-plugins-with-std-c-11.patch -Patch3005: 0009-Fix-22_locale-locale-cons-unicode.cc-when-run-under-.patch Patch3006: 0010-Don-t-verify-exception-handling-in-basic_filebuf-clo.patch Patch3007: 0011-Add-dts.exp-and-use-it-to-fix-22_locale-messages-136.patch Patch3008: 0012-dts.exp-use-usr-bin-gcc.patch @@ -355,7 +357,6 @@ Patch3012: 0016-Conditionalize-test-for-hashtable-bucket-sizes-on-__.patch Patch3013: 0017-Conditionalize-test-for-PR-libstdc-71181-on-__LIBSTD.patch Patch3014: gcc14-dg-ice-fixes.patch Patch3015: 0018-Use-CXX11-ABI.patch -Patch3016: 0019-xfails.patch Patch3017: 0020-more-fixes.patch Patch3018: 0021-libstdc++-disable-tests.patch @@ -706,7 +707,6 @@ touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m %patch -P3002 -p1 -b .dts-test-2~ %patch -P3003 -p1 -b .dts-test-3~ %patch -P3004 -p1 -b .dts-test-4~ -#%patch -P3005 -p1 -b .dts-test-5~ %patch -P3006 -p1 -b .dts-test-6~ %patch -P3007 -p1 -b .dts-test-7~ %patch -P3008 -p1 -b .dts-test-8~ @@ -717,7 +717,6 @@ touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m %patch -P3013 -p1 -b .dts-test-13~ %patch -P3014 -p1 -b .dts-test-14~ %patch -P3015 -p1 -b .dts-test-15~ -#%patch -P3016 -p1 -b .dts-test-16~ %patch -P3017 -p1 -b .dts-test-17~ %patch -P3018 -p1 -b .dts-test-18~ @@ -2788,6 +2787,38 @@ fi %endif %changelog +* Fri Aug 9 2024 Marek Polacek 14.2.1-1 +- update from releases/gcc-14 branch + - GCC 14.2 release + - PRs analyzer/114899, c++/99241, c++/99242, c++/104981, c++/106760, + c++/111890, c++/115165, c++/115476, c++/115550, c++/115561, + c++/115583, c++/115623, c++/115754, c++/115783, c++/115865, + c++/115897, c++/115900, c++/115986, fortran/59104, fortran/84006, + fortran/93635, fortran/98534, fortran/99798, fortran/100027, + fortran/103115, fortran/103312, fortran/113363, fortran/115700, + ipa/111613, ipa/113291, ipa/113787, ipa/114207, ipa/115033, + ipa/115277, ipa/116055, libstdc++/113376, libstdc++/114387, + libstdc++/115399, libstdc++/115482, libstdc++/115522, + libstdc++/115585, libstdc++/115807, libstdc++/115854, + libstdc++/116070, middle-end/115527, middle-end/115836, + middle-end/115887, pch/115312, rtl-optimization/115049, + rtl-optimization/115565, target/87376, target/88236, target/97367, + target/98762, target/105090, target/113715, target/114759, + target/114890, target/114936, target/114988, target/115068, + target/115153, target/115188, target/115351, target/115389, + target/115456, target/115457, target/115459, target/115475, + target/115526, target/115554, target/115562, target/115591, + target/115611, target/115691, target/115725, target/115726, + target/115752, target/115763, target/115840, target/115872, + target/115978, target/115981, target/115988, target/116035, + testsuite/115826, testsuite/116061, tree-optimization/113673, + tree-optimization/115382, tree-optimization/115646, + tree-optimization/115669, tree-optimization/115694, + tree-optimization/115701, tree-optimization/115723, + tree-optimization/115841, tree-optimization/115843, + tree-optimization/115867, tree-optimization/115868, + tree-optimization/116034, tree-optimization/116057 + * Tue Jul 23 2024 Marek Polacek 14.1.1-7 - update to GCC 14 (RHEL-30412) diff --git a/gcc14-libstdc++-docs.patch b/gcc14-libstdc++-docs.patch index b774935..0e0e0f9 100644 --- a/gcc14-libstdc++-docs.patch +++ b/gcc14-libstdc++-docs.patch @@ -4,7 +4,7 @@ FSF

-+ Release 14.1.1 ++ Release 14.2.1 +

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation @@ -17,7 +17,7 @@

- The API documentation, rendered into HTML, can be viewed online + The API documentation, rendered into HTML, can be viewed locally -+ for the 14.1.1 release, ++ for the 14.2.1 release, + online for each GCC release and diff --git a/sources b/sources index 11e157a..7eb2b89 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (gcc-14.1.1-20240701.tar.xz) = 1b68d02a9e6ddf7556a802ef672a9f3874faf5a66c0befc164838cc9fcdff10d5db4eea4a9f7e8312ccc881d41a696431d4d5d6486ef5d653da7c7fba945de6f +SHA512 (gcc-14.2.1-20240801.tar.xz) = b21f0bfd5767d0ecb9c08ba3e3a605a841d4c6a6008bf9dd8b4c4da366d7e733600eb21095768bda91e5df6536c398bf4a941e44577aef7586e95f1d148a214f SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95 SHA512 (newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz) = 31bfc19429797236e268e22b752c5abeabb9c0f39b1058634af8dab329b4f028fc72a35888193c9575f6cee5cf2c069669d79fcb4d4e3a4318f57413452f707d SHA512 (nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz) = 941e763af8601b89f0e4ec48a2d68ae0a8e70ee1e6ba6859394b021ad7bd7d143cc529f3c35c08d7f84e5554980ddcc97cf05b6c4755c2bc36c91161b79e8cea