diff options
author | Sam James <sam@gentoo.org> | 2022-01-08 04:04:15 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-08 04:04:46 +0000 |
commit | 86a2e8f6c4c94b5e483c0788fc0f95f89f1b252c (patch) | |
tree | 728af749a1229302d7c6ce696d5800bc253d3f16 | |
parent | 10.3.0: add musl patches (into VCS) (diff) | |
download | gcc-patches-86a2e8f6.tar.gz gcc-patches-86a2e8f6.tar.bz2 gcc-patches-86a2e8f6.zip |
*/musl: add some context to patches
Not yet perfect, but an improvement nonetheless.
Signed-off-by: Sam James <sam@gentoo.org>
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 <timo.teras@iki.fi> -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 <timo.teras@iki.fi> -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 <timo.teras@iki.fi> -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 @@ |