From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7FD12158011 for ; Mon, 22 Aug 2022 02:37:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 892E0E09C4; Mon, 22 Aug 2022 02:37:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5799EE09C8 for ; Mon, 22 Aug 2022 02:37:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2860D340F68 for ; Mon, 22 Aug 2022 02:37:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A50857A for ; Mon, 22 Aug 2022 02:37:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1661135824.20b8e7fec339997398bc6881b30b9cf01cc9f0b1.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 10.5.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 10.5.0/gentoo/34_all_drop_CFLAGS_sed.patch 10.5.0/gentoo/README.history X-VCS-Directories: 10.5.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 20b8e7fec339997398bc6881b30b9cf01cc9f0b1 X-VCS-Branch: master Date: Mon, 22 Aug 2022 02:37:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a275fa23-38e0-4578-b17c-66e50322afc6 X-Archives-Hash: 3fd455de10439877e4b6648532066aa3 commit: 20b8e7fec339997398bc6881b30b9cf01cc9f0b1 Author: Sam James gentoo org> AuthorDate: Mon Aug 22 02:27:23 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 22 02:37:04 2022 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=20b8e7fe 10.5.0: add 34_all_drop_CFLAGS_sed.patch Previously was just for 12. Bug: https://bugs.gentoo.org/849722 Signed-off-by: Sam James gentoo.org> 10.5.0/gentoo/34_all_drop_CFLAGS_sed.patch | 35 ++++++++++++++++++++++++++++++ 10.5.0/gentoo/README.history | 3 ++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/10.5.0/gentoo/34_all_drop_CFLAGS_sed.patch b/10.5.0/gentoo/34_all_drop_CFLAGS_sed.patch new file mode 100644 index 0000000..0136628 --- /dev/null +++ b/10.5.0/gentoo/34_all_drop_CFLAGS_sed.patch @@ -0,0 +1,35 @@ +https://bugs.gentoo.org/849722 +https://github.com/InBetweenNames/gentooLTO/issues/846 +https://github.com/vaeth/portage-bashrc-mv/issues/11 +--- a/gcc/configure ++++ b/gcc/configure +@@ -5195,13 +5195,6 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +-# Remove the -O2: for historical reasons, unless bootstrapping we prefer +-# optimizations to be activated explicitly by the toplevel. +-case "$CC" in +- */prev-gcc/xgcc*) ;; +- *) CFLAGS=`echo "$CFLAGS " | sed -e "s/-Ofast[ ]//" -e "s/-O[gs][ ]//" -e "s/-O[0-9]*[ ]//" ` +- CXXFLAGS=`echo "$CXXFLAGS " | sed -e "s/-Ofast[ ]//" -e "s/-O[gs][ ]//" -e "s/-O[0-9]*[ ]//" ` ;; +-esac + + + +--- a/gcc/configure.ac ++++ b/gcc/configure.ac +@@ -397,13 +397,6 @@ ACX_PROG_GNAT([-I"$srcdir"/ada/libgnat]) + # Do configure tests with the C++ compiler, since that's what we build with. + AC_LANG(C++) + +-# Remove the -O2: for historical reasons, unless bootstrapping we prefer +-# optimizations to be activated explicitly by the toplevel. +-case "$CC" in +- */prev-gcc/xgcc*) ;; +- *) CFLAGS=`echo "$CFLAGS " | sed -e "s/-Ofast[[ ]]//" -e "s/-O[[gs]][[ ]]//" -e "s/-O[[0-9]]*[[ ]]//" ` +- CXXFLAGS=`echo "$CXXFLAGS " | sed -e "s/-Ofast[[ ]]//" -e "s/-O[[gs]][[ ]]//" -e "s/-O[[0-9]]*[[ ]]//" ` ;; +-esac + AC_SUBST(CFLAGS) + AC_SUBST(CXXFLAGS) + diff --git a/10.5.0/gentoo/README.history b/10.5.0/gentoo/README.history index 6c7ed1b..19b1d3a 100644 --- a/10.5.0/gentoo/README.history +++ b/10.5.0/gentoo/README.history @@ -1,4 +1,4 @@ -0 ?? ???? ???? +0 22 Aug 2022 + 01_all_default-fortify-source.patch + 02_all_default-warn-format-security.patch + 03_all_default-warn-trampolines.patch @@ -32,4 +32,5 @@ + 31_all_fno-delayed-branch.patch + 32_all_vtv-slibtool.patch + 33_all_msgfmt-libstdc++-link.patch + + 34_all_drop_CFLAGS_sed.patch + 75_all_d_compiler_for_build_pie.patch