From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 10.5.0/gentoo/
Date: Mon, 22 Aug 2022 02:37:08 +0000 (UTC) [thread overview]
Message-ID: <1661135824.20b8e7fec339997398bc6881b30b9cf01cc9f0b1.sam@gentoo> (raw)
commit: 20b8e7fec339997398bc6881b30b9cf01cc9f0b1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 22 02:27:23 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
next reply other threads:[~2022-08-22 2:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 2:37 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-04-28 0:07 [gentoo-commits] proj/gcc-patches:master commit in: 10.5.0/gentoo/ Sam James
2023-01-27 8:12 Sam James
2023-01-23 0:35 Sam James
2022-12-17 4:54 Sam James
2022-12-17 4:54 Sam James
2022-12-17 4:54 Sam James
2022-11-20 0:25 Sam James
2022-08-22 1:52 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1661135824.20b8e7fec339997398bc6881b30b9cf01cc9f0b1.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox