aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 08:53:24 +0000
committerSam James <sam@gentoo.org>2023-01-29 08:53:35 +0000
commit4ec26d74c881c1fb4fd0c49aa9162ad56d5d0138 (patch)
treef1f47cb4782eff93ee92035a302249ab1375080c
parent13.1.0: shift libssp patch out of nocross (diff)
downloadgcc-patches-4ec26d74c881c1fb4fd0c49aa9162ad56d5d0138.tar.gz
gcc-patches-4ec26d74c881c1fb4fd0c49aa9162ad56d5d0138.tar.bz2
gcc-patches-4ec26d74c881c1fb4fd0c49aa9162ad56d5d0138.zip
12.2.0: delete old stale nocross patch
Fixes: 6cbc18ad615fd39e765d114db4ed13d801e79f14 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--12.2.0/musl/nocross/50_all_libssp_unconditionally.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/12.2.0/musl/nocross/50_all_libssp_unconditionally.patch b/12.2.0/musl/nocross/50_all_libssp_unconditionally.patch
deleted file mode 100644
index a3b5984..0000000
--- a/12.2.0/musl/nocross/50_all_libssp_unconditionally.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://bugs.gentoo.org/706210
-https://bugs.gentoo.org/747346
-
-Author: Timo Teräs <timo.teras@iki.fi>
-
-"Alpine musl package provides libssp_nonshared.a. We link to it unconditionally,
-as otherwise we get link failures if some objects are -fstack-protector built
-and final link happens with -fno-stack-protector. This seems to be the common
-case when bootstrapping gcc, the piepatches do not seem to fully fix the
-crosstoolchain and bootstrap sequence wrt. stack-protector flag usage."
-
-(We do the same in Gentoo.)
---- a/gcc/gcc.cc
-+++ b/gcc/gcc.cc
-@@ -870,8 +870,7 @@
-
- #ifndef LINK_SSP_SPEC
- #ifdef TARGET_LIBC_PROVIDES_SSP
--#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
-- "|fstack-protector-strong|fstack-protector-explicit:}"
-+#define LINK_SSP_SPEC "-lssp_nonshared"
- #else
- #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
- "|fstack-protector-strong|fstack-protector-explicit" \