Merge remote-tracking branch 'up/main' into main-riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-02-18 12:54:55 +02:00
commit 5e9206f64c
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
3 changed files with 108 additions and 37 deletions

3
.gitignore vendored
View File

@ -6,3 +6,6 @@
/newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz /newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz
/gcc-14.0.1-20240125.tar.xz /gcc-14.0.1-20240125.tar.xz
/gcc-14.0.1-20240127.tar.xz /gcc-14.0.1-20240127.tar.xz
/gcc-14.0.1-20240207.tar.xz
/gcc-14.0.1-20240208.tar.xz
/gcc-14.0.1-20240217.tar.xz

140
gcc.spec
View File

@ -1,5 +1,5 @@
%global DATE 20240127 %global DATE 20240217
%global gitrev 97a1e216faf8ad55b025f07bed4940c016a982c3 %global gitrev 09808932c51a9cccff3f40f23da744eda6ac28e1
%global gcc_version 14.0.1 %global gcc_version 14.0.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
@ -141,7 +141,7 @@
Summary: Various compilers (C, C++, Objective-C, ...) Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc Name: gcc
Version: %{gcc_version} Version: %{gcc_version}
Release: %{gcc_release}.4.2.riscv64%{?dist} Release: %{gcc_release}.7.0.riscv64%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception. # GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@ -321,7 +321,7 @@ Patch100: gcc14-fortran-fdec-duplicates.patch
%if %{build_go} %if %{build_go}
# Avoid stripping these libraries and binaries. # Avoid stripping these libraries and binaries.
%global __os_install_post \ %global __os_install_post \
chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.22.* \ chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.23.* \
chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \ chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \
chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \ chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo \ chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo \
@ -329,7 +329,7 @@ chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/test2json \ chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/test2json \
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/vet \ chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/vet \
%__os_install_post \ %__os_install_post \
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.22.* \ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.23.* \
chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \ chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \
chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \ chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \
chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo \ chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo \
@ -1692,14 +1692,14 @@ ln -sf ../../../libstdc++.so.6.*[0-9] libstdc++.so
ln -sf ../../../libgfortran.so.5.* libgfortran.so ln -sf ../../../libgfortran.so.5.* libgfortran.so
ln -sf ../../../libgomp.so.1.* libgomp.so ln -sf ../../../libgomp.so.1.* libgomp.so
%if %{build_go} %if %{build_go}
ln -sf ../../../libgo.so.22.* libgo.so ln -sf ../../../libgo.so.23.* libgo.so
%endif %endif
%if %{build_libquadmath} %if %{build_libquadmath}
ln -sf ../../../libquadmath.so.0.* libquadmath.so ln -sf ../../../libquadmath.so.0.* libquadmath.so
%endif %endif
%if %{build_d} %if %{build_d}
ln -sf ../../../libgdruntime.so.4.* libgdruntime.so ln -sf ../../../libgdruntime.so.5.* libgdruntime.so
ln -sf ../../../libgphobos.so.4.* libgphobos.so ln -sf ../../../libgphobos.so.5.* libgphobos.so
%endif %endif
%if %{build_m2} %if %{build_m2}
for i in cor iso log min pim; do for i in cor iso log min pim; do
@ -1727,14 +1727,14 @@ ln -sf ../../../../%{_lib}/libstdc++.so.6.*[0-9] libstdc++.so
ln -sf ../../../../%{_lib}/libgfortran.so.5.* libgfortran.so ln -sf ../../../../%{_lib}/libgfortran.so.5.* libgfortran.so
ln -sf ../../../../%{_lib}/libgomp.so.1.* libgomp.so ln -sf ../../../../%{_lib}/libgomp.so.1.* libgomp.so
%if %{build_go} %if %{build_go}
ln -sf ../../../../%{_lib}/libgo.so.22.* libgo.so ln -sf ../../../../%{_lib}/libgo.so.23.* libgo.so
%endif %endif
%if %{build_libquadmath} %if %{build_libquadmath}
ln -sf ../../../../%{_lib}/libquadmath.so.0.* libquadmath.so ln -sf ../../../../%{_lib}/libquadmath.so.0.* libquadmath.so
%endif %endif
%if %{build_d} %if %{build_d}
ln -sf ../../../../%{_lib}/libgdruntime.so.4.* libgdruntime.so ln -sf ../../../../%{_lib}/libgdruntime.so.5.* libgdruntime.so
ln -sf ../../../../%{_lib}/libgphobos.so.4.* libgphobos.so ln -sf ../../../../%{_lib}/libgphobos.so.5.* libgphobos.so
%endif %endif
%if %{build_m2} %if %{build_m2}
for i in cor iso log min pim; do for i in cor iso log min pim; do
@ -1869,8 +1869,8 @@ ln -sf ../`echo ../../../../lib/libgfortran.so.5.* | sed s~/lib/~/lib64/~` 64/li
ln -sf ../`echo ../../../../lib/libgomp.so.1.* | sed s~/lib/~/lib64/~` 64/libgomp.so ln -sf ../`echo ../../../../lib/libgomp.so.1.* | sed s~/lib/~/lib64/~` 64/libgomp.so
%if %{build_go} %if %{build_go}
rm -f libgo.so rm -f libgo.so
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgo.so.22.* | sed 's,^.*libg,libg,'`' )' > libgo.so echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgo.so.23.* | sed 's,^.*libg,libg,'`' )' > libgo.so
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgo.so.22.* | sed 's,^.*libg,libg,'`' )' > 64/libgo.so echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgo.so.23.* | sed 's,^.*libg,libg,'`' )' > 64/libgo.so
%endif %endif
%if %{build_libquadmath} %if %{build_libquadmath}
rm -f libquadmath.so rm -f libquadmath.so
@ -1879,10 +1879,10 @@ echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libquadmath.so.0.* | sed '
%endif %endif
%if %{build_d} %if %{build_d}
rm -f libgdruntime.so libgphobos.so rm -f libgdruntime.so libgphobos.so
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgdruntime.so.4.* | sed 's,^.*libg,libg,'`' )' > libgdruntime.so echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgdruntime.so.5.* | sed 's,^.*libg,libg,'`' )' > libgdruntime.so
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgdruntime.so.4.* | sed 's,^.*libg,libg,'`' )' > 64/libgdruntime.so echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgdruntime.so.5.* | sed 's,^.*libg,libg,'`' )' > 64/libgdruntime.so
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgphobos.so.4.* | sed 's,^.*libg,libg,'`' )' > libgphobos.so echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgphobos.so.5.* | sed 's,^.*libg,libg,'`' )' > libgphobos.so
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgphobos.so.4.* | sed 's,^.*libg,libg,'`' )' > 64/libgphobos.so echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgphobos.so.5.* | sed 's,^.*libg,libg,'`' )' > 64/libgphobos.so
%endif %endif
%if %{build_m2} %if %{build_m2}
for i in cor iso log min pim; do for i in cor iso log min pim; do
@ -1986,8 +1986,8 @@ ln -sf ../`echo ../../../../lib64/libgfortran.so.5.* | sed s~/../lib64/~/~` 32/l
ln -sf ../`echo ../../../../lib64/libgomp.so.1.* | sed s~/../lib64/~/~` 32/libgomp.so ln -sf ../`echo ../../../../lib64/libgomp.so.1.* | sed s~/../lib64/~/~` 32/libgomp.so
%if %{build_go} %if %{build_go}
rm -f libgo.so rm -f libgo.so
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgo.so.22.* | sed 's,^.*libg,libg,'`' )' > libgo.so echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgo.so.23.* | sed 's,^.*libg,libg,'`' )' > libgo.so
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgo.so.22.* | sed 's,^.*libg,libg,'`' )' > 32/libgo.so echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgo.so.23.* | sed 's,^.*libg,libg,'`' )' > 32/libgo.so
%endif %endif
%if %{build_libquadmath} %if %{build_libquadmath}
rm -f libquadmath.so rm -f libquadmath.so
@ -1996,10 +1996,10 @@ echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libquadmath.so.0.* | sed '
%endif %endif
%if %{build_d} %if %{build_d}
rm -f libgdruntime.so libgphobos.so rm -f libgdruntime.so libgphobos.so
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgdruntime.so.4.* | sed 's,^.*libg,libg,'`' )' > libgdruntime.so echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgdruntime.so.5.* | sed 's,^.*libg,libg,'`' )' > libgdruntime.so
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgdruntime.so.4.* | sed 's,^.*libg,libg,'`' )' > 32/libgdruntime.so echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgdruntime.so.5.* | sed 's,^.*libg,libg,'`' )' > 32/libgdruntime.so
echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgphobos.so.4.* | sed 's,^.*libg,libg,'`' )' > libgphobos.so echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgphobos.so.5.* | sed 's,^.*libg,libg,'`' )' > libgphobos.so
echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgphobos.so.4.* | sed 's,^.*libg,libg,'`' )' > 32/libgphobos.so echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgphobos.so.5.* | sed 's,^.*libg,libg,'`' )' > 32/libgphobos.so
%endif %endif
%if %{build_m2} %if %{build_m2}
for i in cor iso log min pim; do for i in cor iso log min pim; do
@ -2176,8 +2176,8 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/libcc1.so.0.*
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libquadmath.so.0.* chmod 755 %{buildroot}%{_prefix}/%{_lib}/libquadmath.so.0.*
%endif %endif
%if %{build_d} %if %{build_d}
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgdruntime.so.4.* chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgdruntime.so.5.*
chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgphobos.so.4.* chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgphobos.so.5.*
%endif %endif
%if %{build_m2} %if %{build_m2}
for i in cor iso log min pim; do for i in cor iso log min pim; do
@ -2207,7 +2207,7 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.*
%endif %endif
%if %{build_go} %if %{build_go}
# Avoid stripping these libraries and binaries. # Avoid stripping these libraries and binaries.
chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.22.* chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.23.*
chmod 644 %{buildroot}%{_prefix}/bin/go.gcc chmod 644 %{buildroot}%{_prefix}/bin/go.gcc
chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo
@ -3072,8 +3072,8 @@ end
%doc rpm.doc/gdc/* %doc rpm.doc/gdc/*
%files -n libgphobos %files -n libgphobos
%{_prefix}/%{_lib}/libgdruntime.so.4* %{_prefix}/%{_lib}/libgdruntime.so.5*
%{_prefix}/%{_lib}/libgphobos.so.4* %{_prefix}/%{_lib}/libgphobos.so.5*
%doc rpm.doc/libphobos/* %doc rpm.doc/libphobos/*
%files -n libgphobos-static %files -n libgphobos-static
@ -3465,7 +3465,7 @@ end
%doc rpm.doc/go/* %doc rpm.doc/go/*
%files -n libgo %files -n libgo
%attr(755,root,root) %{_prefix}/%{_lib}/libgo.so.22* %attr(755,root,root) %{_prefix}/%{_lib}/libgo.so.23*
%doc rpm.doc/libgo/* %doc rpm.doc/libgo/*
%files -n libgo-devel %files -n libgo-devel
@ -3608,15 +3608,83 @@ end
%endif %endif
%changelog %changelog
* Fri Feb 02 2024 David Abdurachmanov <davidlt@rivosinc.com> 14.0.1-0.4.2.riscv64 * Sun Feb 18 2024 David Abdurachmanov <davidlt@rivosinc.com> 14.0.1-0.7.0.riscv64
- Rebuild with bootstrap-lto configuratio enabled
* Wed Jan 31 2024 David Abdurachmanov <davidlt@rivosinc.com> 14.0.1-0.4.1.riscv64
- Bump
* Sun Jan 28 2024 David Abdurachmanov <davidlt@rivosinc.com> 14.0.1-0.4.0.riscv64
- Adjust for riscv64 - Adjust for riscv64
* Sat Feb 17 2024 Jakub Jelinek <jakub@redhat.com> 14.0.1-0.7
- update from trunk
- PRs analyzer/111266, c++/97202, c++/97990, c++/98388, c++/99573,
c++/107126, c++/111682, c++/112436, c++/112580, c++/113158,
c++/113332, c++/113545, c++/113612, c++/113649, c++/113658,
c++/113674, c++/113706, c++/113708, c++/113760, c++/113789,
c++/113834, c++/113853, c++/113908, c++/113929, d/104739, d/113125,
d/113667, d/113758, d/113772, fortran/99210, fortran/105847,
fortran/113799, fortran/113866, fortran/113883, fortran/113911,
ipa/98237, libfortran/107068, libgcc/113850, libgomp/113843,
libstdc++/87744, libstdc++/99117, libstdc++/100147,
libstdc++/113294, libstdc++/113806, libstdc++/113807,
libstdc++/113811, libstdc++/113931, libstdc++/113961,
middle-end/107385, middle-end/110754, middle-end/113415,
middle-end/113508, middle-end/113576, middle-end/113904,
middle-end/113921, modula2/113848, modula2/113888, other/113336,
sanitizer/113785, target/106543, target/109349, target/113742,
target/113780, target/113855, target/113871, target/113876,
target/113909, target/113927, testsuite/113278, testsuite/113448,
testsuite/113861, testsuite/113899, tree-optimization/108355,
tree-optimization/111054, tree-optimization/111156,
tree-optimization/113567, tree-optimization/113734,
tree-optimization/113774, tree-optimization/113783,
tree-optimization/113818, tree-optimization/113831,
tree-optimization/113849, tree-optimization/113863,
tree-optimization/113895, tree-optimization/113896,
tree-optimization/113898, tree-optimization/113902,
tree-optimization/113910
- fix bugs in Fortran allocatable character component assignments
(#2261826, PR fortran/113503)
* Thu Feb 8 2024 Jakub Jelinek <jakub@redhat.com> 14.0.1-0.6
- update from trunk
- PRs c++/113814, c/113776, target/113711, target/113733, target/113824,
testsuite/113710, tree-optimization/113735, tree-optimization/113808
* Wed Feb 7 2024 Jakub Jelinek <jakub@redhat.com> 14.0.1-0.5
- update from trunk
- PRs analyzer/113253, analyzer/113509, analyzer/113654, c++/94231,
c++/107291, c++/107594, c++/109359, c++/110006, c++/110084,
c++/110358, c++/111286, c++/112437, c++/112439, c++/112737,
c++/112769, c++/112846, c++/113451, c++/113531, c++/113544,
c++/113638, c++/113640, c++/113644, c++/113788, c/111059, c/111911,
c/112571, c/113438, c/113740, debug/103047, debug/113394,
debug/113637, fortran/104908, libfortran/111022, libgcc/113337,
libgcc/113402, libgcc/113403, libgcc/113604, libstdc++/109203,
libstdc++/113309, libstdc++/113335, libstdc++/90276,
middle-end/101195, middle-end/110176, middle-end/112917,
middle-end/113100, middle-end/113607, middle-end/113622,
middle-end/113699, middle-end/113705, middle-end/113722,
modula2/111627, modula2/112506, modula2/113730,
rtl-optimization/113656, sanitizer/110676, sanitizer/112644,
target/38534, target/59778, target/103503, target/105576,
target/108933, target/111677, target/112577, target/112861,
target/112862, target/112863, target/112864, target/112950,
target/113059, target/113249, target/113255, target/113312,
target/113560, target/113615, target/113616, target/113623,
target/113636, target/113655, target/113657, target/113689,
target/113690, target/113697, target/113700, target/113701,
target/113763, target/113766, testsuite/113502,
tree-optimization/110603, tree-optimization/111268,
tree-optimization/111444, tree-optimization/113467,
tree-optimization/113568, tree-optimization/113588,
tree-optimization/113603, tree-optimization/113614,
tree-optimization/113630, tree-optimization/113639,
tree-optimization/113659, tree-optimization/113670,
tree-optimization/113691, tree-optimization/113692,
tree-optimization/113693, tree-optimization/113707,
tree-optimization/113731, tree-optimization/113736,
tree-optimization/113737, tree-optimization/113750,
tree-optimization/113753, tree-optimization/113756,
tree-optimization/113759, tree-optimization/113796
- fix PCH writing assertion (#2259912)
* Sat Jan 27 2024 Jakub Jelinek <jakub@redhat.com> 14.0.1-0.4 * Sat Jan 27 2024 Jakub Jelinek <jakub@redhat.com> 14.0.1-0.4
- update from trunk - update from trunk
- PRs analyzer/112969, c++/109227, c++/112899, c++/113580, c++/113598, - PRs analyzer/112969, c++/109227, c++/112899, c++/113580, c++/113598,

View File

@ -1,4 +1,4 @@
SHA512 (gcc-14.0.1-20240127.tar.xz) = 3a45100039c6b2e0c7f0731dfa942c52badae86895c6ed9d76283dabb365efa00e9808aef9521754359df124c942fcbc700de09b6fdb6a9e7359b43cbbc722d8 SHA512 (gcc-14.0.1-20240217.tar.xz) = 6e0021220a99be020dfbef034fcac9dbf19aa57279f2ee0f31f38a59c57a30755099422ae798845e0194d792e24d5fb6c7c339471fa1f066b8eed46c974d3c0d
SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95 SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95
SHA512 (newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz) = 31bfc19429797236e268e22b752c5abeabb9c0f39b1058634af8dab329b4f028fc72a35888193c9575f6cee5cf2c069669d79fcb4d4e3a4318f57413452f707d SHA512 (newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz) = 31bfc19429797236e268e22b752c5abeabb9c0f39b1058634af8dab329b4f028fc72a35888193c9575f6cee5cf2c069669d79fcb4d4e3a4318f57413452f707d
SHA512 (nvptx-tools-c5ad8ada3e86d96b10a9d352b7a764f801478ba6.tar.xz) = 8a5c282852c995fabf75a8d6331db807a1acd935fd82022e00801b798fb850392d03e29cfa4aa7e3d5cfd8f48510e5e25b79a647fbec79c8566792584a0c1c49 SHA512 (nvptx-tools-c5ad8ada3e86d96b10a9d352b7a764f801478ba6.tar.xz) = 8a5c282852c995fabf75a8d6331db807a1acd935fd82022e00801b798fb850392d03e29cfa4aa7e3d5cfd8f48510e5e25b79a647fbec79c8566792584a0c1c49