diff --git a/.gitignore b/.gitignore index d12a258..641caa7 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ /gcc-11.1.1-20210617.tar.xz /gcc-11.1.1-20210623.tar.xz /gcc-11.1.1-20210726.tar.xz +/gcc-11.2.1-20210728.tar.xz diff --git a/gcc.spec b/gcc.spec index 14e576e..e465466 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20210726 -%global gitrev 0b934a97129b060f95533a6b6ddf87141195728a -%global gcc_version 11.1.1 +%global DATE 20210728 +%global gitrev 134ab8155c937122663513b76afa8e64ad61fe99 +%global gcc_version 11.2.1 %global gcc_major 11 # 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 5f6f343a302d620b0868edab376c00b15741e39e %global newlib_cygwin_gitrev 50e2a63b04bdd018484605fbb954fd1bd5147fa0 %global _unpackaged_files_terminate_build 0 @@ -1078,8 +1078,10 @@ CONFIGURE_OPTS="\ %ifnarch sparc sparcv9 ppc --build=%{gcc_target_platform} \ %endif +%if 0%{?fedora} >= 35 %ifarch x86_64 %{ix86} ppc64le s390x --with-build-config=bootstrap-lto --enable-link-serialization=1 \ +%endif %endif " @@ -3133,7 +3135,11 @@ end %endif %changelog -- enable LTO profiledbootstrap on x86_64, i?86, ppc64le and s390x +* Wed Jul 28 2021 Jakub Jelinek 11.2.1-1 +- update from releases/gcc-11-branch + - GCC 11.2 release + - PRs middle-end/101586, rtl-optimization/101562 +- enable LTO profiledbootstrap on x86_64, i?86, ppc64le and s390x for f35+ * Mon Jul 26 2021 Jakub Jelinek 11.1.1-7 - update from releases/gcc-11-branch diff --git a/gcc11-libstdc++-docs.patch b/gcc11-libstdc++-docs.patch index 7213d2c..4b4f9f8 100644 --- a/gcc11-libstdc++-docs.patch +++ b/gcc11-libstdc++-docs.patch @@ -4,7 +4,7 @@ FSF

-+ Release 11.1.1 ++ Release 11.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 11.1.1 release, ++ for the 11.2.1 release, + online for each GCC release and diff --git a/sources b/sources index 26dc9a5..f0b890a 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (gcc-11.1.1-20210726.tar.xz) = fcc8b1c0c5488363998bb3d7871052ec0ee198bebe05f4b11b4fb67153a91b6461ade116b3cbe49efc2a167176e05b2997b8796586a42bdc879c2bef1579ab77 +SHA512 (gcc-11.2.1-20210728.tar.xz) = 2234298652f882151aead486bb22481ba8181df69b9c7c5d73b8aa505ace58462fcd0b482680f466e2d21dc47e869651c7dbf224b65791ca47204dab01e89e7c SHA512 (isl-0.18.tar.bz2) = 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94 SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 002a48a7b689a81abbf16161bcaec001a842e67dfbe372e9e109092703bfc666675f16198f60ca429370e8850d564547dc505df81bc3aaca4ce6defbc014ad6c SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7 diff --git a/update-gcc.sh b/update-gcc.sh index 67b42a0..644b209 100755 --- a/update-gcc.sh +++ b/update-gcc.sh @@ -3,5 +3,5 @@ git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1 d=`date --iso | sed 's/-//g'` -git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-11.1.1-$d/ $1 | xz -9e > gcc-11.1.1-$d.tar.xz +git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-11.2.1-$d/ $1 | xz -9e > gcc-11.2.1-$d.tar.xz rm -rf gcc-dir.tmp