From 48d81dbf3df3b1df96a86252d15ab22d771c7d1d Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 3 Dec 2024 21:37:50 +0100 Subject: [PATCH] - merged 14.2.0 from PLD --- branch.sh | 4 ++-- gcc-nodebug.patch | 8 +++---- gcc.spec | 57 +++++++++++++++++++++++++++-------------------- 3 files changed, 39 insertions(+), 30 deletions(-) diff --git a/branch.sh b/branch.sh index 4d43523..60e1040 100755 --- a/branch.sh +++ b/branch.sh @@ -2,8 +2,8 @@ set -e url=git://gcc.gnu.org/git/gcc.git package=gcc -tag=releases/gcc-13.3.0 -branch=releases/gcc-13 +tag=releases/gcc-14.2.0 +branch=releases/gcc-14 out=$package-branch.diff repo=$package.git diff --git a/gcc-nodebug.patch b/gcc-nodebug.patch index 7cca636..7f9c3bd 100644 --- a/gcc-nodebug.patch +++ b/gcc-nodebug.patch @@ -127,8 +127,8 @@ diff -urNp -x '*.orig' gcc-10.2.0.org/libstdc++-v3/include/Makefile.am gcc-10.2. - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@ + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch3_source} -o $@ - # The real deal. - install-data-local: install-headers + # AutoGen . + .PHONY: update-version diff -urNp -x '*.orig' gcc-10.2.0.org/libstdc++-v3/include/Makefile.in gcc-10.2.0/libstdc++-v3/include/Makefile.in --- gcc-10.2.0.org/libstdc++-v3/include/Makefile.in 2021-03-21 01:22:56.854335808 +0100 +++ gcc-10.2.0/libstdc++-v3/include/Makefile.in 2021-03-21 01:23:21.861335808 +0100 @@ -157,5 +157,5 @@ diff -urNp -x '*.orig' gcc-10.2.0.org/libstdc++-v3/include/Makefile.in gcc-10.2. - $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g ${pch3_source} -o $@ + $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 ${pch3_source} -o $@ - # The real deal. - install-data-local: install-headers + # AutoGen . + .PHONY: update-version diff --git a/gcc.spec b/gcc.spec index 16324d3..7c0c948 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,4 +1,4 @@ -# TODO: finish D (needs bootstrap from non-PLD gdc binaries) +# TODO: finish D (needs bootstrap from non-TLD gdc binaries) # # NOTE # - when adding new subpackages with external libraries (like libffi) @@ -100,8 +100,8 @@ # Stable is: any major_ver and minor_ver >= 1.0 # For TLD we usually use gcc when minor_ver >= 2.0 (first bugfix release or later) -%define major_ver 13 -%define minor_ver 3.0 +%define major_ver 14 +%define minor_ver 2.0 Summary: GNU Compiler Collection: the C compiler and shared files Summary(es.UTF-8): Colección de compiladores GNU: el compilador C y ficheros compartidos @@ -114,14 +114,14 @@ Epoch: 6 License: GPL v3+ Group: Development/Languages Source0: https://gcc.gnu.org/pub/gcc/releases/%{name}-%{version}/%{name}-%{version}.tar.xz -# Source0-md5: 726726a73eaaacad4259fe5d7e978020 +# Source0-md5: 2268420ba02dc01821960e274711bde0 Source1: %{name}-optimize-la.pl # check libffi version with libffi/configure.ac Source3: libffi.pc.in Source4: branch.sh # use branch.sh to update gcc-branch.diff Patch100: %{name}-branch.diff -# Patch100-md5: 604492e669041d70af2e274c35ea1b7b +# Patch100-md5: 17e646e88e3d285211be1c3bdfeb42e9 Patch0: %{name}-info.patch Patch1: all-library-paths.patch Patch2: %{name}-nodebug.patch @@ -3385,6 +3385,7 @@ rm -rf $RPM_BUILD_ROOT %{gcclibdir}/include/stdarg.h %{gcclibdir}/include/stdatomic.h %{gcclibdir}/include/stdbool.h +%{gcclibdir}/include/stdckdint.h %{gcclibdir}/include/stddef.h %{gcclibdir}/include/stdfix.h %{gcclibdir}/include/stdint.h @@ -3400,13 +3401,14 @@ rm -rf $RPM_BUILD_ROOT %{gcclibdir}/include/amxcomplexintrin.h %{gcclibdir}/include/amxfp16intrin.h %{gcclibdir}/include/amxint8intrin.h -%{gcclibdir}/include/amxtileintrin.h +%{gcclibdir}/include/amxtileintrin.h %{gcclibdir}/include/avx2intrin.h %{gcclibdir}/include/avx5124fmapsintrin.h %{gcclibdir}/include/avx5124vnniwintrin.h %{gcclibdir}/include/avx512bf16intrin.h %{gcclibdir}/include/avx512bf16vlintrin.h %{gcclibdir}/include/avx512bitalgintrin.h +%{gcclibdir}/include/avx512bitalgvlintrin.h %{gcclibdir}/include/avx512bwintrin.h %{gcclibdir}/include/avx512cdintrin.h %{gcclibdir}/include/avx512dqintrin.h @@ -3433,6 +3435,7 @@ rm -rf $RPM_BUILD_ROOT %{gcclibdir}/include/avxifmaintrin.h %{gcclibdir}/include/avxintrin.h %{gcclibdir}/include/avxneconvertintrin.h +%{gcclibdir}/include/avxvnniint16intrin.h %{gcclibdir}/include/avxvnniint8intrin.h %{gcclibdir}/include/avxvnniintrin.h %{gcclibdir}/include/bmi2intrin.h @@ -3478,12 +3481,16 @@ rm -rf $RPM_BUILD_ROOT %{gcclibdir}/include/rtmintrin.h %{gcclibdir}/include/serializeintrin.h %{gcclibdir}/include/sgxintrin.h +%{gcclibdir}/include/sha512intrin.h %{gcclibdir}/include/shaintrin.h +%{gcclibdir}/include/sm3intrin.h +%{gcclibdir}/include/sm4intrin.h %{gcclibdir}/include/smmintrin.h %{gcclibdir}/include/tbmintrin.h %{gcclibdir}/include/tmmintrin.h %{gcclibdir}/include/tsxldtrkintrin.h %{gcclibdir}/include/uintrintrin.h +%{gcclibdir}/include/usermsrintrin.h %{gcclibdir}/include/vaesintrin.h %{gcclibdir}/include/vpclmulqdqintrin.h %{gcclibdir}/include/waitpkgintrin.h @@ -3516,6 +3523,8 @@ rm -rf $RPM_BUILD_ROOT %{gcclibdir}/include/arm_bf16.h %{gcclibdir}/include/arm_fp16.h %{gcclibdir}/include/arm_neon.h +%{gcclibdir}/include/arm_neon_sve_bridge.h +%{gcclibdir}/include/arm_sme.h %{gcclibdir}/include/arm_sve.h %endif %ifarch ia64 @@ -4147,15 +4156,15 @@ rm -rf $RPM_BUILD_ROOT %files -n libgm2 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libm2cor.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libm2cor.so.18 +%attr(755,root,root) %ghost %{_libdir}/libm2cor.so.19 %attr(755,root,root) %{_libdir}/libm2iso.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libm2iso.so.18 +%attr(755,root,root) %ghost %{_libdir}/libm2iso.so.19 %attr(755,root,root) %{_libdir}/libm2log.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libm2log.so.18 +%attr(755,root,root) %ghost %{_libdir}/libm2log.so.19 %attr(755,root,root) %{_libdir}/libm2min.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libm2min.so.18 +%attr(755,root,root) %ghost %{_libdir}/libm2min.so.19 %attr(755,root,root) %{_libdir}/libm2pim.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libm2pim.so.18 +%attr(755,root,root) %ghost %{_libdir}/libm2pim.so.19 %files -n libgm2-static %defattr(644,root,root,755) @@ -4169,15 +4178,15 @@ rm -rf $RPM_BUILD_ROOT %files -n libgm2-multilib-32 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir32}/libm2cor.so.*.*.* -%attr(755,root,root) %ghost %{_libdir32}/libm2cor.so.18 +%attr(755,root,root) %ghost %{_libdir32}/libm2cor.so.19 %attr(755,root,root) %{_libdir32}/libm2iso.so.*.*.* -%attr(755,root,root) %ghost %{_libdir32}/libm2iso.so.18 +%attr(755,root,root) %ghost %{_libdir32}/libm2iso.so.19 %attr(755,root,root) %{_libdir32}/libm2log.so.*.*.* -%attr(755,root,root) %ghost %{_libdir32}/libm2log.so.18 +%attr(755,root,root) %ghost %{_libdir32}/libm2log.so.19 %attr(755,root,root) %{_libdir32}/libm2min.so.*.*.* -%attr(755,root,root) %ghost %{_libdir32}/libm2min.so.18 +%attr(755,root,root) %ghost %{_libdir32}/libm2min.so.19 %attr(755,root,root) %{_libdir32}/libm2pim.so.*.*.* -%attr(755,root,root) %ghost %{_libdir32}/libm2pim.so.18 +%attr(755,root,root) %ghost %{_libdir32}/libm2pim.so.19 %files -n libgm2-multilib-32-static %defattr(644,root,root,755) @@ -4192,15 +4201,15 @@ rm -rf $RPM_BUILD_ROOT %files -n libgm2-multilib-%{multilib2} %defattr(644,root,root,755) %attr(755,root,root) %{_libdirm2}/libm2cor.so.*.*.* -%attr(755,root,root) %ghost %{_libdirm2}/libm2cor.so.18 +%attr(755,root,root) %ghost %{_libdirm2}/libm2cor.so.19 %attr(755,root,root) %{_libdirm2}/libm2iso.so.*.*.* -%attr(755,root,root) %ghost %{_libdirm2}/libm2iso.so.18 +%attr(755,root,root) %ghost %{_libdirm2}/libm2iso.so.19 %attr(755,root,root) %{_libdirm2}/libm2log.so.*.*.* -%attr(755,root,root) %ghost %{_libdirm2}/libm2log.so.18 +%attr(755,root,root) %ghost %{_libdirm2}/libm2log.so.19 %attr(755,root,root) %{_libdirm2}/libm2min.so.*.*.* -%attr(755,root,root) %ghost %{_libdirm2}/libm2min.so.18 +%attr(755,root,root) %ghost %{_libdirm2}/libm2min.so.19 %attr(755,root,root) %{_libdirm2}/libm2pim.so.*.*.* -%attr(755,root,root) %ghost %{_libdirm2}/libm2pim.so.18 +%attr(755,root,root) %ghost %{_libdirm2}/libm2pim.so.19 %files -n libgm2-multilib-%{multilib2}-static %defattr(644,root,root,755) @@ -4312,7 +4321,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc libgo/{LICENSE,PATENTS,README} %attr(755,root,root) %{_libdir}/libgo.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libgo.so.22 +%attr(755,root,root) %ghost %{_libdir}/libgo.so.23 %files -n libgo-devel %defattr(644,root,root,755) @@ -4329,7 +4338,7 @@ rm -rf $RPM_BUILD_ROOT %files -n libgo-multilib-32 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir32}/libgo.so.*.*.* -%attr(755,root,root) %ghost %{_libdir32}/libgo.so.22 +%attr(755,root,root) %ghost %{_libdir32}/libgo.so.23 %files -n libgo-multilib-32-devel %defattr(644,root,root,755) @@ -4347,7 +4356,7 @@ rm -rf $RPM_BUILD_ROOT %files -n libgo-multilib-%{multilib2} %defattr(644,root,root,755) %attr(755,root,root) %{_libdirm2}/libgo.so.*.*.* -%attr(755,root,root) %ghost %{_libdirm2}/libgo.so.22 +%attr(755,root,root) %ghost %{_libdirm2}/libgo.so.23 %files -n libgo-multilib-%{multilib2}-devel %defattr(644,root,root,755) -- 2.47.1