import UBI gcc-toolset-14-gcc-14.2.1-7.1.el8_10
This commit is contained in:
parent
8d249b004e
commit
62cb63d4a3
@ -1,4 +1,4 @@
|
|||||||
46c9c865217e7ed71d89b7c378c940341bda3586 SOURCES/gcc-14.2.1-20240801.tar.xz
|
1ba89d5d97aa19d0aaa5edd8834e71a2dcbd08e4 SOURCES/gcc-14.2.1-20250110.tar.xz
|
||||||
ae5fbb33bcb442121fbbf482a93f6b3c84d489ee SOURCES/isl-0.24.tar.bz2
|
ae5fbb33bcb442121fbbf482a93f6b3c84d489ee SOURCES/isl-0.24.tar.bz2
|
||||||
fa4301e00c164604a6d8122c130375a55621b076 SOURCES/newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz
|
fa4301e00c164604a6d8122c130375a55621b076 SOURCES/newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz
|
||||||
c1e42726a71ca4a385502580778439bd326c6d4e SOURCES/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz
|
c1e42726a71ca4a385502580778439bd326c6d4e SOURCES/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
SOURCES/gcc-14.2.1-20240801.tar.xz
|
SOURCES/gcc-14.2.1-20250110.tar.xz
|
||||||
SOURCES/isl-0.24.tar.bz2
|
SOURCES/isl-0.24.tar.bz2
|
||||||
SOURCES/newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz
|
SOURCES/newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz
|
||||||
SOURCES/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz
|
SOURCES/nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz
|
||||||
|
|||||||
@ -6,7 +6,7 @@ index b64e71dae22..5bf47b20820 100644
|
|||||||
jump threading opportunities. Skip the later tests on aarch64. */
|
jump threading opportunities. Skip the later tests on aarch64. */
|
||||||
/* { dg-final { scan-tree-dump-not "Jumps threaded" "dom3" { target { ! aarch64*-*-* } } } } */
|
/* { dg-final { scan-tree-dump-not "Jumps threaded" "dom3" { target { ! aarch64*-*-* } } } } */
|
||||||
/* { dg-final { scan-tree-dump "Jumps threaded: 9" "thread2" { target { ! aarch64*-*-* } } } } */
|
/* { dg-final { scan-tree-dump "Jumps threaded: 9" "thread2" { target { ! aarch64*-*-* } } } } */
|
||||||
-/* { dg-final { scan-tree-dump "Jumps threaded: 18" "thread2" { target { aarch64*-*-* } } } } */
|
-/* { dg-final { scan-tree-dump "Jumps threaded: 17" "thread2" { target { aarch64*-*-* } } } } */
|
||||||
|
|
||||||
enum STATE {
|
enum STATE {
|
||||||
S0=0,
|
S0=0,
|
||||||
|
|||||||
@ -7996,7 +7996,7 @@
|
|||||||
+//asm (".hidden _ZNSt10filesystem7__cxx114_DirC2ERKNS0_4pathEbbbRSt10error_code");
|
+//asm (".hidden _ZNSt10filesystem7__cxx114_DirC2ERKNS0_4pathEbbbRSt10error_code");
|
||||||
--- libstdc++-v3/src/nonshared17/fs_ops80.cc.jj 2024-07-18 16:10:38.338406596 +0200
|
--- libstdc++-v3/src/nonshared17/fs_ops80.cc.jj 2024-07-18 16:10:38.338406596 +0200
|
||||||
+++ libstdc++-v3/src/nonshared17/fs_ops80.cc 2024-07-19 15:49:59.793786981 +0200
|
+++ libstdc++-v3/src/nonshared17/fs_ops80.cc 2024-07-19 15:49:59.793786981 +0200
|
||||||
@@ -0,0 +1,103 @@
|
@@ -0,0 +1,104 @@
|
||||||
+// Copyright (C) 2019-2024 Free Software Foundation, Inc.
|
+// Copyright (C) 2019-2024 Free Software Foundation, Inc.
|
||||||
+//
|
+//
|
||||||
+// This file is part of the GNU ISO C++ Library. This library is free
|
+// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
@ -8020,6 +8020,7 @@
|
|||||||
+// <http://www.gnu.org/licenses/>.
|
+// <http://www.gnu.org/licenses/>.
|
||||||
+
|
+
|
||||||
+#include "../c++17/fs_ops.cc"
|
+#include "../c++17/fs_ops.cc"
|
||||||
|
+asm (".hidden _ZNSt10filesystem11equiv_filesEPKcRK4statS1_S4_RSt10error_code");
|
||||||
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED0Ev");
|
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED0Ev");
|
||||||
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED1Ev");
|
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED1Ev");
|
||||||
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED2Ev");
|
+asm (".hidden _ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEED2Ev");
|
||||||
|
|||||||
56
SOURCES/gcc14-pr118509.patch
Normal file
56
SOURCES/gcc14-pr118509.patch
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
2025-01-20 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
PR c++/118509
|
||||||
|
* typeck.cc (get_member_function_from_ptrfunc): Wrap force_target_expr
|
||||||
|
with save_expr.
|
||||||
|
|
||||||
|
* g++.dg/expr/pmf-4.C: New test.
|
||||||
|
|
||||||
|
--- gcc/cp/typeck.cc.jj 2025-01-09 10:10:28.042651891 +0100
|
||||||
|
+++ gcc/cp/typeck.cc 2025-01-20 15:09:24.200053590 +0100
|
||||||
|
@@ -4187,8 +4187,8 @@ get_member_function_from_ptrfunc (tree *
|
||||||
|
&& !DECL_P (instance_ptr)
|
||||||
|
&& !TREE_CONSTANT (instance_ptr)))
|
||||||
|
instance_ptr = instance_save_expr
|
||||||
|
- = force_target_expr (TREE_TYPE (instance_ptr), instance_ptr,
|
||||||
|
- complain);
|
||||||
|
+ = save_expr (force_target_expr (TREE_TYPE (instance_ptr),
|
||||||
|
+ instance_ptr, complain));
|
||||||
|
|
||||||
|
/* See above comment. */
|
||||||
|
if (TREE_SIDE_EFFECTS (function)
|
||||||
|
@@ -4196,7 +4196,8 @@ get_member_function_from_ptrfunc (tree *
|
||||||
|
&& !DECL_P (function)
|
||||||
|
&& !TREE_CONSTANT (function)))
|
||||||
|
function
|
||||||
|
- = force_target_expr (TREE_TYPE (function), function, complain);
|
||||||
|
+ = save_expr (force_target_expr (TREE_TYPE (function), function,
|
||||||
|
+ complain));
|
||||||
|
|
||||||
|
/* Start by extracting all the information from the PMF itself. */
|
||||||
|
e3 = pfn_from_ptrmemfunc (function);
|
||||||
|
--- gcc/testsuite/g++.dg/expr/pmf-4.C.jj
|
||||||
|
+++ gcc/testsuite/g++.dg/expr/pmf-4.C
|
||||||
|
@@ -0,0 +1,22 @@
|
||||||
|
+// PR c++/118509
|
||||||
|
+// { dg-do run }
|
||||||
|
+// { dg-options "-Wall -O2" }
|
||||||
|
+
|
||||||
|
+struct A { void foo () { a = 1; } int a; A () : a (0) {} };
|
||||||
|
+struct B : virtual A {};
|
||||||
|
+typedef void (A::*C) ();
|
||||||
|
+
|
||||||
|
+__attribute__((noipa)) void
|
||||||
|
+foo (C x, B *y)
|
||||||
|
+{
|
||||||
|
+ (y->*x) ();
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+int
|
||||||
|
+main ()
|
||||||
|
+{
|
||||||
|
+ B b;
|
||||||
|
+ foo (&A::foo, &b);
|
||||||
|
+ if (b.a != 1)
|
||||||
|
+ __builtin_abort ();
|
||||||
|
+}
|
||||||
@ -5,13 +5,13 @@ BuildRequires: scl-utils-build
|
|||||||
%{?scl:%global __strip %%{_scl_root}/usr/bin/strip}
|
%{?scl:%global __strip %%{_scl_root}/usr/bin/strip}
|
||||||
%{?scl:%global __objdump %%{_scl_root}/usr/bin/objdump}
|
%{?scl:%global __objdump %%{_scl_root}/usr/bin/objdump}
|
||||||
%{?scl:%scl_package gcc}
|
%{?scl:%scl_package gcc}
|
||||||
%global DATE 20240801
|
%global DATE 20250110
|
||||||
%global gitrev 43d4666d3d94934f11857a2fb9122c575be81801
|
%global gitrev e525669e462dd777a1af9932fe9188937acdeb69
|
||||||
%global gcc_version 14.2.1
|
%global gcc_version 14.2.1
|
||||||
%global gcc_major 14
|
%global gcc_major 14
|
||||||
# Note, gcc_release must be integer, if you want to add suffixes to
|
# Note, gcc_release must be integer, if you want to add suffixes to
|
||||||
# %%{release}, append them after %%{gcc_release} on Release: line.
|
# %%{release}, append them after %%{gcc_release} on Release: line.
|
||||||
%global gcc_release 1
|
%global gcc_release 7
|
||||||
%global nvptx_tools_gitrev 87ce9dc5999e5fca2e1d3478a30888d9864c9804
|
%global nvptx_tools_gitrev 87ce9dc5999e5fca2e1d3478a30888d9864c9804
|
||||||
%global newlib_cygwin_gitrev d45261f62a15f8abd94a1031020b9a9f455e4eed
|
%global newlib_cygwin_gitrev d45261f62a15f8abd94a1031020b9a9f455e4eed
|
||||||
%global isl_version 0.24
|
%global isl_version 0.24
|
||||||
@ -333,6 +333,7 @@ Patch9: gcc14-Wno-format-security.patch
|
|||||||
Patch10: gcc14-rh1574936.patch
|
Patch10: gcc14-rh1574936.patch
|
||||||
Patch11: gcc14-d-shared-libphobos.patch
|
Patch11: gcc14-d-shared-libphobos.patch
|
||||||
Patch12: gcc14-pr101523.patch
|
Patch12: gcc14-pr101523.patch
|
||||||
|
Patch13: gcc14-pr118509.patch
|
||||||
|
|
||||||
Patch50: isl-rh2155127.patch
|
Patch50: isl-rh2155127.patch
|
||||||
|
|
||||||
@ -444,6 +445,8 @@ Summary: Fortran support for GCC %{gcc_major}
|
|||||||
Requires: %{?scl_prefix}gcc%{!?scl:13} = %{version}-%{release}
|
Requires: %{?scl_prefix}gcc%{!?scl:13} = %{version}-%{release}
|
||||||
Requires: libgfortran >= 8.1.1
|
Requires: libgfortran >= 8.1.1
|
||||||
Autoreq: true
|
Autoreq: true
|
||||||
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(preun): /sbin/install-info
|
||||||
|
|
||||||
%if %{build_libquadmath}
|
%if %{build_libquadmath}
|
||||||
%if 0%{!?scl:1}
|
%if 0%{!?scl:1}
|
||||||
@ -680,6 +683,7 @@ so that there cannot be any synchronization problems.
|
|||||||
%patch -P10 -p0 -b .rh1574936~
|
%patch -P10 -p0 -b .rh1574936~
|
||||||
%patch -P11 -p0 -b .d-shared-libphobos~
|
%patch -P11 -p0 -b .d-shared-libphobos~
|
||||||
%patch -P12 -p1 -b .pr101523~
|
%patch -P12 -p1 -b .pr101523~
|
||||||
|
%patch -P13 -p0 -b .pr118509~
|
||||||
|
|
||||||
%patch -P100 -p1 -b .fortran-fdec-duplicates~
|
%patch -P100 -p1 -b .fortran-fdec-duplicates~
|
||||||
|
|
||||||
@ -738,10 +742,8 @@ echo 'TM_H += $(srcdir)/config/rs6000/rs6000-modes.h' >> gcc/config/rs6000/t-rs6
|
|||||||
|
|
||||||
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
|
LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi
|
||||||
|
|
||||||
sed -i -e '/ldp_fusion/s/Init(1)/Init(0)/' gcc/config/aarch64/aarch64.opt
|
|
||||||
|
|
||||||
sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt
|
sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt
|
||||||
sed -i -e 's/context->report_bug = false;/context->report_bug = true;/' gcc/diagnostic.cc
|
sed -i -e 's/m_report_bug = false;/m_report_bug = true;/' gcc/diagnostic.cc
|
||||||
|
|
||||||
%ifarch ppc
|
%ifarch ppc
|
||||||
if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then
|
if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then
|
||||||
@ -776,6 +778,10 @@ rm -rf libgomp/testsuite/libgomp.fortran/pr90030.f90
|
|||||||
rm -f libstdc++-v3/testsuite/30_threads/future/members/poll.cc
|
rm -f libstdc++-v3/testsuite/30_threads/future/members/poll.cc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Disable jQuery use (CVE-2020-11023).
|
||||||
|
sed -i '/^SEARCHENGINE/s/YES/NO/' libstdc++-v3/doc/doxygen/user.cfg.in
|
||||||
|
sed -i '/^GENERATE_TREEVIEW/s/YES/NO/' libstdc++-v3/doc/doxygen/user.cfg.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# Undo the broken autoconf change in recent Fedora versions
|
# Undo the broken autoconf change in recent Fedora versions
|
||||||
@ -1312,6 +1318,9 @@ cp -r -p $libstdcxx_doc_builddir/html ../rpm.doc/libstdc++-v3/html/api
|
|||||||
mkdir -p %{buildroot}%{_mandir}/man3
|
mkdir -p %{buildroot}%{_mandir}/man3
|
||||||
cp -r -p $libstdcxx_doc_builddir/man/man3/* %{buildroot}%{_mandir}/man3/
|
cp -r -p $libstdcxx_doc_builddir/man/man3/* %{buildroot}%{_mandir}/man3/
|
||||||
find ../rpm.doc/libstdc++-v3 -name \*~ | xargs rm
|
find ../rpm.doc/libstdc++-v3 -name \*~ | xargs rm
|
||||||
|
# We don't want to ship jQuery in the libstdc++-docs package.
|
||||||
|
find ../rpm.doc/libstdc++-v3 -name jquery.js | xargs rm
|
||||||
|
find ../rpm.doc/libstdc++-v3/html -name '*.html' | xargs sed -i '/<script type="text.javascript" src="jquery.js"><.script>/d'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch sparcv9 sparc64
|
%ifarch sparcv9 sparc64
|
||||||
@ -2787,6 +2796,59 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 7 2025 Marek Polacek <polacek@redhat.com> 14.2.1-7.1
|
||||||
|
- disable jQuery use, don't ship jquery.js (CVE-2020-11023, RHEL-78284)
|
||||||
|
|
||||||
|
* Wed Jan 22 2025 Marek Polacek <polacek@redhat.com> 14.2.1-7
|
||||||
|
- update from releases/gcc-14 branch (RHEL-74062)
|
||||||
|
- PRs ada/113036, ada/113868, ada/115917, ada/117328, ada/117996,
|
||||||
|
analyzer/115724, c/117641, c/117745, c/117802, c++/100358, c++/101463,
|
||||||
|
c++/102594, c++/109859, c++/113108, c++/114854, c++/115008,
|
||||||
|
c++/115430, c++/115657, c++/116108, c++/116634, c++/117158,
|
||||||
|
c++/117317, c++/117614, c++/117615, c++/117792, c++/117825,
|
||||||
|
c++/117845, c++/117880, c++/117925, c++/117985, c++/118060,
|
||||||
|
c++/118069, driver/117942, fortran/84674, fortran/84869,
|
||||||
|
fortran/105054, fortran/109105, fortran/109345, fortran/115070,
|
||||||
|
fortran/115348, fortran/116388, fortran/117730, fortran/117763,
|
||||||
|
fortran/117774, fortran/117791, fortran/117797, fortran/117819,
|
||||||
|
fortran/117820, fortran/117843, fortran/117897, libgomp/117851,
|
||||||
|
libstdc++/89624, libstdc++/106212, libstdc++/106676, libstdc++/108236,
|
||||||
|
libstdc++/109517, libstdc++/109976, libstdc++/112349,
|
||||||
|
libstdc++/112641, libstdc++/117520, libstdc++/117560,
|
||||||
|
libstdc++/117822, libstdc++/117962, libstdc++/117966,
|
||||||
|
libstdc++/118035, libstdc++/118093, middle-end/43374,
|
||||||
|
middle-end/102674, middle-end/116997, middle-end/117433,
|
||||||
|
middle-end/117458, middle-end/117459, middle-end/117847,
|
||||||
|
middle-end/118024, modula2/114529, modula2/115003, modula2/115057,
|
||||||
|
modula2/115164, modula2/115276, modula2/115328, modula2/115536,
|
||||||
|
modula2/115540, modula2/115804, modula2/115823, modula2/115957,
|
||||||
|
modula2/116048, modula2/116181, modula2/116378, modula2/116557,
|
||||||
|
modula2/116918, modula2/117120, modula2/117371, modula2/117555,
|
||||||
|
modula2/117660, modula2/117904, modula2/117948, other/116603,
|
||||||
|
preprocessor/117118, rtl-optimization/113994, rtl-optimization/116799,
|
||||||
|
rtl-optimization/117095, sanitizer/117960, target/64242,
|
||||||
|
target/114801, target/114942, target/116371, target/116629,
|
||||||
|
target/116999, target/117045, target/117105, target/117304,
|
||||||
|
target/117357, target/117408, target/117418, target/117443,
|
||||||
|
target/117500, target/117525, target/117562, target/117564,
|
||||||
|
target/117642, target/117659, target/117675, target/117744,
|
||||||
|
target/117926, testsuite/103298, testsuite/109360,
|
||||||
|
tree-optimization/94589, tree-optimization/112376,
|
||||||
|
tree-optimization/116463, tree-optimization/117142,
|
||||||
|
tree-optimization/117254, tree-optimization/117307,
|
||||||
|
tree-optimization/117333, tree-optimization/117398,
|
||||||
|
tree-optimization/117417, tree-optimization/117439,
|
||||||
|
tree-optimization/117574, tree-optimization/117594,
|
||||||
|
tree-optimization/117612, tree-optimization/117912
|
||||||
|
- fix up -freport-bug default (#2330362, RHEL-73476)
|
||||||
|
- revert -mearly-ldp-fusion and -mlate-ldp-fusion default to enabled on
|
||||||
|
aarch64 to match upstream (RHEL-74058)
|
||||||
|
- consider TARGET_EXPR invariant like SAVE_EXPR (PR c++/118509)
|
||||||
|
- have gfortran require install-info (RHEL-76087)
|
||||||
|
|
||||||
|
* Thu Aug 22 2024 Marek Polacek <polacek@redhat.com> 14.2.1-1.2
|
||||||
|
- bump NVR (RHEL-53492)
|
||||||
|
|
||||||
* Tue Aug 13 2024 Marek Polacek <polacek@redhat.com> 14.2.1-1.1
|
* Tue Aug 13 2024 Marek Polacek <polacek@redhat.com> 14.2.1-1.1
|
||||||
- do not hide _ZSt21ios_base_library_initv
|
- do not hide _ZSt21ios_base_library_initv
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user