commit: 86a2e8f6c4c94b5e483c0788fc0f95f89f1b252c Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Jan 8 04:04:15 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 8 04:04:46 2022 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=86a2e8f6
*/musl: add some context to patches Not yet perfect, but an improvement nonetheless. Signed-off-by: Sam James <sam <AT> gentoo.org> 10.3.0/musl/nocross/50_all_libssp_unconditionally.patch | 8 ++++++-- 11.2.0/musl/25_all_multilib_pure64.patch | 3 +++ 11.2.0/musl/nocross/50_all_libssp_unconditionally.patch | 8 ++++++-- 11.3.0/musl/25_all_multilib_pure64.patch | 3 +++ 11.3.0/musl/nocross/50_all_libssp_unconditionally.patch | 8 ++++++-- 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/10.3.0/musl/nocross/50_all_libssp_unconditionally.patch b/10.3.0/musl/nocross/50_all_libssp_unconditionally.patch index fe5c614..7e4c58a 100644 --- a/10.3.0/musl/nocross/50_all_libssp_unconditionally.patch +++ b/10.3.0/musl/nocross/50_all_libssp_unconditionally.patch @@ -1,11 +1,15 @@ +https://bugs.gentoo.org/706210 +https://bugs.gentoo.org/747346 + Author: Timo Teräs <[email protected]> -Alpine musl package provides libssp_nonshared.a. We link to it unconditionally, +"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. +crosstoolchain and bootstrap sequence wrt. stack-protector flag usage." +(We do the same in Gentoo.) --- gcc-6.1.0/gcc/gcc.c.orig +++ gcc-6.1.0/gcc/gcc.c @@ -870,8 +870,7 @@ diff --git a/11.2.0/musl/25_all_multilib_pure64.patch b/11.2.0/musl/25_all_multilib_pure64.patch index 19fd5c9..4ff0a25 100644 --- a/11.2.0/musl/25_all_multilib_pure64.patch +++ b/11.2.0/musl/25_all_multilib_pure64.patch @@ -1,3 +1,6 @@ +https://bugs.gentoo.org/675954 +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90077 + diff -Naur gcc-9.3.0.orig/gcc/config/aarch64/t-aarch64-linux gcc-9.3.0/gcc/config/aarch64/t-aarch64-linux --- gcc-9.3.0.orig/gcc/config/aarch64/t-aarch64-linux 2020-10-05 02:59:12.767988285 -0700 +++ gcc-9.3.0/gcc/config/aarch64/t-aarch64-linux 2020-10-05 03:03:32.310816444 -0700 diff --git a/11.2.0/musl/nocross/50_all_libssp_unconditionally.patch b/11.2.0/musl/nocross/50_all_libssp_unconditionally.patch index fe5c614..7e4c58a 100644 --- a/11.2.0/musl/nocross/50_all_libssp_unconditionally.patch +++ b/11.2.0/musl/nocross/50_all_libssp_unconditionally.patch @@ -1,11 +1,15 @@ +https://bugs.gentoo.org/706210 +https://bugs.gentoo.org/747346 + Author: Timo Teräs <[email protected]> -Alpine musl package provides libssp_nonshared.a. We link to it unconditionally, +"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. +crosstoolchain and bootstrap sequence wrt. stack-protector flag usage." +(We do the same in Gentoo.) --- gcc-6.1.0/gcc/gcc.c.orig +++ gcc-6.1.0/gcc/gcc.c @@ -870,8 +870,7 @@ diff --git a/11.3.0/musl/25_all_multilib_pure64.patch b/11.3.0/musl/25_all_multilib_pure64.patch index 19fd5c9..4ff0a25 100644 --- a/11.3.0/musl/25_all_multilib_pure64.patch +++ b/11.3.0/musl/25_all_multilib_pure64.patch @@ -1,3 +1,6 @@ +https://bugs.gentoo.org/675954 +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90077 + diff -Naur gcc-9.3.0.orig/gcc/config/aarch64/t-aarch64-linux gcc-9.3.0/gcc/config/aarch64/t-aarch64-linux --- gcc-9.3.0.orig/gcc/config/aarch64/t-aarch64-linux 2020-10-05 02:59:12.767988285 -0700 +++ gcc-9.3.0/gcc/config/aarch64/t-aarch64-linux 2020-10-05 03:03:32.310816444 -0700 diff --git a/11.3.0/musl/nocross/50_all_libssp_unconditionally.patch b/11.3.0/musl/nocross/50_all_libssp_unconditionally.patch index fe5c614..7e4c58a 100644 --- a/11.3.0/musl/nocross/50_all_libssp_unconditionally.patch +++ b/11.3.0/musl/nocross/50_all_libssp_unconditionally.patch @@ -1,11 +1,15 @@ +https://bugs.gentoo.org/706210 +https://bugs.gentoo.org/747346 + Author: Timo Teräs <[email protected]> -Alpine musl package provides libssp_nonshared.a. We link to it unconditionally, +"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. +crosstoolchain and bootstrap sequence wrt. stack-protector flag usage." +(We do the same in Gentoo.) --- gcc-6.1.0/gcc/gcc.c.orig +++ gcc-6.1.0/gcc/gcc.c @@ -870,8 +870,7 @@
