From 4ec26d74c881c1fb4fd0c49aa9162ad56d5d0138 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 29 Jan 2023 08:53:24 +0000 Subject: 12.2.0: delete old stale nocross patch Fixes: 6cbc18ad615fd39e765d114db4ed13d801e79f14 Signed-off-by: Sam James --- .../nocross/50_all_libssp_unconditionally.patch | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 12.2.0/musl/nocross/50_all_libssp_unconditionally.patch 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 - -"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" \ -- cgit v1.2.3-65-gdbad