diff --git a/cross/gcc-aarch64/0001-posix_memalign.patch b/cross/gcc-aarch64/0001-posix_memalign.patch index 3ac7095b5..9e1d18aa9 100644 --- a/cross/gcc-aarch64/0001-posix_memalign.patch +++ b/cross/gcc-aarch64/0001-posix_memalign.patch @@ -1,7 +1,7 @@ -From 56ba7da205f1ec49b1379ab40d533c2e2d70a1a7 Mon Sep 17 00:00:00 2001 +From 4caf1c3a96f293b8ae0094ea70b2b468e14d787c Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 26 Jan 2018 20:32:50 +0000 -Subject: [PATCH] posix_memalign +Subject: [PATCH 01/40] posix_memalign --- gcc/config/i386/pmm_malloc.h | 9 +++++---- diff --git a/cross/gcc-aarch64/0002-gcc-poison-system-directories.patch b/cross/gcc-aarch64/0002-gcc-poison-system-directories.patch index fc54032ab..788e0b5ba 100644 --- a/cross/gcc-aarch64/0002-gcc-poison-system-directories.patch +++ b/cross/gcc-aarch64/0002-gcc-poison-system-directories.patch @@ -1,7 +1,7 @@ -From 4c53f798c9823dcfc7fe8e2dd26de0077545069d Mon Sep 17 00:00:00 2001 +From e4a68f2674e1959920969dc4f73f29eb6ec002b7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 29 Mar 2013 08:59:00 +0400 -Subject: [PATCH] gcc: poison-system-directories +Subject: [PATCH 02/40] gcc: poison-system-directories Add /sw/include and /opt/include based on the original zecke-no-host-includes.patch patch. The original patch checked for @@ -26,7 +26,7 @@ Upstream-Status: Pending 7 files changed, 68 insertions(+) diff --git a/gcc/common.opt b/gcc/common.opt -index 9cc47b16cac..d8b2e237d89 100644 +index ec5235c3a41..ca942863064 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -682,6 +682,10 @@ Wreturn-local-addr @@ -120,7 +120,7 @@ index 84dceb8074a..bf64ffbe46f 100644 AC_SUBST(subdirs) AC_SUBST(srcdir) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index 0c1b5975e6b..ede239a0ccd 100644 +index eabeec944e7..cd31b522e42 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}. diff --git a/cross/gcc-aarch64/0003-Turn-on-Wl-z-relro-z-now-by-default.patch b/cross/gcc-aarch64/0003-Turn-on-Wl-z-relro-z-now-by-default.patch index 76415a65f..949a41a0e 100644 --- a/cross/gcc-aarch64/0003-Turn-on-Wl-z-relro-z-now-by-default.patch +++ b/cross/gcc-aarch64/0003-Turn-on-Wl-z-relro-z-now-by-default.patch @@ -1,7 +1,7 @@ -From caf66e830299ba0a865041800ea9b32a3091f141 Mon Sep 17 00:00:00 2001 +From 2773fe84bc49e9baca7ddb2ba3e3727e36bd7a63 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:45:49 +0000 -Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default. +Subject: [PATCH 03/40] Turn on -Wl,-z,relro,-z,now by default. --- gcc/doc/invoke.texi | 3 +++ @@ -9,7 +9,7 @@ Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default. 2 files changed, 4 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index ede239a0ccd..43d02c26a1a 100644 +index cd31b522e42..17d371ef432 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -14663,6 +14663,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the diff --git a/cross/gcc-aarch64/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch b/cross/gcc-aarch64/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch index 6e7614c8e..e2903466e 100644 --- a/cross/gcc-aarch64/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +++ b/cross/gcc-aarch64/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch @@ -1,8 +1,8 @@ -From 48413b53fb7c9d780b55b84eaf6c70f154719907 Mon Sep 17 00:00:00 2001 +From a3ab0f59c562f72112f1229e005e4baad7b202e4 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:46:22 +0000 -Subject: [PATCH] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC, - ObjC++, if the optimization level is > 0 +Subject: [PATCH 04/40] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, + ObjC, ObjC++, if the optimization level is > 0 --- gcc/c-family/c-cppbuiltin.c | 4 ++++ @@ -25,7 +25,7 @@ index db91a36794a..ed976c71404 100644 if (flag_gnu89_inline) cpp_define (pfile, "__GNUC_GNU_INLINE__"); diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index 43d02c26a1a..78469ebe55d 100644 +index 17d371ef432..fe793ac08db 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -9230,6 +9230,12 @@ also turns on the following optimization flags: diff --git a/cross/gcc-aarch64/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch b/cross/gcc-aarch64/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch index 5a02acacc..ddc5b8ee0 100644 --- a/cross/gcc-aarch64/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +++ b/cross/gcc-aarch64/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch @@ -1,8 +1,8 @@ -From 31ec8fceef33284c4ed3ca4bb97e4a24eb088265 Mon Sep 17 00:00:00 2001 +From 6f324533a60b7e9a0a21e3f1c5f3f25d9d099a41 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:46:56 +0000 -Subject: [PATCH] On linux targets pass --as-needed by default to the linker, - but always link the sanitizer libraries with --no-as-needed. +Subject: [PATCH 05/40] On linux targets pass --as-needed by default to the + linker, but always link the sanitizer libraries with --no-as-needed. --- gcc/config/aarch64/aarch64-linux.h | 1 + diff --git a/cross/gcc-aarch64/0006-Enable-Wformat-and-Wformat-security-by-default.patch b/cross/gcc-aarch64/0006-Enable-Wformat-and-Wformat-security-by-default.patch index fa32a821a..bb761daba 100644 --- a/cross/gcc-aarch64/0006-Enable-Wformat-and-Wformat-security-by-default.patch +++ b/cross/gcc-aarch64/0006-Enable-Wformat-and-Wformat-security-by-default.patch @@ -1,7 +1,7 @@ -From 1a17780987ee63da34d330e9a2b186751c929c46 Mon Sep 17 00:00:00 2001 +From a9444c2a174a60bbc659b376f21674e02be669c1 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:47:43 +0000 -Subject: [PATCH] Enable -Wformat and -Wformat-security by default. +Subject: [PATCH 06/40] Enable -Wformat and -Wformat-security by default. --- gcc/c-family/c.opt | 4 ++-- diff --git a/cross/gcc-aarch64/0007-Enable-Wtrampolines-by-default.patch b/cross/gcc-aarch64/0007-Enable-Wtrampolines-by-default.patch index 21e49d251..e0d4245aa 100644 --- a/cross/gcc-aarch64/0007-Enable-Wtrampolines-by-default.patch +++ b/cross/gcc-aarch64/0007-Enable-Wtrampolines-by-default.patch @@ -1,14 +1,14 @@ -From 901acffb0caae749c5b830d01a6e858f34311cd5 Mon Sep 17 00:00:00 2001 +From d20e8bab053eb3a31a08deeae8d0829ba84f47e3 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:48:24 +0000 -Subject: [PATCH] Enable -Wtrampolines by default. +Subject: [PATCH 07/40] Enable -Wtrampolines by default. --- gcc/common.opt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/common.opt b/gcc/common.opt -index d8b2e237d89..5087ae84d49 100644 +index ca942863064..0a0ab6195ee 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning diff --git a/cross/gcc-aarch64/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch b/cross/gcc-aarch64/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch index edd4658ee..6b076ca23 100644 --- a/cross/gcc-aarch64/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +++ b/cross/gcc-aarch64/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch @@ -1,8 +1,8 @@ -From 4d09aa762edd682ffb7665b21f7ecd6e1cf90a3f Mon Sep 17 00:00:00 2001 +From d8613c37b889fc42c2b9ffada1e2906d5e4cf062 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:49:40 +0000 -Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding - Change the buffer size. +Subject: [PATCH 08/40] Disable ssp on -nostdlib, -nodefaultlibs and + -ffreestanding Change the buffer size. --- gcc/gcc.c | 8 +++++++- diff --git a/cross/gcc-aarch64/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch b/cross/gcc-aarch64/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch index 74610fa5a..7e2237778 100644 --- a/cross/gcc-aarch64/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +++ b/cross/gcc-aarch64/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch @@ -1,8 +1,8 @@ -From e9b5aa5bb3788b2600a719d3b5ed56e3397ec0ad Mon Sep 17 00:00:00 2001 +From 9a3d57157595f98d2bd58424642c3539fd2a2668 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:50:33 +0000 -Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc - bootstrapping. +Subject: [PATCH 09/40] Ensure that msgfmt doesn't encounter problems during + gcc bootstrapping. Solves error messages like the following: diff --git a/cross/gcc-aarch64/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch b/cross/gcc-aarch64/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch index 545e90606..47ca5c54c 100644 --- a/cross/gcc-aarch64/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +++ b/cross/gcc-aarch64/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch @@ -1,7 +1,7 @@ -From d87e3805d5f308798e82008b9b3c3440958b6f20 Mon Sep 17 00:00:00 2001 +From 177f24cbf26c14ea07c4769e6fd2598a85e06d2e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:52:07 +0000 -Subject: [PATCH] Don't declare asprintf if defined as a macro. +Subject: [PATCH 10/40] Don't declare asprintf if defined as a macro. --- include/libiberty.h | 3 +++ diff --git a/cross/gcc-aarch64/0011-libiberty-copy-PIC-objects-during-build-process.patch b/cross/gcc-aarch64/0011-libiberty-copy-PIC-objects-during-build-process.patch index d7b6f297e..c0b11f595 100644 --- a/cross/gcc-aarch64/0011-libiberty-copy-PIC-objects-during-build-process.patch +++ b/cross/gcc-aarch64/0011-libiberty-copy-PIC-objects-during-build-process.patch @@ -1,7 +1,7 @@ -From 33b3fa0e5bc57219de066c04beaf4fcd09054812 Mon Sep 17 00:00:00 2001 +From 31301d91ac46894423188ebd0f961cfca709d66c Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:53:00 +0000 -Subject: [PATCH] libiberty: copy PIC objects during build process +Subject: [PATCH 11/40] libiberty: copy PIC objects during build process --- libiberty/Makefile.in | 1 + diff --git a/cross/gcc-aarch64/0012-libitm-disable-FORTIFY.patch b/cross/gcc-aarch64/0012-libitm-disable-FORTIFY.patch index 80bae51c3..e520d3e61 100644 --- a/cross/gcc-aarch64/0012-libitm-disable-FORTIFY.patch +++ b/cross/gcc-aarch64/0012-libitm-disable-FORTIFY.patch @@ -1,7 +1,7 @@ -From 0538fa07136fefd76a0b958db48cd6a06eaf630c Mon Sep 17 00:00:00 2001 +From 3cc4794124dd7306e759a8f1769319144e5bdc63 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:53:36 +0000 -Subject: [PATCH] libitm: disable FORTIFY +Subject: [PATCH 12/40] libitm: disable FORTIFY --- libitm/configure.tgt | 10 ++++++++++ diff --git a/cross/gcc-aarch64/0013-libgcc_s.patch b/cross/gcc-aarch64/0013-libgcc_s.patch index 58ed29506..4bf1446f4 100644 --- a/cross/gcc-aarch64/0013-libgcc_s.patch +++ b/cross/gcc-aarch64/0013-libgcc_s.patch @@ -1,7 +1,7 @@ -From 7f4a2e2f3ab6b649538f3fd775a6f7a5507de543 Mon Sep 17 00:00:00 2001 +From ac9489e4b3ad3f22f88d1bab3e103ffd3a287d18 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 24 Oct 2015 20:09:53 +0000 -Subject: [PATCH] libgcc_s +Subject: [PATCH 13/40] libgcc_s --- gcc/config/i386/i386-expand.c | 4 ++-- @@ -27,10 +27,10 @@ index 47d52550e5e..9cb8cc7950e 100644 return expand_expr (call_expr, target, mode, EXPAND_NORMAL); } diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c -index cf5f0884bb4..ed0381e7744 100644 +index 83301a1445f..89fdc7eb587 100644 --- a/libgcc/config/i386/cpuinfo.c +++ b/libgcc/config/i386/cpuinfo.c -@@ -510,7 +510,7 @@ __cpu_indicator_init (void) +@@ -516,7 +516,7 @@ __cpu_indicator_init (void) return 0; } diff --git a/cross/gcc-aarch64/0014-nopie.patch b/cross/gcc-aarch64/0014-nopie.patch index 19995f51c..e398c7554 100644 --- a/cross/gcc-aarch64/0014-nopie.patch +++ b/cross/gcc-aarch64/0014-nopie.patch @@ -1,7 +1,7 @@ -From 6c3e5f01e4ac338e85b1a6b5956699d882705882 Mon Sep 17 00:00:00 2001 +From ebca654224b0b55753748a7954570726908c474e Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 7 Nov 2015 02:08:05 +0000 -Subject: [PATCH] nopie +Subject: [PATCH 14/40] nopie --- gcc/configure | 27 +++++++++++++++++++++++++++ diff --git a/cross/gcc-aarch64/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch b/cross/gcc-aarch64/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch index 940d61577..1e2b22a8a 100644 --- a/cross/gcc-aarch64/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +++ b/cross/gcc-aarch64/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch @@ -1,7 +1,7 @@ -From 66657865719efb0a86ea2ab75511cb326e8aa46f Mon Sep 17 00:00:00 2001 +From 288130bb8f622a813f4937b28ff2129be4a7e2ba Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:57:09 +0000 -Subject: [PATCH] libffi: use __linux__ instead of __gnu_linux__ for musl +Subject: [PATCH 15/40] libffi: use __linux__ instead of __gnu_linux__ for musl --- libffi/src/closures.c | 2 +- diff --git a/cross/gcc-aarch64/0016-dlang-update-zlib-binding.patch b/cross/gcc-aarch64/0016-dlang-update-zlib-binding.patch index 8a773f7d7..3b80f61d9 100644 --- a/cross/gcc-aarch64/0016-dlang-update-zlib-binding.patch +++ b/cross/gcc-aarch64/0016-dlang-update-zlib-binding.patch @@ -1,7 +1,7 @@ -From b8a954b1e4033ff559e312d693c74e90e3f13210 Mon Sep 17 00:00:00 2001 +From bc17bd672e11321d903245a3059e9788c8f83a7f Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:57:51 +0000 -Subject: [PATCH] dlang: update zlib binding +Subject: [PATCH 16/40] dlang: update zlib binding --- libphobos/src/std/zlib.d | 266 ++++++++++++++++++++++++++++----------- diff --git a/cross/gcc-aarch64/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch b/cross/gcc-aarch64/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch index 6a0eae7c5..c92bfe768 100644 --- a/cross/gcc-aarch64/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +++ b/cross/gcc-aarch64/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch @@ -1,7 +1,7 @@ -From 4d1fe9d5df3ab850df21d68c73d2d3c601910288 Mon Sep 17 00:00:00 2001 +From 6216a5dd04b5722cae21ba57ac4747f402d6d11a Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:58:22 +0000 -Subject: [PATCH] dlang: fix fcntl on mips, add libucontext dep +Subject: [PATCH 17/40] dlang: fix fcntl on mips, add libucontext dep --- libphobos/configure.tgt | 1 + diff --git a/cross/gcc-aarch64/0018-ada-fix-shared-linking.patch b/cross/gcc-aarch64/0018-ada-fix-shared-linking.patch index 0e02a22aa..2c2120e83 100644 --- a/cross/gcc-aarch64/0018-ada-fix-shared-linking.patch +++ b/cross/gcc-aarch64/0018-ada-fix-shared-linking.patch @@ -1,7 +1,7 @@ -From 04d8d2c7052c0e92825b4246da0df9ac8753701e Mon Sep 17 00:00:00 2001 +From ebc8584a9b7ed1f5fd6fc01d7cc0b718ea0f063e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:59:16 +0000 -Subject: [PATCH] ada: fix shared linking +Subject: [PATCH 18/40] ada: fix shared linking --- gcc/ada/link.c | 12 ++++++------ diff --git a/cross/gcc-aarch64/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch b/cross/gcc-aarch64/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch index 2de53048a..0206c8c52 100644 --- a/cross/gcc-aarch64/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +++ b/cross/gcc-aarch64/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch @@ -1,7 +1,7 @@ -From 3da9a00035f6052926918200fdbeff478ff88d28 Mon Sep 17 00:00:00 2001 +From 1c99fd83e51934aded85825d5474f57d1d06090e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:59:43 +0000 -Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing +Subject: [PATCH 19/40] build: fix CXXFLAGS_FOR_BUILD passing --- Makefile.in | 1 + diff --git a/cross/gcc-aarch64/0020-add-fortify-headers-paths.patch b/cross/gcc-aarch64/0020-add-fortify-headers-paths.patch index 2270010f6..521598ce9 100644 --- a/cross/gcc-aarch64/0020-add-fortify-headers-paths.patch +++ b/cross/gcc-aarch64/0020-add-fortify-headers-paths.patch @@ -1,7 +1,7 @@ -From 1274452fed850d4910aac101aa50c26a2011e15f Mon Sep 17 00:00:00 2001 +From d620a4e35183dc7cfeab739312fc3d7b98a11e31 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:01:06 +0000 -Subject: [PATCH] add fortify-headers paths +Subject: [PATCH 20/40] add fortify-headers paths --- gcc/config/linux.h | 2 ++ diff --git a/cross/gcc-aarch64/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch b/cross/gcc-aarch64/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch index c5b178011..c52077dbb 100644 --- a/cross/gcc-aarch64/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +++ b/cross/gcc-aarch64/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch @@ -1,9 +1,9 @@ -From 427c95f4cd889f97983d2b5ac4de6501bcf53166 Mon Sep 17 00:00:00 2001 +From 45863e36e6e69a7f78388890297d897f97f45f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 21 Aug 2020 07:03:00 +0000 -Subject: [PATCH] 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. +Subject: [PATCH 21/40] 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. diff --git a/cross/gcc-aarch64/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch b/cross/gcc-aarch64/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch index 8466348da..e50fda5bc 100644 --- a/cross/gcc-aarch64/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +++ b/cross/gcc-aarch64/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch @@ -1,7 +1,7 @@ -From d3440b3e7d5d9448309b4c3f74487f4c05726a5a Mon Sep 17 00:00:00 2001 +From 99f18a789cccc40de0adb14cca064335cbb7d5a0 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:03:42 +0000 -Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when +Subject: [PATCH 22/40] DP: Use --push-state/--pop-state for gold as well when linking libtsan. --- diff --git a/cross/gcc-aarch64/0023-Pure-64-bit-MIPS.patch b/cross/gcc-aarch64/0023-Pure-64-bit-MIPS.patch index f990734e5..11e7e822e 100644 --- a/cross/gcc-aarch64/0023-Pure-64-bit-MIPS.patch +++ b/cross/gcc-aarch64/0023-Pure-64-bit-MIPS.patch @@ -1,7 +1,7 @@ -From 5b1bffa6323f1e9f981f1db2b574a876ebcf2bd6 Mon Sep 17 00:00:00 2001 +From 71b4599cd1a7512221e3b209d084ee0e80cae56f Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Thu, 21 Dec 2017 03:14:33 +0100 -Subject: [PATCH] Pure 64-bit MIPS +Subject: [PATCH 23/40] Pure 64-bit MIPS --- gcc/config/mips/mips.h | 8 ++++---- diff --git a/cross/gcc-aarch64/0024-use-pure-64-bit-configuration-where-appropriate.patch b/cross/gcc-aarch64/0024-use-pure-64-bit-configuration-where-appropriate.patch index 24013458f..8a0ff2db3 100644 --- a/cross/gcc-aarch64/0024-use-pure-64-bit-configuration-where-appropriate.patch +++ b/cross/gcc-aarch64/0024-use-pure-64-bit-configuration-where-appropriate.patch @@ -1,7 +1,7 @@ -From 7a38f81aa9cc5ed4a39b54480209e29615bd6594 Mon Sep 17 00:00:00 2001 +From 23b8d3f4ed85efe3104666e81988f7604a617cc3 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:04:40 +0000 -Subject: [PATCH] use pure 64-bit configuration where appropriate +Subject: [PATCH 24/40] use pure 64-bit configuration where appropriate --- gcc/config/aarch64/t-aarch64-linux | 2 +- diff --git a/cross/gcc-aarch64/0025-always-build-libgcc_eh.a.patch b/cross/gcc-aarch64/0025-always-build-libgcc_eh.a.patch index 186277f50..3868a9b06 100644 --- a/cross/gcc-aarch64/0025-always-build-libgcc_eh.a.patch +++ b/cross/gcc-aarch64/0025-always-build-libgcc_eh.a.patch @@ -1,7 +1,7 @@ -From eb4c45fb32845cf9ed5e3627380d889f972dbb02 Mon Sep 17 00:00:00 2001 +From ca5e35a64f95ecc644f6f2d5f874755f1b5bdbf2 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:05:41 +0000 -Subject: [PATCH] always build libgcc_eh.a +Subject: [PATCH 25/40] always build libgcc_eh.a highly inspired by: http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch diff --git a/cross/gcc-aarch64/0026-ada-libgnarl-compatibility-for-musl.patch b/cross/gcc-aarch64/0026-ada-libgnarl-compatibility-for-musl.patch index 43de34492..24791ad39 100644 --- a/cross/gcc-aarch64/0026-ada-libgnarl-compatibility-for-musl.patch +++ b/cross/gcc-aarch64/0026-ada-libgnarl-compatibility-for-musl.patch @@ -1,7 +1,7 @@ -From f06868abe42037e8a97fb1e724df56a81b6d3b36 Mon Sep 17 00:00:00 2001 +From f3e0f7f460624a90416393902b946c0d74b507cc Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:06:30 +0000 -Subject: [PATCH] ada: libgnarl compatibility for musl +Subject: [PATCH 26/40] ada: libgnarl compatibility for musl --- gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------ diff --git a/cross/gcc-aarch64/0027-ada-musl-support-fixes.patch b/cross/gcc-aarch64/0027-ada-musl-support-fixes.patch index f8bbff130..5a8fa9cc8 100644 --- a/cross/gcc-aarch64/0027-ada-musl-support-fixes.patch +++ b/cross/gcc-aarch64/0027-ada-musl-support-fixes.patch @@ -1,7 +1,7 @@ -From b87099f99e9b97efa684d59a63a7585bc0ae7c34 Mon Sep 17 00:00:00 2001 +From 8bf9618294153d345905564ff68e2e3be810b8a4 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:07:48 +0000 -Subject: [PATCH] ada: musl support fixes +Subject: [PATCH 27/40] ada: musl support fixes --- gcc/ada/Makefile.rtl | 10 +++++----- diff --git a/cross/gcc-aarch64/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch b/cross/gcc-aarch64/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch index 94fae98c3..3b4197bc9 100644 --- a/cross/gcc-aarch64/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +++ b/cross/gcc-aarch64/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch @@ -1,7 +1,7 @@ -From ebfdc1ed30206086a1f59c0e45d11b735ca22181 Mon Sep 17 00:00:00 2001 +From 5a3e6a0890854f713100e9f2ea29bcc5b635e78a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:58:08 +0200 -Subject: [PATCH] gcc-go: Use _off_t type instead of _loff_t +Subject: [PATCH 28/40] gcc-go: Use _off_t type instead of _loff_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-aarch64/0029-gcc-go-Don-t-include-sys-user.h.patch b/cross/gcc-aarch64/0029-gcc-go-Don-t-include-sys-user.h.patch index fe58b47bc..89fb390ea 100644 --- a/cross/gcc-aarch64/0029-gcc-go-Don-t-include-sys-user.h.patch +++ b/cross/gcc-aarch64/0029-gcc-go-Don-t-include-sys-user.h.patch @@ -1,7 +1,7 @@ -From 53c8bd07ef19cefadfd5ca6e2b845862ba9c4d14 Mon Sep 17 00:00:00 2001 +From 00252a5095ef24c86e500b460e290e1be07dcb7e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:58:21 +0200 -Subject: [PATCH] gcc-go: Don't include sys/user.h +Subject: [PATCH 29/40] gcc-go: Don't include sys/user.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-aarch64/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch b/cross/gcc-aarch64/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch index e6781339f..a728a4132 100644 --- a/cross/gcc-aarch64/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +++ b/cross/gcc-aarch64/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch @@ -1,7 +1,7 @@ -From 4ebf1f48bae799d4d9c0d3de88c5d8e0f1f2900e Mon Sep 17 00:00:00 2001 +From 1f83a2aebcc6b672950629b3752651b4d1ea7a12 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:59:22 +0200 -Subject: [PATCH] gcc-go: Fix ucontext_t on PPC64 +Subject: [PATCH 30/40] gcc-go: Fix ucontext_t on PPC64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-aarch64/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch b/cross/gcc-aarch64/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch index 85778c441..ce0a3cb16 100644 --- a/cross/gcc-aarch64/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +++ b/cross/gcc-aarch64/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch @@ -1,7 +1,7 @@ -From 2ea8b4f0d7cd8e96436ca14ef7f08615496d6d38 Mon Sep 17 00:00:00 2001 +From 8d4a5efa805cdb514c1dfa4bc6385ad190bd8797 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:59:45 +0200 -Subject: [PATCH] gcc-go: Fix handling of signal 34 on musl +Subject: [PATCH 31/40] gcc-go: Fix handling of signal 34 on musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-aarch64/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch b/cross/gcc-aarch64/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch index a69201156..0aa31726a 100644 --- a/cross/gcc-aarch64/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +++ b/cross/gcc-aarch64/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch @@ -1,7 +1,7 @@ -From 65212bcce99563e6fa7a0334f1a82bde47ade70c Mon Sep 17 00:00:00 2001 +From 8d2fd5e6b0824425ed614d4470494e9756724ecd Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:01:03 +0200 -Subject: [PATCH] gcc-go: Use int64 type as offset argument for mmap +Subject: [PATCH 32/40] gcc-go: Use int64 type as offset argument for mmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-aarch64/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch b/cross/gcc-aarch64/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch index 1884fb327..9826fcadf 100644 --- a/cross/gcc-aarch64/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +++ b/cross/gcc-aarch64/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch @@ -1,7 +1,8 @@ -From 1fa468989614c5ada2d2a0fac67cc542900ff5de Mon Sep 17 00:00:00 2001 +From f76f5767a1ebbdc6f0bf5d3c180ff9d68dec3ae5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:02:28 +0200 -Subject: [PATCH] gcc-go: Fix st_{a,m,c}tim fields in generated sysinfo.go +Subject: [PATCH 33/40] gcc-go: Fix st_{a,m,c}tim fields in generated + sysinfo.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-aarch64/0034-gcc-go-signal-34-is-special-on-musl-libc.patch b/cross/gcc-aarch64/0034-gcc-go-signal-34-is-special-on-musl-libc.patch index 6ba268884..5ac82fc37 100644 --- a/cross/gcc-aarch64/0034-gcc-go-signal-34-is-special-on-musl-libc.patch +++ b/cross/gcc-aarch64/0034-gcc-go-signal-34-is-special-on-musl-libc.patch @@ -1,7 +1,7 @@ -From 1e401424a24c4d09890c498e9cf37dd65f98fd40 Mon Sep 17 00:00:00 2001 +From 82de62b8ce83e80b37bac6d4ad8b41e7d7a0de05 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:03:03 +0200 -Subject: [PATCH] gcc-go: signal 34 is special on musl libc +Subject: [PATCH 34/40] gcc-go: signal 34 is special on musl libc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-aarch64/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch b/cross/gcc-aarch64/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch index 1b6fd4d72..2b68a9907 100644 --- a/cross/gcc-aarch64/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +++ b/cross/gcc-aarch64/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch @@ -1,7 +1,7 @@ -From c32a6473e0b51b02401c403b4fa104a82b2c6147 Mon Sep 17 00:00:00 2001 +From d78313c65a087c859cae3771699e798d3f10966e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 30 Aug 2020 19:26:53 +0200 -Subject: [PATCH] gcc-go: Prefer _off_t over _off64_t +Subject: [PATCH 35/40] gcc-go: Prefer _off_t over _off64_t musl does not seem to have _off64_t. --- diff --git a/cross/gcc-aarch64/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch b/cross/gcc-aarch64/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch index 1cc8dab59..73477d507 100644 --- a/cross/gcc-aarch64/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +++ b/cross/gcc-aarch64/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch @@ -1,7 +1,7 @@ -From 87b7fd27b0b2cc041e2cc989e77a7eda8fc330a2 Mon Sep 17 00:00:00 2001 +From b0c49ce2ced307af0248e6aed20da0f351f2f39c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 30 Aug 2020 19:27:51 +0200 -Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c +Subject: [PATCH 36/40] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c --- libgo/runtime/proc.c | 4 ++++ diff --git a/cross/gcc-aarch64/0037-gcc-go-link-to-libucontext.patch b/cross/gcc-aarch64/0037-gcc-go-link-to-libucontext.patch index 801382e57..0997288db 100644 --- a/cross/gcc-aarch64/0037-gcc-go-link-to-libucontext.patch +++ b/cross/gcc-aarch64/0037-gcc-go-link-to-libucontext.patch @@ -1,7 +1,7 @@ -From 16fd7a533bba015aca4d1c08c7a18f7a6d07ad26 Mon Sep 17 00:00:00 2001 +From b0e76ff4511a5ca4c790a123dc347a0aa7008dd9 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 31 Aug 2020 08:59:40 +0200 -Subject: [PATCH] gcc-go: link to libucontext +Subject: [PATCH 37/40] gcc-go: link to libucontext --- Makefile.in | 2 +- diff --git a/cross/gcc-aarch64/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch b/cross/gcc-aarch64/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch index 225930fbc..66dd1168b 100644 --- a/cross/gcc-aarch64/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +++ b/cross/gcc-aarch64/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch @@ -1,7 +1,8 @@ -From a56c34c3ca3b83f5481dad3888d936f859788614 Mon Sep 17 00:00:00 2001 +From f6bb4cd2ec5af0151e6282e78428a51553020542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Mon, 31 Aug 2020 20:26:56 +0200 -Subject: [PATCH] gcc-go: Disable printing of unaccessible ppc64 struct members +Subject: [PATCH 38/40] gcc-go: Disable printing of unaccessible ppc64 struct + members These struct members do not seem to exist on musl. --- diff --git a/cross/gcc-aarch64/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch b/cross/gcc-aarch64/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch index 878d48221..c244b94f7 100644 --- a/cross/gcc-aarch64/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +++ b/cross/gcc-aarch64/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch @@ -1,7 +1,7 @@ -From 7b2278e6d857f68c9cb956865c5037d73be69fc6 Mon Sep 17 00:00:00 2001 +From fb71a010a27aabb32f071b98adf872a188e8a01c Mon Sep 17 00:00:00 2001 From: Geod24 Date: Mon, 16 Nov 2020 18:40:46 +0100 -Subject: [PATCH] CRuntime_Musl: Support v1.2.0 for 32 bits +Subject: [PATCH 39/40] CRuntime_Musl: Support v1.2.0 for 32 bits As explained in the comment, `time_t` on Musl is now always 64 bits, but used to be 32 bits on 32 bits systems. diff --git a/cross/gcc-aarch64/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch b/cross/gcc-aarch64/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch index 626b79f7e..58e38be20 100644 --- a/cross/gcc-aarch64/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch +++ b/cross/gcc-aarch64/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch @@ -1,7 +1,7 @@ -From 8108772b5430b8d7a4fef8cd9d917a11fbb26fab Mon Sep 17 00:00:00 2001 +From 2cb6fe7a9f0d74ca8d3cb5c465cb720bd01ef28e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 9 Dec 2020 16:07:26 +0000 -Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in +Subject: [PATCH 40/40] configure: Add --enable-autolink-libatomic, use in LINK_GCC_C_SEQUENCE_SPEC [PR81358] This fixes issues with RISC-V. diff --git a/cross/gcc-aarch64/APKBUILD b/cross/gcc-aarch64/APKBUILD index 743574c06..84427e467 100644 --- a/cross/gcc-aarch64/APKBUILD +++ b/cross/gcc-aarch64/APKBUILD @@ -24,8 +24,8 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" pkgname=gcc-aarch64 -_pkgbase=10.2.1 -pkgver=10.2.1_git20210328 +_pkgbase=10.3.1 +pkgver=10.3.1_git20210409 [ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2" [ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross="" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" @@ -668,44 +668,44 @@ gnat() { mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/ } -sha512sums="44d785af0f7aa321487f23b7656877e8112ca2e0b93df538508031d6541db6f7e92ddefb40e44870f4f86adc8dd0efbca3b1748539d62c46f18ac667e134c7f6 gcc-10.2.1_git20210328.tar.xz -3b26000b0ffb3467d8d1b37782a4ba03564813ca33a2842ec2f86213e4ad8f0eba4dd55c43fe965fb90ab21bfecb7c8abd174b5faf09aad128ee25bfd1f48578 0001-posix_memalign.patch -9b6e01b6c61c6d30a5965a16f9057495b6e73387085ecff3db87ad4153305fdcec132ade9f13229539cf35c29e0ceaac38a0eeb9f9598e1a30a4f67a2352c0b6 0002-gcc-poison-system-directories.patch -eee255b920cfe35cb1df1c62a44f17c81479573308df87c12c0971a1dca82dd1c73a0544cc6ab9974cd75d212e19450fc855eaf794843f0d5541e9ba7985af2f 0003-Turn-on-Wl-z-relro-z-now-by-default.patch -b1967302576ede18efbfd7de6c191b7503bc43f205a6c22787823d1bd66f03d197bb2f0e674594707a9958932605b4b524568b2383fa62117bd5d80ecacce29c 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch -45c21abd2153541959352ed75ec322038c0950351c164d5540b61070fcaf158feee3ee82fd6dd9aea03d846edb99f487f76a312d442d70de16371c783fe3704b 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch -16a7b2a1e5c2191694131f2eee06adf3e45d59de83e1b5fa1dff43210b9a7f13234cf27a95d9a1d799bcd944aa2af8dc33396d518b574b8773ad52ebc6e80edc 0006-Enable-Wformat-and-Wformat-security-by-default.patch -daef4ebe907027b9ed2a4d940bb729355c86146dedd963f19b6f3e293e9e9807312c457a76c8599cc759283e7c35b85b721a60cabfc3026538efcbce212e10ea 0007-Enable-Wtrampolines-by-default.patch -f67ca64ef00350404a4db016e605a255e1669c9d05c86061816905348ddc9ffe260ae8d05d0fd1b9c9c2268b2943b2507a95e63ced39a4c5dfb791964f6f4a16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch -a7867b548b54ac81eedfda56679ee6658e690bb47528f9c437538c09bfeb5c8f0051788d61b480ddef3b3d16c4b2c35669741d5f99b2e68a89c7aec6280bc65f 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch -3d21fae6c58aabf7f05caabcc54635650e178d87d3816cfd367f14dfcfb0fa971526ce06d0c5f84557ce66220c2859b66897ede76c7e5d59cb72789b3b4edcae 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch -da4005b10d0222ebddc44dc9334933d80064583dc9f4e949ceef5b9739556d01ed91513a1a26758bf1211fd7a941d4e0d7cd1093b2f03cd00950981b8be87c1a 0011-libiberty-copy-PIC-objects-during-build-process.patch -f9acc3d4691525b6f64344485b9566a5e916572159c2b779f79324c56d6a3d9acb9c8dd79c0cf4d067737ca9c966aa1ba6b22c0eb6a4aadf91c54a3455a2bcd9 0012-libitm-disable-FORTIFY.patch -78fa151c0121455d52b7499b1e94761c4bb1150acaa751275df8e26ee27be785c78e2f7c7ec6fd3fda8cba431f2c151c79d61f9c00d51f55b2ae0ea588f3880c 0013-libgcc_s.patch -01afd5aab0f73ad2ee59459520d0fd93e772e954907e453ffc853e2b03f0c963f04abaea4479b202f79fa5c535b3a5b95f3ecde727ddfefb2c3e02e269ab39cc 0014-nopie.patch -1da8e1e5124e480b29b35c0401298d4c9a15b871e7bfede525df33e0ebaf56dc63d0854c28876d3ea77438353641c9ff5d4050698bca9fb91765ab92f9208359 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch -79853461889abccf810f70c8b6de5bb8a201681957dfeb1e7f0bc6acc3e939958f3e4012ff76ff01f7004398170566f100e49fa2ad3187dde4cdee60ac28a00d 0016-dlang-update-zlib-binding.patch -bbd954ac46d52d1fa8dcc731714424e026189d93eb6da6e632da997b3555b22dcff341626975d7acb795b655355ca493ebcffb925ba8b95e6dc3682a1c1e3fcf 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch -e6cd2ff6c03cad621bfd8b6c50bd7f9280a8a944096d0994cb11a7689c40cecffb2efc813db39e040c064ed1a8fa8bbd60ff51ab3bb69485faa216f4d9bab17d 0018-ada-fix-shared-linking.patch -a16631492e020f54fe19dc41ab831df881c96903d7ae9beaf9cfaed8c3bb65fdabea2ed0fc0945736a21432032623acb4403e9dc96d6020bd08b3836669719be 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch -1313e45ea2a9f8118d86a68e0942afc85840bbcc0154683f19660a09b7d51448f87ceb2e04fa9e70d84b7494467855f3062bb6be896cfbccb4ffb33dc3f836dd 0020-add-fortify-headers-paths.patch -a7f159ee2719cf16df666c58cac7266c6d14531076c719e3723f74b022c30338b7a53b0580aa373bcef8ccf607e7e54d4fb8d4da92da9ed82046797d8d4530e0 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch -b2d84e116538be203b10b795eb2ec11cd5aac3dc4b6d9216118b61de417929c68f3f961ae9c6edbb86a4f74305dabc26619aac1fe1ad289b274e4c546eeeb2dc 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch -72bb76b5e039c341c01d23dd503faaf290efd7389c748696ef058f9534d96bbfea8e56c52be4737a4ef7ab6bef8806c729d35175f5f55fddced42b3317ab223d 0023-Pure-64-bit-MIPS.patch -775fd10e51e80f22b21158c64cab69fbf7783dba784904a364614f319dca9c227d219714ddf4bb8c84d5e226322ce46739313f85e8b564df73f6ee91d54cfd82 0024-use-pure-64-bit-configuration-where-appropriate.patch -1fb0f5b812045f485051b16f5e7f4cf9785471a1c6069f88086edd41c65db4eb35681cc52916ef36586224ce7f5a66fc4e548076525afe6a6b56e21668fa5c81 0025-always-build-libgcc_eh.a.patch -84eb567250c6cc3c4dc00fb5a0de32648eb81b8bc50fb5b0fdcc7208118c887c7274677aafdc8e2400be4d44346ddaccc0b2a3eb99b000f06cc446e90e6c760d 0026-ada-libgnarl-compatibility-for-musl.patch -d6ea8bba98cca5cb9ef952c344f063d126dab7f7d30fbf411334be29e9aae611af85e137c92c16e6e72410fe7fed26d984d8807f0469770cae85f98f7b4d8eac 0027-ada-musl-support-fixes.patch -551da64e652effcb3b8bab8f4fee27d83665505ebe4207f891fd0149a04d601bd0ca60b232e58dc2190a7b9469e47a628e4b0b9986a260535aa3416e662c2fcc 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch -156c9f987f9579a05509dcdf0575559692be337a1412b4eb0a5eb3a0662ecf8ea2feed8a581741ff637b8dcb186769f54ae2e1b0e4dcace8ac7bb9eb9dd4e918 0029-gcc-go-Don-t-include-sys-user.h.patch -835be5d6477613def7866d2c9392d3327fe09564890d955db7dd0e77c6aacc234f4a8881b1fb15abae20b0b490fd6cebc5211562629166dc546b33b4f3207a24 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch -e0f2b85c4ef4bc83a450e48badc879f67b582d08d9bebad0f466393c9bda9e1898da2af30f90019d65e42bcdbd9fd30540dc3f307bb564470e9b8cae1a8a1e57 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch -0e6b051452f5f70a279eb323700b933cc856a7a7ec402f822af9cb3d57327fca9ebdeb253e6d87b76098bfd7da9a29591a051f57756ce5a2111da64886b066b4 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch -5df836874e41ce132a385f8b407f53feaa7854c7e3ecd5bbebc73622d9f0dfdd5000fa1f1545c4c4126d1d83e5d78d203180aec1f09d05369776c5b70f7ffddc 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch -a49b175ac231ae683bfbd8e422ac61e55f8ed265ec6bfa5b5a32800ba0605fde48088c12bf5b4ed29c9e202dea93c9443c67c61c2f2eecd709e6aefb3f1ffd32 0034-gcc-go-signal-34-is-special-on-musl-libc.patch -70d8725a3969e7b153db01c84dac5accb911d1b595072eda3bf0e2f24037ebcba478b7c2e80ab105ba3f06b404fd47deb8b509e1f5e652f40bf3b6eafef6f0d0 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch -eeb75092443f65e4da76293be1d1a742a0e951c763b5a59ffce056b4a7a84b33dade0e1c96a9887474d16571c797d916c7357ad7fb8004ddbe5195175ca55954 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch -c6dbba1ae7e11ab0ff58f4c001b5b76c776bf42f17591bc035b42bd7c4e473d837e7daf58e71949889cd1631a88ef5da7058e5d65292090d844077fbb2f6ae02 0037-gcc-go-link-to-libucontext.patch -11e017e82c9e3a8216703972a2d5195eb9153f224d43aeda0aa63519f39212d735b9018ea1c28a214e1eaac31339b5b48273d46a009d82c16a5041d1c0462b2f 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch -f83a53fefcadcae65fbda5e7d7f3dc3ee949596056ac1b4fbd3117af469a2ea306cacb4f58c345018c12868f64d63d82b1de63a65fcba21749a0a85c6dcaa95a 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch -b19533749ca4048a2956eab18b99fb2e1c5e4cffe9bf4a77d628b0e167af1f9dbb08a747d7888b365789ab9c6e5ce8cd6c09ef171e33f08c136ef6d4b5f05192 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch" +sha512sums="175886a1df08c017c59463233745acfa650fb194e18c940eb1dad0d95ba56921c8fa7a1102f9046b49a3fd90dd9c6100413cbb6318870b05a640aa25588c4ea0 gcc-10.3.1_git20210409.tar.xz +c7c4dc20966dc03372a1098af29880f480432539964a0df9c99050953ba8477bec1fda356d9542a18a037739c1e221ef8252ee85e92360811c314e677db393dd 0001-posix_memalign.patch +ee0a0f510f260f3d72d9f49a7278256ad3e5091eb4ed85198f3bb415e103d407ec8d7b18c686d1a64d61374674dc82118a0bcc21234096926ab3697b1aa123b6 0002-gcc-poison-system-directories.patch +f8f42b7557a39950d097e3163d69f17e1b8ffcfb9cd4137a318e150ebfe7e23b48075aaad02a0d122c0aa5b8b84681219ac185e88dbba724615bc52df2e5e645 0003-Turn-on-Wl-z-relro-z-now-by-default.patch +1f771b738d24e0168e14cebbc917ffda0d9c0a155eb6cd7bb01767649a2bb51253587c8001fa59968f2dfd26dd9aeb606075c357c9c12ee05f5b42c18646b758 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +61a7b8d22ee6e03d9ed54ed9c505fdc032035fa31e2eb4c314e832c2a532acdda91cbf69a07a52d2a038c7ae6d8536999e5754058019f38ad531336397daf804 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +7d4e573739859e0f76da7cf38c1dac4eca8d21a875390c45585a418e9d6c0e70022cfc2d930103cde67926b310a4592b11a8fe7e4d1eca514423c08c631fee04 0006-Enable-Wformat-and-Wformat-security-by-default.patch +5c277667aef1b3a9c9537bf7ac44f8e3eab40d2687f4b05a07810778715c4ed4db93a3ace98440fa3212bcc8d77ab33414607d68b36fd5edfded988a4cfe6945 0007-Enable-Wtrampolines-by-default.patch +ba8a1521b50cbf68a49dc01a4b2f51f461c2d60e28aa4a5b64ede1de21116e06ba35ff0c54e7c48b36d0904fef47e0a15207b4d2c7248885bca3a011b22abb56 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +19613149833edecd3e8b949da3e93e3c9187d4c85554f0ea4a19204aa02785f5e2aef8c59d2eca013c630366bd5cf781569c1070f6ac05432154e37324b49ba9 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +15d7d73a20a32f8b2ad77c358225cb12d25c6f4161ac826282c9ee2ed6a91ba9536360af0146b9bbbf4704d2f0292576b32f48af4bd8a51c989159140ba92618 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +c2a353751286da8a53eb8ed4b8c947cb0b25925a4b3de2302df7f015e219868d67a313c557f54b45a4e588a759ea9e04e4c7f46862aacf49d32f0a1284730581 0011-libiberty-copy-PIC-objects-during-build-process.patch +330c4d051d2332908b7b6d63bd852fa7ddfbd50aa51000b62ebd9ad573565b1af29f4912781bc8b8ff45176230240512915eb80d19b7ab5710835459ad0f56e5 0012-libitm-disable-FORTIFY.patch +dbb2c022a5d6a374b91e8db74b853162436f44755799c6a0d5b1eff84afa4b79aa953dfd944051a9022c18b80976373451f261cc7c882356172b7ffd2a4facdf 0013-libgcc_s.patch +ab229d854e0eafc5ee9bdd828312b90d09f4d288ef0ccc38b6b188f8628f9d2af11e4565a332007c3e86fbc8cdde2c700c33535395c0efdb99753f6954669ab9 0014-nopie.patch +7baee361d199e1070e9f5029f289298e35e4515e465183d723c422d53e113f3c26d806a44220aeb7de595c6f4c3a739c3665dd836395d53c9baae1b85faaf4d2 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +268aad733c78ad816fb8898721afcaf2a433c9dae450535519c8e974c9018b42d72c9fe8eaef65afe02d96f732bebbe9c346ed6ede147b5b34bca21e56db110b 0016-dlang-update-zlib-binding.patch +5aeeb17a2f1b6a89b6ca9a6fbddd2f3072c3d2144c0dfdb181385ac9a29bbfb904cccfac64d0fe8307763b185578e0669227ab6af17dfd664e9de6929580ebc4 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +eed46a26d0b8d8c84690ef6506087cda25ae8d91ab8968b9d27ba09ebd79b96f8fd013d672f41b2193fcbf5edc1a4f8e39e397eccb877ced506f98d76e6a06e2 0018-ada-fix-shared-linking.patch +edd409f50beae54b111002959be6223436d62111c82be80148a83877b03f1d29218bd0dd886583decd394c077957684f4964aecb8e33cab499052e9b17e333ec 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +854b5a3df20180e2e390d57b2a1665b6f390b7e2ec6f84371057c900802dfe1b1cebcc5e9cdae54de5db4335b425681b06cb60c4f51964b32fdf963420c6e491 0020-add-fortify-headers-paths.patch +d9bcf5414f3f7d77e0b16cc933db7b7ef20512ac5a3f9d64a80191455394e6348b654c9a9d230ca93af2789a7a334c8a10417c2833046284a9c54b76d8b02931 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +f04db8f8a1822be5d832ecddfa66bf7faaf7086c55afa8775879625d8a42b986a70602cd7bc76fdc672808cf3932daee61123da9835a1d940cfc0a656706609d 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +0a879aa3e9693710de04e5845ae4bfaed36e35288d3c794693f141819b7572efb3cf1bb1f467bb88ec15124dba3450a34496e8b4eca3d562d90a16a6651c6af1 0023-Pure-64-bit-MIPS.patch +46724b82a9d2305a5d11029a0575637593c45e408c353147ac5d1cfc871076679f2b0c4069f1b005cf0a66bc18aa6485db84d367cff3a8bb979d1a1de91f5c03 0024-use-pure-64-bit-configuration-where-appropriate.patch +38939c2cf7de961437ce55a31a49adf43731b780a37e4a0ad3a0d982a9d9207ca8cbd30ce6d8da030e6030ce177fda36b371e1a576ebe6ef17ae9f3195836db9 0025-always-build-libgcc_eh.a.patch +5938442f0d1f562163ac4f30bfa7ac792c185c95fff25f1659a27f7d786bb62f428707d08a2d5601f9159ca0f32b29796a7aafbc180f548000a4c1d0b2af242f 0026-ada-libgnarl-compatibility-for-musl.patch +d1129aaa8291d60b872cc114c13235ad409fd8287771f10c717938acc789cadd0886a10855fa70f23096701d5a7c2dff87ee2b2ad6a47d1ddab67ce5abaae15f 0027-ada-musl-support-fixes.patch +6dd92d73ce05a808b0184fbedd41305e229acc0a6879fa52e3b28f483f32b09d21f79a3c23a32574c019b5e58908385187a2ae0b35f6a7fcfa3293478ff48965 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +47cddc0376a780b6f75adfcc4e2e887abeaabf0f3cb17e3583b798d9e6aa073f773ba11e59214ea8a0054635d37dcd0c054547f0eef4e45c19b04c09d8c1bee6 0029-gcc-go-Don-t-include-sys-user.h.patch +af1aa70aafd9bb7416a86c407aa3227809b725748ab0a46a2437b950783545e781c3c974003b3c7e7e480fed07e9f098183737877885583b466bd6f9cebd3996 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +9cbbaa3a7eb80d6d37ec53c7963fc97dff8e2b868337636371d4258aeaae48e01892e688fcf1638766a3e15dd69da29ab8bd31ec07838c2476f7aaf5603c0eb6 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +342498934c658e118bf9a2097e8ce49dfccd56068a4042cda3d3de2dd5c302da7ea30ba6f20d023afd5e7cef189fa6e05f941a0c5f6438bb267932d593d160c5 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +7946254594aea17a1795c7be03478bc206c612319107a5b5d50b660b3eb0a896fe2defcc09837366f8c749da655471e22742cae6cd916717adb537de2d9cb0f7 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +09c8c091163eddec1971d734e3a9c26794f0274ec97f319f469f8ecfeeb9973db51d49d0d0c748e0ccc757230bd6bdff8734e19ee8c33ed7cb5825176121f138 0034-gcc-go-signal-34-is-special-on-musl-libc.patch +2e42058f32c769a6d550c8d5f5fda29c716dec30ff6c9f055152064af7e3368322938831bbaa6a6800910c78798fdb9ac4a24acdd739e42f5c5c008ddc25f0ce 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +0a9d4958c151ce716fdf0d8b9474bda893ec46a19322805ce71b0d45f102abf07c20832afd58313ff87010e917739d75837e343b8c3668cbbfdd1cdb8ddb1446 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +674c828e93aa84cd07894bab320e410bb35ac469d7a1312d623af898b4ba82a1a513ed3037e5f9026e881c136717012af5ff5049a7586d664961e0a02795e094 0037-gcc-go-link-to-libucontext.patch +501e01642183040992ea29d3dc30c918960a83ef386dc6c0f21863b1d4367983bde0ec6c955a8efac5fb52a53ce6dd2670dbfe8b32c72875fcbe6fe0ad92501e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +ca264938dba3ec0086a463127e7f14932a556c6b54cb36638a3d974be83d0d67cf6707e9230dcf4d527962de1c0060a6084b2346f8d374ee5c851828138ded4c 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +8e0e203f8c66a496151db561e88612f7ce9295a420f8436e43a4ca1ae330bdbe7aeecfe6616f7331cb7913f9cc9ee1f83c94f798515fb91a4037f8b276d10ece 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch" diff --git a/cross/gcc-armhf/0001-posix_memalign.patch b/cross/gcc-armhf/0001-posix_memalign.patch index 3ac7095b5..9e1d18aa9 100644 --- a/cross/gcc-armhf/0001-posix_memalign.patch +++ b/cross/gcc-armhf/0001-posix_memalign.patch @@ -1,7 +1,7 @@ -From 56ba7da205f1ec49b1379ab40d533c2e2d70a1a7 Mon Sep 17 00:00:00 2001 +From 4caf1c3a96f293b8ae0094ea70b2b468e14d787c Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 26 Jan 2018 20:32:50 +0000 -Subject: [PATCH] posix_memalign +Subject: [PATCH 01/40] posix_memalign --- gcc/config/i386/pmm_malloc.h | 9 +++++---- diff --git a/cross/gcc-armhf/0002-gcc-poison-system-directories.patch b/cross/gcc-armhf/0002-gcc-poison-system-directories.patch index fc54032ab..788e0b5ba 100644 --- a/cross/gcc-armhf/0002-gcc-poison-system-directories.patch +++ b/cross/gcc-armhf/0002-gcc-poison-system-directories.patch @@ -1,7 +1,7 @@ -From 4c53f798c9823dcfc7fe8e2dd26de0077545069d Mon Sep 17 00:00:00 2001 +From e4a68f2674e1959920969dc4f73f29eb6ec002b7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 29 Mar 2013 08:59:00 +0400 -Subject: [PATCH] gcc: poison-system-directories +Subject: [PATCH 02/40] gcc: poison-system-directories Add /sw/include and /opt/include based on the original zecke-no-host-includes.patch patch. The original patch checked for @@ -26,7 +26,7 @@ Upstream-Status: Pending 7 files changed, 68 insertions(+) diff --git a/gcc/common.opt b/gcc/common.opt -index 9cc47b16cac..d8b2e237d89 100644 +index ec5235c3a41..ca942863064 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -682,6 +682,10 @@ Wreturn-local-addr @@ -120,7 +120,7 @@ index 84dceb8074a..bf64ffbe46f 100644 AC_SUBST(subdirs) AC_SUBST(srcdir) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index 0c1b5975e6b..ede239a0ccd 100644 +index eabeec944e7..cd31b522e42 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}. diff --git a/cross/gcc-armhf/0003-Turn-on-Wl-z-relro-z-now-by-default.patch b/cross/gcc-armhf/0003-Turn-on-Wl-z-relro-z-now-by-default.patch index 76415a65f..949a41a0e 100644 --- a/cross/gcc-armhf/0003-Turn-on-Wl-z-relro-z-now-by-default.patch +++ b/cross/gcc-armhf/0003-Turn-on-Wl-z-relro-z-now-by-default.patch @@ -1,7 +1,7 @@ -From caf66e830299ba0a865041800ea9b32a3091f141 Mon Sep 17 00:00:00 2001 +From 2773fe84bc49e9baca7ddb2ba3e3727e36bd7a63 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:45:49 +0000 -Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default. +Subject: [PATCH 03/40] Turn on -Wl,-z,relro,-z,now by default. --- gcc/doc/invoke.texi | 3 +++ @@ -9,7 +9,7 @@ Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default. 2 files changed, 4 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index ede239a0ccd..43d02c26a1a 100644 +index cd31b522e42..17d371ef432 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -14663,6 +14663,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the diff --git a/cross/gcc-armhf/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch b/cross/gcc-armhf/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch index 6e7614c8e..e2903466e 100644 --- a/cross/gcc-armhf/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +++ b/cross/gcc-armhf/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch @@ -1,8 +1,8 @@ -From 48413b53fb7c9d780b55b84eaf6c70f154719907 Mon Sep 17 00:00:00 2001 +From a3ab0f59c562f72112f1229e005e4baad7b202e4 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:46:22 +0000 -Subject: [PATCH] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC, - ObjC++, if the optimization level is > 0 +Subject: [PATCH 04/40] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, + ObjC, ObjC++, if the optimization level is > 0 --- gcc/c-family/c-cppbuiltin.c | 4 ++++ @@ -25,7 +25,7 @@ index db91a36794a..ed976c71404 100644 if (flag_gnu89_inline) cpp_define (pfile, "__GNUC_GNU_INLINE__"); diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index 43d02c26a1a..78469ebe55d 100644 +index 17d371ef432..fe793ac08db 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -9230,6 +9230,12 @@ also turns on the following optimization flags: diff --git a/cross/gcc-armhf/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch b/cross/gcc-armhf/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch index 5a02acacc..ddc5b8ee0 100644 --- a/cross/gcc-armhf/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +++ b/cross/gcc-armhf/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch @@ -1,8 +1,8 @@ -From 31ec8fceef33284c4ed3ca4bb97e4a24eb088265 Mon Sep 17 00:00:00 2001 +From 6f324533a60b7e9a0a21e3f1c5f3f25d9d099a41 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:46:56 +0000 -Subject: [PATCH] On linux targets pass --as-needed by default to the linker, - but always link the sanitizer libraries with --no-as-needed. +Subject: [PATCH 05/40] On linux targets pass --as-needed by default to the + linker, but always link the sanitizer libraries with --no-as-needed. --- gcc/config/aarch64/aarch64-linux.h | 1 + diff --git a/cross/gcc-armhf/0006-Enable-Wformat-and-Wformat-security-by-default.patch b/cross/gcc-armhf/0006-Enable-Wformat-and-Wformat-security-by-default.patch index fa32a821a..bb761daba 100644 --- a/cross/gcc-armhf/0006-Enable-Wformat-and-Wformat-security-by-default.patch +++ b/cross/gcc-armhf/0006-Enable-Wformat-and-Wformat-security-by-default.patch @@ -1,7 +1,7 @@ -From 1a17780987ee63da34d330e9a2b186751c929c46 Mon Sep 17 00:00:00 2001 +From a9444c2a174a60bbc659b376f21674e02be669c1 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:47:43 +0000 -Subject: [PATCH] Enable -Wformat and -Wformat-security by default. +Subject: [PATCH 06/40] Enable -Wformat and -Wformat-security by default. --- gcc/c-family/c.opt | 4 ++-- diff --git a/cross/gcc-armhf/0007-Enable-Wtrampolines-by-default.patch b/cross/gcc-armhf/0007-Enable-Wtrampolines-by-default.patch index 21e49d251..e0d4245aa 100644 --- a/cross/gcc-armhf/0007-Enable-Wtrampolines-by-default.patch +++ b/cross/gcc-armhf/0007-Enable-Wtrampolines-by-default.patch @@ -1,14 +1,14 @@ -From 901acffb0caae749c5b830d01a6e858f34311cd5 Mon Sep 17 00:00:00 2001 +From d20e8bab053eb3a31a08deeae8d0829ba84f47e3 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:48:24 +0000 -Subject: [PATCH] Enable -Wtrampolines by default. +Subject: [PATCH 07/40] Enable -Wtrampolines by default. --- gcc/common.opt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/common.opt b/gcc/common.opt -index d8b2e237d89..5087ae84d49 100644 +index ca942863064..0a0ab6195ee 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning diff --git a/cross/gcc-armhf/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch b/cross/gcc-armhf/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch index edd4658ee..6b076ca23 100644 --- a/cross/gcc-armhf/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +++ b/cross/gcc-armhf/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch @@ -1,8 +1,8 @@ -From 4d09aa762edd682ffb7665b21f7ecd6e1cf90a3f Mon Sep 17 00:00:00 2001 +From d8613c37b889fc42c2b9ffada1e2906d5e4cf062 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:49:40 +0000 -Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding - Change the buffer size. +Subject: [PATCH 08/40] Disable ssp on -nostdlib, -nodefaultlibs and + -ffreestanding Change the buffer size. --- gcc/gcc.c | 8 +++++++- diff --git a/cross/gcc-armhf/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch b/cross/gcc-armhf/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch index 74610fa5a..7e2237778 100644 --- a/cross/gcc-armhf/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +++ b/cross/gcc-armhf/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch @@ -1,8 +1,8 @@ -From e9b5aa5bb3788b2600a719d3b5ed56e3397ec0ad Mon Sep 17 00:00:00 2001 +From 9a3d57157595f98d2bd58424642c3539fd2a2668 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:50:33 +0000 -Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc - bootstrapping. +Subject: [PATCH 09/40] Ensure that msgfmt doesn't encounter problems during + gcc bootstrapping. Solves error messages like the following: diff --git a/cross/gcc-armhf/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch b/cross/gcc-armhf/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch index 545e90606..47ca5c54c 100644 --- a/cross/gcc-armhf/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +++ b/cross/gcc-armhf/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch @@ -1,7 +1,7 @@ -From d87e3805d5f308798e82008b9b3c3440958b6f20 Mon Sep 17 00:00:00 2001 +From 177f24cbf26c14ea07c4769e6fd2598a85e06d2e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:52:07 +0000 -Subject: [PATCH] Don't declare asprintf if defined as a macro. +Subject: [PATCH 10/40] Don't declare asprintf if defined as a macro. --- include/libiberty.h | 3 +++ diff --git a/cross/gcc-armhf/0011-libiberty-copy-PIC-objects-during-build-process.patch b/cross/gcc-armhf/0011-libiberty-copy-PIC-objects-during-build-process.patch index d7b6f297e..c0b11f595 100644 --- a/cross/gcc-armhf/0011-libiberty-copy-PIC-objects-during-build-process.patch +++ b/cross/gcc-armhf/0011-libiberty-copy-PIC-objects-during-build-process.patch @@ -1,7 +1,7 @@ -From 33b3fa0e5bc57219de066c04beaf4fcd09054812 Mon Sep 17 00:00:00 2001 +From 31301d91ac46894423188ebd0f961cfca709d66c Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:53:00 +0000 -Subject: [PATCH] libiberty: copy PIC objects during build process +Subject: [PATCH 11/40] libiberty: copy PIC objects during build process --- libiberty/Makefile.in | 1 + diff --git a/cross/gcc-armhf/0012-libitm-disable-FORTIFY.patch b/cross/gcc-armhf/0012-libitm-disable-FORTIFY.patch index 80bae51c3..e520d3e61 100644 --- a/cross/gcc-armhf/0012-libitm-disable-FORTIFY.patch +++ b/cross/gcc-armhf/0012-libitm-disable-FORTIFY.patch @@ -1,7 +1,7 @@ -From 0538fa07136fefd76a0b958db48cd6a06eaf630c Mon Sep 17 00:00:00 2001 +From 3cc4794124dd7306e759a8f1769319144e5bdc63 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:53:36 +0000 -Subject: [PATCH] libitm: disable FORTIFY +Subject: [PATCH 12/40] libitm: disable FORTIFY --- libitm/configure.tgt | 10 ++++++++++ diff --git a/cross/gcc-armhf/0013-libgcc_s.patch b/cross/gcc-armhf/0013-libgcc_s.patch index 58ed29506..4bf1446f4 100644 --- a/cross/gcc-armhf/0013-libgcc_s.patch +++ b/cross/gcc-armhf/0013-libgcc_s.patch @@ -1,7 +1,7 @@ -From 7f4a2e2f3ab6b649538f3fd775a6f7a5507de543 Mon Sep 17 00:00:00 2001 +From ac9489e4b3ad3f22f88d1bab3e103ffd3a287d18 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 24 Oct 2015 20:09:53 +0000 -Subject: [PATCH] libgcc_s +Subject: [PATCH 13/40] libgcc_s --- gcc/config/i386/i386-expand.c | 4 ++-- @@ -27,10 +27,10 @@ index 47d52550e5e..9cb8cc7950e 100644 return expand_expr (call_expr, target, mode, EXPAND_NORMAL); } diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c -index cf5f0884bb4..ed0381e7744 100644 +index 83301a1445f..89fdc7eb587 100644 --- a/libgcc/config/i386/cpuinfo.c +++ b/libgcc/config/i386/cpuinfo.c -@@ -510,7 +510,7 @@ __cpu_indicator_init (void) +@@ -516,7 +516,7 @@ __cpu_indicator_init (void) return 0; } diff --git a/cross/gcc-armhf/0014-nopie.patch b/cross/gcc-armhf/0014-nopie.patch index 19995f51c..e398c7554 100644 --- a/cross/gcc-armhf/0014-nopie.patch +++ b/cross/gcc-armhf/0014-nopie.patch @@ -1,7 +1,7 @@ -From 6c3e5f01e4ac338e85b1a6b5956699d882705882 Mon Sep 17 00:00:00 2001 +From ebca654224b0b55753748a7954570726908c474e Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 7 Nov 2015 02:08:05 +0000 -Subject: [PATCH] nopie +Subject: [PATCH 14/40] nopie --- gcc/configure | 27 +++++++++++++++++++++++++++ diff --git a/cross/gcc-armhf/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch b/cross/gcc-armhf/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch index 940d61577..1e2b22a8a 100644 --- a/cross/gcc-armhf/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +++ b/cross/gcc-armhf/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch @@ -1,7 +1,7 @@ -From 66657865719efb0a86ea2ab75511cb326e8aa46f Mon Sep 17 00:00:00 2001 +From 288130bb8f622a813f4937b28ff2129be4a7e2ba Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:57:09 +0000 -Subject: [PATCH] libffi: use __linux__ instead of __gnu_linux__ for musl +Subject: [PATCH 15/40] libffi: use __linux__ instead of __gnu_linux__ for musl --- libffi/src/closures.c | 2 +- diff --git a/cross/gcc-armhf/0016-dlang-update-zlib-binding.patch b/cross/gcc-armhf/0016-dlang-update-zlib-binding.patch index 8a773f7d7..3b80f61d9 100644 --- a/cross/gcc-armhf/0016-dlang-update-zlib-binding.patch +++ b/cross/gcc-armhf/0016-dlang-update-zlib-binding.patch @@ -1,7 +1,7 @@ -From b8a954b1e4033ff559e312d693c74e90e3f13210 Mon Sep 17 00:00:00 2001 +From bc17bd672e11321d903245a3059e9788c8f83a7f Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:57:51 +0000 -Subject: [PATCH] dlang: update zlib binding +Subject: [PATCH 16/40] dlang: update zlib binding --- libphobos/src/std/zlib.d | 266 ++++++++++++++++++++++++++++----------- diff --git a/cross/gcc-armhf/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch b/cross/gcc-armhf/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch index 6a0eae7c5..c92bfe768 100644 --- a/cross/gcc-armhf/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +++ b/cross/gcc-armhf/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch @@ -1,7 +1,7 @@ -From 4d1fe9d5df3ab850df21d68c73d2d3c601910288 Mon Sep 17 00:00:00 2001 +From 6216a5dd04b5722cae21ba57ac4747f402d6d11a Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:58:22 +0000 -Subject: [PATCH] dlang: fix fcntl on mips, add libucontext dep +Subject: [PATCH 17/40] dlang: fix fcntl on mips, add libucontext dep --- libphobos/configure.tgt | 1 + diff --git a/cross/gcc-armhf/0018-ada-fix-shared-linking.patch b/cross/gcc-armhf/0018-ada-fix-shared-linking.patch index 0e02a22aa..2c2120e83 100644 --- a/cross/gcc-armhf/0018-ada-fix-shared-linking.patch +++ b/cross/gcc-armhf/0018-ada-fix-shared-linking.patch @@ -1,7 +1,7 @@ -From 04d8d2c7052c0e92825b4246da0df9ac8753701e Mon Sep 17 00:00:00 2001 +From ebc8584a9b7ed1f5fd6fc01d7cc0b718ea0f063e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:59:16 +0000 -Subject: [PATCH] ada: fix shared linking +Subject: [PATCH 18/40] ada: fix shared linking --- gcc/ada/link.c | 12 ++++++------ diff --git a/cross/gcc-armhf/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch b/cross/gcc-armhf/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch index 2de53048a..0206c8c52 100644 --- a/cross/gcc-armhf/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +++ b/cross/gcc-armhf/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch @@ -1,7 +1,7 @@ -From 3da9a00035f6052926918200fdbeff478ff88d28 Mon Sep 17 00:00:00 2001 +From 1c99fd83e51934aded85825d5474f57d1d06090e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:59:43 +0000 -Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing +Subject: [PATCH 19/40] build: fix CXXFLAGS_FOR_BUILD passing --- Makefile.in | 1 + diff --git a/cross/gcc-armhf/0020-add-fortify-headers-paths.patch b/cross/gcc-armhf/0020-add-fortify-headers-paths.patch index 2270010f6..521598ce9 100644 --- a/cross/gcc-armhf/0020-add-fortify-headers-paths.patch +++ b/cross/gcc-armhf/0020-add-fortify-headers-paths.patch @@ -1,7 +1,7 @@ -From 1274452fed850d4910aac101aa50c26a2011e15f Mon Sep 17 00:00:00 2001 +From d620a4e35183dc7cfeab739312fc3d7b98a11e31 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:01:06 +0000 -Subject: [PATCH] add fortify-headers paths +Subject: [PATCH 20/40] add fortify-headers paths --- gcc/config/linux.h | 2 ++ diff --git a/cross/gcc-armhf/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch b/cross/gcc-armhf/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch index c5b178011..c52077dbb 100644 --- a/cross/gcc-armhf/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +++ b/cross/gcc-armhf/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch @@ -1,9 +1,9 @@ -From 427c95f4cd889f97983d2b5ac4de6501bcf53166 Mon Sep 17 00:00:00 2001 +From 45863e36e6e69a7f78388890297d897f97f45f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 21 Aug 2020 07:03:00 +0000 -Subject: [PATCH] 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. +Subject: [PATCH 21/40] 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. diff --git a/cross/gcc-armhf/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch b/cross/gcc-armhf/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch index 8466348da..e50fda5bc 100644 --- a/cross/gcc-armhf/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +++ b/cross/gcc-armhf/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch @@ -1,7 +1,7 @@ -From d3440b3e7d5d9448309b4c3f74487f4c05726a5a Mon Sep 17 00:00:00 2001 +From 99f18a789cccc40de0adb14cca064335cbb7d5a0 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:03:42 +0000 -Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when +Subject: [PATCH 22/40] DP: Use --push-state/--pop-state for gold as well when linking libtsan. --- diff --git a/cross/gcc-armhf/0023-Pure-64-bit-MIPS.patch b/cross/gcc-armhf/0023-Pure-64-bit-MIPS.patch index f990734e5..11e7e822e 100644 --- a/cross/gcc-armhf/0023-Pure-64-bit-MIPS.patch +++ b/cross/gcc-armhf/0023-Pure-64-bit-MIPS.patch @@ -1,7 +1,7 @@ -From 5b1bffa6323f1e9f981f1db2b574a876ebcf2bd6 Mon Sep 17 00:00:00 2001 +From 71b4599cd1a7512221e3b209d084ee0e80cae56f Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Thu, 21 Dec 2017 03:14:33 +0100 -Subject: [PATCH] Pure 64-bit MIPS +Subject: [PATCH 23/40] Pure 64-bit MIPS --- gcc/config/mips/mips.h | 8 ++++---- diff --git a/cross/gcc-armhf/0024-use-pure-64-bit-configuration-where-appropriate.patch b/cross/gcc-armhf/0024-use-pure-64-bit-configuration-where-appropriate.patch index 24013458f..8a0ff2db3 100644 --- a/cross/gcc-armhf/0024-use-pure-64-bit-configuration-where-appropriate.patch +++ b/cross/gcc-armhf/0024-use-pure-64-bit-configuration-where-appropriate.patch @@ -1,7 +1,7 @@ -From 7a38f81aa9cc5ed4a39b54480209e29615bd6594 Mon Sep 17 00:00:00 2001 +From 23b8d3f4ed85efe3104666e81988f7604a617cc3 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:04:40 +0000 -Subject: [PATCH] use pure 64-bit configuration where appropriate +Subject: [PATCH 24/40] use pure 64-bit configuration where appropriate --- gcc/config/aarch64/t-aarch64-linux | 2 +- diff --git a/cross/gcc-armhf/0025-always-build-libgcc_eh.a.patch b/cross/gcc-armhf/0025-always-build-libgcc_eh.a.patch index 186277f50..3868a9b06 100644 --- a/cross/gcc-armhf/0025-always-build-libgcc_eh.a.patch +++ b/cross/gcc-armhf/0025-always-build-libgcc_eh.a.patch @@ -1,7 +1,7 @@ -From eb4c45fb32845cf9ed5e3627380d889f972dbb02 Mon Sep 17 00:00:00 2001 +From ca5e35a64f95ecc644f6f2d5f874755f1b5bdbf2 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:05:41 +0000 -Subject: [PATCH] always build libgcc_eh.a +Subject: [PATCH 25/40] always build libgcc_eh.a highly inspired by: http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch diff --git a/cross/gcc-armhf/0026-ada-libgnarl-compatibility-for-musl.patch b/cross/gcc-armhf/0026-ada-libgnarl-compatibility-for-musl.patch index 43de34492..24791ad39 100644 --- a/cross/gcc-armhf/0026-ada-libgnarl-compatibility-for-musl.patch +++ b/cross/gcc-armhf/0026-ada-libgnarl-compatibility-for-musl.patch @@ -1,7 +1,7 @@ -From f06868abe42037e8a97fb1e724df56a81b6d3b36 Mon Sep 17 00:00:00 2001 +From f3e0f7f460624a90416393902b946c0d74b507cc Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:06:30 +0000 -Subject: [PATCH] ada: libgnarl compatibility for musl +Subject: [PATCH 26/40] ada: libgnarl compatibility for musl --- gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------ diff --git a/cross/gcc-armhf/0027-ada-musl-support-fixes.patch b/cross/gcc-armhf/0027-ada-musl-support-fixes.patch index f8bbff130..5a8fa9cc8 100644 --- a/cross/gcc-armhf/0027-ada-musl-support-fixes.patch +++ b/cross/gcc-armhf/0027-ada-musl-support-fixes.patch @@ -1,7 +1,7 @@ -From b87099f99e9b97efa684d59a63a7585bc0ae7c34 Mon Sep 17 00:00:00 2001 +From 8bf9618294153d345905564ff68e2e3be810b8a4 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:07:48 +0000 -Subject: [PATCH] ada: musl support fixes +Subject: [PATCH 27/40] ada: musl support fixes --- gcc/ada/Makefile.rtl | 10 +++++----- diff --git a/cross/gcc-armhf/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch b/cross/gcc-armhf/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch index 94fae98c3..3b4197bc9 100644 --- a/cross/gcc-armhf/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +++ b/cross/gcc-armhf/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch @@ -1,7 +1,7 @@ -From ebfdc1ed30206086a1f59c0e45d11b735ca22181 Mon Sep 17 00:00:00 2001 +From 5a3e6a0890854f713100e9f2ea29bcc5b635e78a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:58:08 +0200 -Subject: [PATCH] gcc-go: Use _off_t type instead of _loff_t +Subject: [PATCH 28/40] gcc-go: Use _off_t type instead of _loff_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armhf/0029-gcc-go-Don-t-include-sys-user.h.patch b/cross/gcc-armhf/0029-gcc-go-Don-t-include-sys-user.h.patch index fe58b47bc..89fb390ea 100644 --- a/cross/gcc-armhf/0029-gcc-go-Don-t-include-sys-user.h.patch +++ b/cross/gcc-armhf/0029-gcc-go-Don-t-include-sys-user.h.patch @@ -1,7 +1,7 @@ -From 53c8bd07ef19cefadfd5ca6e2b845862ba9c4d14 Mon Sep 17 00:00:00 2001 +From 00252a5095ef24c86e500b460e290e1be07dcb7e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:58:21 +0200 -Subject: [PATCH] gcc-go: Don't include sys/user.h +Subject: [PATCH 29/40] gcc-go: Don't include sys/user.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armhf/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch b/cross/gcc-armhf/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch index e6781339f..a728a4132 100644 --- a/cross/gcc-armhf/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +++ b/cross/gcc-armhf/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch @@ -1,7 +1,7 @@ -From 4ebf1f48bae799d4d9c0d3de88c5d8e0f1f2900e Mon Sep 17 00:00:00 2001 +From 1f83a2aebcc6b672950629b3752651b4d1ea7a12 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:59:22 +0200 -Subject: [PATCH] gcc-go: Fix ucontext_t on PPC64 +Subject: [PATCH 30/40] gcc-go: Fix ucontext_t on PPC64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armhf/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch b/cross/gcc-armhf/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch index 85778c441..ce0a3cb16 100644 --- a/cross/gcc-armhf/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +++ b/cross/gcc-armhf/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch @@ -1,7 +1,7 @@ -From 2ea8b4f0d7cd8e96436ca14ef7f08615496d6d38 Mon Sep 17 00:00:00 2001 +From 8d4a5efa805cdb514c1dfa4bc6385ad190bd8797 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:59:45 +0200 -Subject: [PATCH] gcc-go: Fix handling of signal 34 on musl +Subject: [PATCH 31/40] gcc-go: Fix handling of signal 34 on musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armhf/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch b/cross/gcc-armhf/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch index a69201156..0aa31726a 100644 --- a/cross/gcc-armhf/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +++ b/cross/gcc-armhf/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch @@ -1,7 +1,7 @@ -From 65212bcce99563e6fa7a0334f1a82bde47ade70c Mon Sep 17 00:00:00 2001 +From 8d2fd5e6b0824425ed614d4470494e9756724ecd Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:01:03 +0200 -Subject: [PATCH] gcc-go: Use int64 type as offset argument for mmap +Subject: [PATCH 32/40] gcc-go: Use int64 type as offset argument for mmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armhf/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch b/cross/gcc-armhf/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch index 1884fb327..9826fcadf 100644 --- a/cross/gcc-armhf/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +++ b/cross/gcc-armhf/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch @@ -1,7 +1,8 @@ -From 1fa468989614c5ada2d2a0fac67cc542900ff5de Mon Sep 17 00:00:00 2001 +From f76f5767a1ebbdc6f0bf5d3c180ff9d68dec3ae5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:02:28 +0200 -Subject: [PATCH] gcc-go: Fix st_{a,m,c}tim fields in generated sysinfo.go +Subject: [PATCH 33/40] gcc-go: Fix st_{a,m,c}tim fields in generated + sysinfo.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armhf/0034-gcc-go-signal-34-is-special-on-musl-libc.patch b/cross/gcc-armhf/0034-gcc-go-signal-34-is-special-on-musl-libc.patch index 6ba268884..5ac82fc37 100644 --- a/cross/gcc-armhf/0034-gcc-go-signal-34-is-special-on-musl-libc.patch +++ b/cross/gcc-armhf/0034-gcc-go-signal-34-is-special-on-musl-libc.patch @@ -1,7 +1,7 @@ -From 1e401424a24c4d09890c498e9cf37dd65f98fd40 Mon Sep 17 00:00:00 2001 +From 82de62b8ce83e80b37bac6d4ad8b41e7d7a0de05 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:03:03 +0200 -Subject: [PATCH] gcc-go: signal 34 is special on musl libc +Subject: [PATCH 34/40] gcc-go: signal 34 is special on musl libc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armhf/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch b/cross/gcc-armhf/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch index 1b6fd4d72..2b68a9907 100644 --- a/cross/gcc-armhf/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +++ b/cross/gcc-armhf/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch @@ -1,7 +1,7 @@ -From c32a6473e0b51b02401c403b4fa104a82b2c6147 Mon Sep 17 00:00:00 2001 +From d78313c65a087c859cae3771699e798d3f10966e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 30 Aug 2020 19:26:53 +0200 -Subject: [PATCH] gcc-go: Prefer _off_t over _off64_t +Subject: [PATCH 35/40] gcc-go: Prefer _off_t over _off64_t musl does not seem to have _off64_t. --- diff --git a/cross/gcc-armhf/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch b/cross/gcc-armhf/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch index 1cc8dab59..73477d507 100644 --- a/cross/gcc-armhf/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +++ b/cross/gcc-armhf/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch @@ -1,7 +1,7 @@ -From 87b7fd27b0b2cc041e2cc989e77a7eda8fc330a2 Mon Sep 17 00:00:00 2001 +From b0c49ce2ced307af0248e6aed20da0f351f2f39c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 30 Aug 2020 19:27:51 +0200 -Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c +Subject: [PATCH 36/40] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c --- libgo/runtime/proc.c | 4 ++++ diff --git a/cross/gcc-armhf/0037-gcc-go-link-to-libucontext.patch b/cross/gcc-armhf/0037-gcc-go-link-to-libucontext.patch index 801382e57..0997288db 100644 --- a/cross/gcc-armhf/0037-gcc-go-link-to-libucontext.patch +++ b/cross/gcc-armhf/0037-gcc-go-link-to-libucontext.patch @@ -1,7 +1,7 @@ -From 16fd7a533bba015aca4d1c08c7a18f7a6d07ad26 Mon Sep 17 00:00:00 2001 +From b0e76ff4511a5ca4c790a123dc347a0aa7008dd9 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 31 Aug 2020 08:59:40 +0200 -Subject: [PATCH] gcc-go: link to libucontext +Subject: [PATCH 37/40] gcc-go: link to libucontext --- Makefile.in | 2 +- diff --git a/cross/gcc-armhf/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch b/cross/gcc-armhf/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch index 225930fbc..66dd1168b 100644 --- a/cross/gcc-armhf/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +++ b/cross/gcc-armhf/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch @@ -1,7 +1,8 @@ -From a56c34c3ca3b83f5481dad3888d936f859788614 Mon Sep 17 00:00:00 2001 +From f6bb4cd2ec5af0151e6282e78428a51553020542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Mon, 31 Aug 2020 20:26:56 +0200 -Subject: [PATCH] gcc-go: Disable printing of unaccessible ppc64 struct members +Subject: [PATCH 38/40] gcc-go: Disable printing of unaccessible ppc64 struct + members These struct members do not seem to exist on musl. --- diff --git a/cross/gcc-armhf/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch b/cross/gcc-armhf/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch index 878d48221..c244b94f7 100644 --- a/cross/gcc-armhf/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +++ b/cross/gcc-armhf/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch @@ -1,7 +1,7 @@ -From 7b2278e6d857f68c9cb956865c5037d73be69fc6 Mon Sep 17 00:00:00 2001 +From fb71a010a27aabb32f071b98adf872a188e8a01c Mon Sep 17 00:00:00 2001 From: Geod24 Date: Mon, 16 Nov 2020 18:40:46 +0100 -Subject: [PATCH] CRuntime_Musl: Support v1.2.0 for 32 bits +Subject: [PATCH 39/40] CRuntime_Musl: Support v1.2.0 for 32 bits As explained in the comment, `time_t` on Musl is now always 64 bits, but used to be 32 bits on 32 bits systems. diff --git a/cross/gcc-armhf/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch b/cross/gcc-armhf/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch index 626b79f7e..58e38be20 100644 --- a/cross/gcc-armhf/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch +++ b/cross/gcc-armhf/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch @@ -1,7 +1,7 @@ -From 8108772b5430b8d7a4fef8cd9d917a11fbb26fab Mon Sep 17 00:00:00 2001 +From 2cb6fe7a9f0d74ca8d3cb5c465cb720bd01ef28e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 9 Dec 2020 16:07:26 +0000 -Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in +Subject: [PATCH 40/40] configure: Add --enable-autolink-libatomic, use in LINK_GCC_C_SEQUENCE_SPEC [PR81358] This fixes issues with RISC-V. diff --git a/cross/gcc-armhf/APKBUILD b/cross/gcc-armhf/APKBUILD index 2f338fd5a..a22ba8b04 100644 --- a/cross/gcc-armhf/APKBUILD +++ b/cross/gcc-armhf/APKBUILD @@ -24,8 +24,8 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" pkgname=gcc-armhf -_pkgbase=10.2.1 -pkgver=10.2.1_git20210328 +_pkgbase=10.3.1 +pkgver=10.3.1_git20210409 [ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2" [ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross="" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" @@ -668,44 +668,44 @@ gnat() { mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/ } -sha512sums="44d785af0f7aa321487f23b7656877e8112ca2e0b93df538508031d6541db6f7e92ddefb40e44870f4f86adc8dd0efbca3b1748539d62c46f18ac667e134c7f6 gcc-10.2.1_git20210328.tar.xz -3b26000b0ffb3467d8d1b37782a4ba03564813ca33a2842ec2f86213e4ad8f0eba4dd55c43fe965fb90ab21bfecb7c8abd174b5faf09aad128ee25bfd1f48578 0001-posix_memalign.patch -9b6e01b6c61c6d30a5965a16f9057495b6e73387085ecff3db87ad4153305fdcec132ade9f13229539cf35c29e0ceaac38a0eeb9f9598e1a30a4f67a2352c0b6 0002-gcc-poison-system-directories.patch -eee255b920cfe35cb1df1c62a44f17c81479573308df87c12c0971a1dca82dd1c73a0544cc6ab9974cd75d212e19450fc855eaf794843f0d5541e9ba7985af2f 0003-Turn-on-Wl-z-relro-z-now-by-default.patch -b1967302576ede18efbfd7de6c191b7503bc43f205a6c22787823d1bd66f03d197bb2f0e674594707a9958932605b4b524568b2383fa62117bd5d80ecacce29c 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch -45c21abd2153541959352ed75ec322038c0950351c164d5540b61070fcaf158feee3ee82fd6dd9aea03d846edb99f487f76a312d442d70de16371c783fe3704b 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch -16a7b2a1e5c2191694131f2eee06adf3e45d59de83e1b5fa1dff43210b9a7f13234cf27a95d9a1d799bcd944aa2af8dc33396d518b574b8773ad52ebc6e80edc 0006-Enable-Wformat-and-Wformat-security-by-default.patch -daef4ebe907027b9ed2a4d940bb729355c86146dedd963f19b6f3e293e9e9807312c457a76c8599cc759283e7c35b85b721a60cabfc3026538efcbce212e10ea 0007-Enable-Wtrampolines-by-default.patch -f67ca64ef00350404a4db016e605a255e1669c9d05c86061816905348ddc9ffe260ae8d05d0fd1b9c9c2268b2943b2507a95e63ced39a4c5dfb791964f6f4a16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch -a7867b548b54ac81eedfda56679ee6658e690bb47528f9c437538c09bfeb5c8f0051788d61b480ddef3b3d16c4b2c35669741d5f99b2e68a89c7aec6280bc65f 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch -3d21fae6c58aabf7f05caabcc54635650e178d87d3816cfd367f14dfcfb0fa971526ce06d0c5f84557ce66220c2859b66897ede76c7e5d59cb72789b3b4edcae 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch -da4005b10d0222ebddc44dc9334933d80064583dc9f4e949ceef5b9739556d01ed91513a1a26758bf1211fd7a941d4e0d7cd1093b2f03cd00950981b8be87c1a 0011-libiberty-copy-PIC-objects-during-build-process.patch -f9acc3d4691525b6f64344485b9566a5e916572159c2b779f79324c56d6a3d9acb9c8dd79c0cf4d067737ca9c966aa1ba6b22c0eb6a4aadf91c54a3455a2bcd9 0012-libitm-disable-FORTIFY.patch -78fa151c0121455d52b7499b1e94761c4bb1150acaa751275df8e26ee27be785c78e2f7c7ec6fd3fda8cba431f2c151c79d61f9c00d51f55b2ae0ea588f3880c 0013-libgcc_s.patch -01afd5aab0f73ad2ee59459520d0fd93e772e954907e453ffc853e2b03f0c963f04abaea4479b202f79fa5c535b3a5b95f3ecde727ddfefb2c3e02e269ab39cc 0014-nopie.patch -1da8e1e5124e480b29b35c0401298d4c9a15b871e7bfede525df33e0ebaf56dc63d0854c28876d3ea77438353641c9ff5d4050698bca9fb91765ab92f9208359 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch -79853461889abccf810f70c8b6de5bb8a201681957dfeb1e7f0bc6acc3e939958f3e4012ff76ff01f7004398170566f100e49fa2ad3187dde4cdee60ac28a00d 0016-dlang-update-zlib-binding.patch -bbd954ac46d52d1fa8dcc731714424e026189d93eb6da6e632da997b3555b22dcff341626975d7acb795b655355ca493ebcffb925ba8b95e6dc3682a1c1e3fcf 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch -e6cd2ff6c03cad621bfd8b6c50bd7f9280a8a944096d0994cb11a7689c40cecffb2efc813db39e040c064ed1a8fa8bbd60ff51ab3bb69485faa216f4d9bab17d 0018-ada-fix-shared-linking.patch -a16631492e020f54fe19dc41ab831df881c96903d7ae9beaf9cfaed8c3bb65fdabea2ed0fc0945736a21432032623acb4403e9dc96d6020bd08b3836669719be 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch -1313e45ea2a9f8118d86a68e0942afc85840bbcc0154683f19660a09b7d51448f87ceb2e04fa9e70d84b7494467855f3062bb6be896cfbccb4ffb33dc3f836dd 0020-add-fortify-headers-paths.patch -a7f159ee2719cf16df666c58cac7266c6d14531076c719e3723f74b022c30338b7a53b0580aa373bcef8ccf607e7e54d4fb8d4da92da9ed82046797d8d4530e0 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch -b2d84e116538be203b10b795eb2ec11cd5aac3dc4b6d9216118b61de417929c68f3f961ae9c6edbb86a4f74305dabc26619aac1fe1ad289b274e4c546eeeb2dc 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch -72bb76b5e039c341c01d23dd503faaf290efd7389c748696ef058f9534d96bbfea8e56c52be4737a4ef7ab6bef8806c729d35175f5f55fddced42b3317ab223d 0023-Pure-64-bit-MIPS.patch -775fd10e51e80f22b21158c64cab69fbf7783dba784904a364614f319dca9c227d219714ddf4bb8c84d5e226322ce46739313f85e8b564df73f6ee91d54cfd82 0024-use-pure-64-bit-configuration-where-appropriate.patch -1fb0f5b812045f485051b16f5e7f4cf9785471a1c6069f88086edd41c65db4eb35681cc52916ef36586224ce7f5a66fc4e548076525afe6a6b56e21668fa5c81 0025-always-build-libgcc_eh.a.patch -84eb567250c6cc3c4dc00fb5a0de32648eb81b8bc50fb5b0fdcc7208118c887c7274677aafdc8e2400be4d44346ddaccc0b2a3eb99b000f06cc446e90e6c760d 0026-ada-libgnarl-compatibility-for-musl.patch -d6ea8bba98cca5cb9ef952c344f063d126dab7f7d30fbf411334be29e9aae611af85e137c92c16e6e72410fe7fed26d984d8807f0469770cae85f98f7b4d8eac 0027-ada-musl-support-fixes.patch -551da64e652effcb3b8bab8f4fee27d83665505ebe4207f891fd0149a04d601bd0ca60b232e58dc2190a7b9469e47a628e4b0b9986a260535aa3416e662c2fcc 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch -156c9f987f9579a05509dcdf0575559692be337a1412b4eb0a5eb3a0662ecf8ea2feed8a581741ff637b8dcb186769f54ae2e1b0e4dcace8ac7bb9eb9dd4e918 0029-gcc-go-Don-t-include-sys-user.h.patch -835be5d6477613def7866d2c9392d3327fe09564890d955db7dd0e77c6aacc234f4a8881b1fb15abae20b0b490fd6cebc5211562629166dc546b33b4f3207a24 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch -e0f2b85c4ef4bc83a450e48badc879f67b582d08d9bebad0f466393c9bda9e1898da2af30f90019d65e42bcdbd9fd30540dc3f307bb564470e9b8cae1a8a1e57 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch -0e6b051452f5f70a279eb323700b933cc856a7a7ec402f822af9cb3d57327fca9ebdeb253e6d87b76098bfd7da9a29591a051f57756ce5a2111da64886b066b4 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch -5df836874e41ce132a385f8b407f53feaa7854c7e3ecd5bbebc73622d9f0dfdd5000fa1f1545c4c4126d1d83e5d78d203180aec1f09d05369776c5b70f7ffddc 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch -a49b175ac231ae683bfbd8e422ac61e55f8ed265ec6bfa5b5a32800ba0605fde48088c12bf5b4ed29c9e202dea93c9443c67c61c2f2eecd709e6aefb3f1ffd32 0034-gcc-go-signal-34-is-special-on-musl-libc.patch -70d8725a3969e7b153db01c84dac5accb911d1b595072eda3bf0e2f24037ebcba478b7c2e80ab105ba3f06b404fd47deb8b509e1f5e652f40bf3b6eafef6f0d0 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch -eeb75092443f65e4da76293be1d1a742a0e951c763b5a59ffce056b4a7a84b33dade0e1c96a9887474d16571c797d916c7357ad7fb8004ddbe5195175ca55954 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch -c6dbba1ae7e11ab0ff58f4c001b5b76c776bf42f17591bc035b42bd7c4e473d837e7daf58e71949889cd1631a88ef5da7058e5d65292090d844077fbb2f6ae02 0037-gcc-go-link-to-libucontext.patch -11e017e82c9e3a8216703972a2d5195eb9153f224d43aeda0aa63519f39212d735b9018ea1c28a214e1eaac31339b5b48273d46a009d82c16a5041d1c0462b2f 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch -f83a53fefcadcae65fbda5e7d7f3dc3ee949596056ac1b4fbd3117af469a2ea306cacb4f58c345018c12868f64d63d82b1de63a65fcba21749a0a85c6dcaa95a 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch -b19533749ca4048a2956eab18b99fb2e1c5e4cffe9bf4a77d628b0e167af1f9dbb08a747d7888b365789ab9c6e5ce8cd6c09ef171e33f08c136ef6d4b5f05192 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch" +sha512sums="175886a1df08c017c59463233745acfa650fb194e18c940eb1dad0d95ba56921c8fa7a1102f9046b49a3fd90dd9c6100413cbb6318870b05a640aa25588c4ea0 gcc-10.3.1_git20210409.tar.xz +c7c4dc20966dc03372a1098af29880f480432539964a0df9c99050953ba8477bec1fda356d9542a18a037739c1e221ef8252ee85e92360811c314e677db393dd 0001-posix_memalign.patch +ee0a0f510f260f3d72d9f49a7278256ad3e5091eb4ed85198f3bb415e103d407ec8d7b18c686d1a64d61374674dc82118a0bcc21234096926ab3697b1aa123b6 0002-gcc-poison-system-directories.patch +f8f42b7557a39950d097e3163d69f17e1b8ffcfb9cd4137a318e150ebfe7e23b48075aaad02a0d122c0aa5b8b84681219ac185e88dbba724615bc52df2e5e645 0003-Turn-on-Wl-z-relro-z-now-by-default.patch +1f771b738d24e0168e14cebbc917ffda0d9c0a155eb6cd7bb01767649a2bb51253587c8001fa59968f2dfd26dd9aeb606075c357c9c12ee05f5b42c18646b758 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +61a7b8d22ee6e03d9ed54ed9c505fdc032035fa31e2eb4c314e832c2a532acdda91cbf69a07a52d2a038c7ae6d8536999e5754058019f38ad531336397daf804 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +7d4e573739859e0f76da7cf38c1dac4eca8d21a875390c45585a418e9d6c0e70022cfc2d930103cde67926b310a4592b11a8fe7e4d1eca514423c08c631fee04 0006-Enable-Wformat-and-Wformat-security-by-default.patch +5c277667aef1b3a9c9537bf7ac44f8e3eab40d2687f4b05a07810778715c4ed4db93a3ace98440fa3212bcc8d77ab33414607d68b36fd5edfded988a4cfe6945 0007-Enable-Wtrampolines-by-default.patch +ba8a1521b50cbf68a49dc01a4b2f51f461c2d60e28aa4a5b64ede1de21116e06ba35ff0c54e7c48b36d0904fef47e0a15207b4d2c7248885bca3a011b22abb56 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +19613149833edecd3e8b949da3e93e3c9187d4c85554f0ea4a19204aa02785f5e2aef8c59d2eca013c630366bd5cf781569c1070f6ac05432154e37324b49ba9 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +15d7d73a20a32f8b2ad77c358225cb12d25c6f4161ac826282c9ee2ed6a91ba9536360af0146b9bbbf4704d2f0292576b32f48af4bd8a51c989159140ba92618 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +c2a353751286da8a53eb8ed4b8c947cb0b25925a4b3de2302df7f015e219868d67a313c557f54b45a4e588a759ea9e04e4c7f46862aacf49d32f0a1284730581 0011-libiberty-copy-PIC-objects-during-build-process.patch +330c4d051d2332908b7b6d63bd852fa7ddfbd50aa51000b62ebd9ad573565b1af29f4912781bc8b8ff45176230240512915eb80d19b7ab5710835459ad0f56e5 0012-libitm-disable-FORTIFY.patch +dbb2c022a5d6a374b91e8db74b853162436f44755799c6a0d5b1eff84afa4b79aa953dfd944051a9022c18b80976373451f261cc7c882356172b7ffd2a4facdf 0013-libgcc_s.patch +ab229d854e0eafc5ee9bdd828312b90d09f4d288ef0ccc38b6b188f8628f9d2af11e4565a332007c3e86fbc8cdde2c700c33535395c0efdb99753f6954669ab9 0014-nopie.patch +7baee361d199e1070e9f5029f289298e35e4515e465183d723c422d53e113f3c26d806a44220aeb7de595c6f4c3a739c3665dd836395d53c9baae1b85faaf4d2 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +268aad733c78ad816fb8898721afcaf2a433c9dae450535519c8e974c9018b42d72c9fe8eaef65afe02d96f732bebbe9c346ed6ede147b5b34bca21e56db110b 0016-dlang-update-zlib-binding.patch +5aeeb17a2f1b6a89b6ca9a6fbddd2f3072c3d2144c0dfdb181385ac9a29bbfb904cccfac64d0fe8307763b185578e0669227ab6af17dfd664e9de6929580ebc4 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +eed46a26d0b8d8c84690ef6506087cda25ae8d91ab8968b9d27ba09ebd79b96f8fd013d672f41b2193fcbf5edc1a4f8e39e397eccb877ced506f98d76e6a06e2 0018-ada-fix-shared-linking.patch +edd409f50beae54b111002959be6223436d62111c82be80148a83877b03f1d29218bd0dd886583decd394c077957684f4964aecb8e33cab499052e9b17e333ec 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +854b5a3df20180e2e390d57b2a1665b6f390b7e2ec6f84371057c900802dfe1b1cebcc5e9cdae54de5db4335b425681b06cb60c4f51964b32fdf963420c6e491 0020-add-fortify-headers-paths.patch +d9bcf5414f3f7d77e0b16cc933db7b7ef20512ac5a3f9d64a80191455394e6348b654c9a9d230ca93af2789a7a334c8a10417c2833046284a9c54b76d8b02931 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +f04db8f8a1822be5d832ecddfa66bf7faaf7086c55afa8775879625d8a42b986a70602cd7bc76fdc672808cf3932daee61123da9835a1d940cfc0a656706609d 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +0a879aa3e9693710de04e5845ae4bfaed36e35288d3c794693f141819b7572efb3cf1bb1f467bb88ec15124dba3450a34496e8b4eca3d562d90a16a6651c6af1 0023-Pure-64-bit-MIPS.patch +46724b82a9d2305a5d11029a0575637593c45e408c353147ac5d1cfc871076679f2b0c4069f1b005cf0a66bc18aa6485db84d367cff3a8bb979d1a1de91f5c03 0024-use-pure-64-bit-configuration-where-appropriate.patch +38939c2cf7de961437ce55a31a49adf43731b780a37e4a0ad3a0d982a9d9207ca8cbd30ce6d8da030e6030ce177fda36b371e1a576ebe6ef17ae9f3195836db9 0025-always-build-libgcc_eh.a.patch +5938442f0d1f562163ac4f30bfa7ac792c185c95fff25f1659a27f7d786bb62f428707d08a2d5601f9159ca0f32b29796a7aafbc180f548000a4c1d0b2af242f 0026-ada-libgnarl-compatibility-for-musl.patch +d1129aaa8291d60b872cc114c13235ad409fd8287771f10c717938acc789cadd0886a10855fa70f23096701d5a7c2dff87ee2b2ad6a47d1ddab67ce5abaae15f 0027-ada-musl-support-fixes.patch +6dd92d73ce05a808b0184fbedd41305e229acc0a6879fa52e3b28f483f32b09d21f79a3c23a32574c019b5e58908385187a2ae0b35f6a7fcfa3293478ff48965 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +47cddc0376a780b6f75adfcc4e2e887abeaabf0f3cb17e3583b798d9e6aa073f773ba11e59214ea8a0054635d37dcd0c054547f0eef4e45c19b04c09d8c1bee6 0029-gcc-go-Don-t-include-sys-user.h.patch +af1aa70aafd9bb7416a86c407aa3227809b725748ab0a46a2437b950783545e781c3c974003b3c7e7e480fed07e9f098183737877885583b466bd6f9cebd3996 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +9cbbaa3a7eb80d6d37ec53c7963fc97dff8e2b868337636371d4258aeaae48e01892e688fcf1638766a3e15dd69da29ab8bd31ec07838c2476f7aaf5603c0eb6 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +342498934c658e118bf9a2097e8ce49dfccd56068a4042cda3d3de2dd5c302da7ea30ba6f20d023afd5e7cef189fa6e05f941a0c5f6438bb267932d593d160c5 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +7946254594aea17a1795c7be03478bc206c612319107a5b5d50b660b3eb0a896fe2defcc09837366f8c749da655471e22742cae6cd916717adb537de2d9cb0f7 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +09c8c091163eddec1971d734e3a9c26794f0274ec97f319f469f8ecfeeb9973db51d49d0d0c748e0ccc757230bd6bdff8734e19ee8c33ed7cb5825176121f138 0034-gcc-go-signal-34-is-special-on-musl-libc.patch +2e42058f32c769a6d550c8d5f5fda29c716dec30ff6c9f055152064af7e3368322938831bbaa6a6800910c78798fdb9ac4a24acdd739e42f5c5c008ddc25f0ce 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +0a9d4958c151ce716fdf0d8b9474bda893ec46a19322805ce71b0d45f102abf07c20832afd58313ff87010e917739d75837e343b8c3668cbbfdd1cdb8ddb1446 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +674c828e93aa84cd07894bab320e410bb35ac469d7a1312d623af898b4ba82a1a513ed3037e5f9026e881c136717012af5ff5049a7586d664961e0a02795e094 0037-gcc-go-link-to-libucontext.patch +501e01642183040992ea29d3dc30c918960a83ef386dc6c0f21863b1d4367983bde0ec6c955a8efac5fb52a53ce6dd2670dbfe8b32c72875fcbe6fe0ad92501e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +ca264938dba3ec0086a463127e7f14932a556c6b54cb36638a3d974be83d0d67cf6707e9230dcf4d527962de1c0060a6084b2346f8d374ee5c851828138ded4c 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +8e0e203f8c66a496151db561e88612f7ce9295a420f8436e43a4ca1ae330bdbe7aeecfe6616f7331cb7913f9cc9ee1f83c94f798515fb91a4037f8b276d10ece 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch" diff --git a/cross/gcc-armv7/0001-posix_memalign.patch b/cross/gcc-armv7/0001-posix_memalign.patch index 3ac7095b5..9e1d18aa9 100644 --- a/cross/gcc-armv7/0001-posix_memalign.patch +++ b/cross/gcc-armv7/0001-posix_memalign.patch @@ -1,7 +1,7 @@ -From 56ba7da205f1ec49b1379ab40d533c2e2d70a1a7 Mon Sep 17 00:00:00 2001 +From 4caf1c3a96f293b8ae0094ea70b2b468e14d787c Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 26 Jan 2018 20:32:50 +0000 -Subject: [PATCH] posix_memalign +Subject: [PATCH 01/40] posix_memalign --- gcc/config/i386/pmm_malloc.h | 9 +++++---- diff --git a/cross/gcc-armv7/0002-gcc-poison-system-directories.patch b/cross/gcc-armv7/0002-gcc-poison-system-directories.patch index fc54032ab..788e0b5ba 100644 --- a/cross/gcc-armv7/0002-gcc-poison-system-directories.patch +++ b/cross/gcc-armv7/0002-gcc-poison-system-directories.patch @@ -1,7 +1,7 @@ -From 4c53f798c9823dcfc7fe8e2dd26de0077545069d Mon Sep 17 00:00:00 2001 +From e4a68f2674e1959920969dc4f73f29eb6ec002b7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 29 Mar 2013 08:59:00 +0400 -Subject: [PATCH] gcc: poison-system-directories +Subject: [PATCH 02/40] gcc: poison-system-directories Add /sw/include and /opt/include based on the original zecke-no-host-includes.patch patch. The original patch checked for @@ -26,7 +26,7 @@ Upstream-Status: Pending 7 files changed, 68 insertions(+) diff --git a/gcc/common.opt b/gcc/common.opt -index 9cc47b16cac..d8b2e237d89 100644 +index ec5235c3a41..ca942863064 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -682,6 +682,10 @@ Wreturn-local-addr @@ -120,7 +120,7 @@ index 84dceb8074a..bf64ffbe46f 100644 AC_SUBST(subdirs) AC_SUBST(srcdir) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index 0c1b5975e6b..ede239a0ccd 100644 +index eabeec944e7..cd31b522e42 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}. diff --git a/cross/gcc-armv7/0003-Turn-on-Wl-z-relro-z-now-by-default.patch b/cross/gcc-armv7/0003-Turn-on-Wl-z-relro-z-now-by-default.patch index 76415a65f..949a41a0e 100644 --- a/cross/gcc-armv7/0003-Turn-on-Wl-z-relro-z-now-by-default.patch +++ b/cross/gcc-armv7/0003-Turn-on-Wl-z-relro-z-now-by-default.patch @@ -1,7 +1,7 @@ -From caf66e830299ba0a865041800ea9b32a3091f141 Mon Sep 17 00:00:00 2001 +From 2773fe84bc49e9baca7ddb2ba3e3727e36bd7a63 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:45:49 +0000 -Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default. +Subject: [PATCH 03/40] Turn on -Wl,-z,relro,-z,now by default. --- gcc/doc/invoke.texi | 3 +++ @@ -9,7 +9,7 @@ Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default. 2 files changed, 4 insertions(+) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index ede239a0ccd..43d02c26a1a 100644 +index cd31b522e42..17d371ef432 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -14663,6 +14663,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the diff --git a/cross/gcc-armv7/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch b/cross/gcc-armv7/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch index 6e7614c8e..e2903466e 100644 --- a/cross/gcc-armv7/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +++ b/cross/gcc-armv7/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch @@ -1,8 +1,8 @@ -From 48413b53fb7c9d780b55b84eaf6c70f154719907 Mon Sep 17 00:00:00 2001 +From a3ab0f59c562f72112f1229e005e4baad7b202e4 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:46:22 +0000 -Subject: [PATCH] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC, - ObjC++, if the optimization level is > 0 +Subject: [PATCH 04/40] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, + ObjC, ObjC++, if the optimization level is > 0 --- gcc/c-family/c-cppbuiltin.c | 4 ++++ @@ -25,7 +25,7 @@ index db91a36794a..ed976c71404 100644 if (flag_gnu89_inline) cpp_define (pfile, "__GNUC_GNU_INLINE__"); diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index 43d02c26a1a..78469ebe55d 100644 +index 17d371ef432..fe793ac08db 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -9230,6 +9230,12 @@ also turns on the following optimization flags: diff --git a/cross/gcc-armv7/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch b/cross/gcc-armv7/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch index 5a02acacc..ddc5b8ee0 100644 --- a/cross/gcc-armv7/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +++ b/cross/gcc-armv7/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch @@ -1,8 +1,8 @@ -From 31ec8fceef33284c4ed3ca4bb97e4a24eb088265 Mon Sep 17 00:00:00 2001 +From 6f324533a60b7e9a0a21e3f1c5f3f25d9d099a41 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:46:56 +0000 -Subject: [PATCH] On linux targets pass --as-needed by default to the linker, - but always link the sanitizer libraries with --no-as-needed. +Subject: [PATCH 05/40] On linux targets pass --as-needed by default to the + linker, but always link the sanitizer libraries with --no-as-needed. --- gcc/config/aarch64/aarch64-linux.h | 1 + diff --git a/cross/gcc-armv7/0006-Enable-Wformat-and-Wformat-security-by-default.patch b/cross/gcc-armv7/0006-Enable-Wformat-and-Wformat-security-by-default.patch index fa32a821a..bb761daba 100644 --- a/cross/gcc-armv7/0006-Enable-Wformat-and-Wformat-security-by-default.patch +++ b/cross/gcc-armv7/0006-Enable-Wformat-and-Wformat-security-by-default.patch @@ -1,7 +1,7 @@ -From 1a17780987ee63da34d330e9a2b186751c929c46 Mon Sep 17 00:00:00 2001 +From a9444c2a174a60bbc659b376f21674e02be669c1 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:47:43 +0000 -Subject: [PATCH] Enable -Wformat and -Wformat-security by default. +Subject: [PATCH 06/40] Enable -Wformat and -Wformat-security by default. --- gcc/c-family/c.opt | 4 ++-- diff --git a/cross/gcc-armv7/0007-Enable-Wtrampolines-by-default.patch b/cross/gcc-armv7/0007-Enable-Wtrampolines-by-default.patch index 21e49d251..e0d4245aa 100644 --- a/cross/gcc-armv7/0007-Enable-Wtrampolines-by-default.patch +++ b/cross/gcc-armv7/0007-Enable-Wtrampolines-by-default.patch @@ -1,14 +1,14 @@ -From 901acffb0caae749c5b830d01a6e858f34311cd5 Mon Sep 17 00:00:00 2001 +From d20e8bab053eb3a31a08deeae8d0829ba84f47e3 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:48:24 +0000 -Subject: [PATCH] Enable -Wtrampolines by default. +Subject: [PATCH 07/40] Enable -Wtrampolines by default. --- gcc/common.opt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/common.opt b/gcc/common.opt -index d8b2e237d89..5087ae84d49 100644 +index ca942863064..0a0ab6195ee 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning diff --git a/cross/gcc-armv7/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch b/cross/gcc-armv7/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch index edd4658ee..6b076ca23 100644 --- a/cross/gcc-armv7/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +++ b/cross/gcc-armv7/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch @@ -1,8 +1,8 @@ -From 4d09aa762edd682ffb7665b21f7ecd6e1cf90a3f Mon Sep 17 00:00:00 2001 +From d8613c37b889fc42c2b9ffada1e2906d5e4cf062 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:49:40 +0000 -Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding - Change the buffer size. +Subject: [PATCH 08/40] Disable ssp on -nostdlib, -nodefaultlibs and + -ffreestanding Change the buffer size. --- gcc/gcc.c | 8 +++++++- diff --git a/cross/gcc-armv7/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch b/cross/gcc-armv7/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch index 74610fa5a..7e2237778 100644 --- a/cross/gcc-armv7/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +++ b/cross/gcc-armv7/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch @@ -1,8 +1,8 @@ -From e9b5aa5bb3788b2600a719d3b5ed56e3397ec0ad Mon Sep 17 00:00:00 2001 +From 9a3d57157595f98d2bd58424642c3539fd2a2668 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:50:33 +0000 -Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc - bootstrapping. +Subject: [PATCH 09/40] Ensure that msgfmt doesn't encounter problems during + gcc bootstrapping. Solves error messages like the following: diff --git a/cross/gcc-armv7/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch b/cross/gcc-armv7/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch index 545e90606..47ca5c54c 100644 --- a/cross/gcc-armv7/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +++ b/cross/gcc-armv7/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch @@ -1,7 +1,7 @@ -From d87e3805d5f308798e82008b9b3c3440958b6f20 Mon Sep 17 00:00:00 2001 +From 177f24cbf26c14ea07c4769e6fd2598a85e06d2e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:52:07 +0000 -Subject: [PATCH] Don't declare asprintf if defined as a macro. +Subject: [PATCH 10/40] Don't declare asprintf if defined as a macro. --- include/libiberty.h | 3 +++ diff --git a/cross/gcc-armv7/0011-libiberty-copy-PIC-objects-during-build-process.patch b/cross/gcc-armv7/0011-libiberty-copy-PIC-objects-during-build-process.patch index d7b6f297e..c0b11f595 100644 --- a/cross/gcc-armv7/0011-libiberty-copy-PIC-objects-during-build-process.patch +++ b/cross/gcc-armv7/0011-libiberty-copy-PIC-objects-during-build-process.patch @@ -1,7 +1,7 @@ -From 33b3fa0e5bc57219de066c04beaf4fcd09054812 Mon Sep 17 00:00:00 2001 +From 31301d91ac46894423188ebd0f961cfca709d66c Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:53:00 +0000 -Subject: [PATCH] libiberty: copy PIC objects during build process +Subject: [PATCH 11/40] libiberty: copy PIC objects during build process --- libiberty/Makefile.in | 1 + diff --git a/cross/gcc-armv7/0012-libitm-disable-FORTIFY.patch b/cross/gcc-armv7/0012-libitm-disable-FORTIFY.patch index 80bae51c3..e520d3e61 100644 --- a/cross/gcc-armv7/0012-libitm-disable-FORTIFY.patch +++ b/cross/gcc-armv7/0012-libitm-disable-FORTIFY.patch @@ -1,7 +1,7 @@ -From 0538fa07136fefd76a0b958db48cd6a06eaf630c Mon Sep 17 00:00:00 2001 +From 3cc4794124dd7306e759a8f1769319144e5bdc63 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:53:36 +0000 -Subject: [PATCH] libitm: disable FORTIFY +Subject: [PATCH 12/40] libitm: disable FORTIFY --- libitm/configure.tgt | 10 ++++++++++ diff --git a/cross/gcc-armv7/0013-libgcc_s.patch b/cross/gcc-armv7/0013-libgcc_s.patch index 58ed29506..4bf1446f4 100644 --- a/cross/gcc-armv7/0013-libgcc_s.patch +++ b/cross/gcc-armv7/0013-libgcc_s.patch @@ -1,7 +1,7 @@ -From 7f4a2e2f3ab6b649538f3fd775a6f7a5507de543 Mon Sep 17 00:00:00 2001 +From ac9489e4b3ad3f22f88d1bab3e103ffd3a287d18 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 24 Oct 2015 20:09:53 +0000 -Subject: [PATCH] libgcc_s +Subject: [PATCH 13/40] libgcc_s --- gcc/config/i386/i386-expand.c | 4 ++-- @@ -27,10 +27,10 @@ index 47d52550e5e..9cb8cc7950e 100644 return expand_expr (call_expr, target, mode, EXPAND_NORMAL); } diff --git a/libgcc/config/i386/cpuinfo.c b/libgcc/config/i386/cpuinfo.c -index cf5f0884bb4..ed0381e7744 100644 +index 83301a1445f..89fdc7eb587 100644 --- a/libgcc/config/i386/cpuinfo.c +++ b/libgcc/config/i386/cpuinfo.c -@@ -510,7 +510,7 @@ __cpu_indicator_init (void) +@@ -516,7 +516,7 @@ __cpu_indicator_init (void) return 0; } diff --git a/cross/gcc-armv7/0014-nopie.patch b/cross/gcc-armv7/0014-nopie.patch index 19995f51c..e398c7554 100644 --- a/cross/gcc-armv7/0014-nopie.patch +++ b/cross/gcc-armv7/0014-nopie.patch @@ -1,7 +1,7 @@ -From 6c3e5f01e4ac338e85b1a6b5956699d882705882 Mon Sep 17 00:00:00 2001 +From ebca654224b0b55753748a7954570726908c474e Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 7 Nov 2015 02:08:05 +0000 -Subject: [PATCH] nopie +Subject: [PATCH 14/40] nopie --- gcc/configure | 27 +++++++++++++++++++++++++++ diff --git a/cross/gcc-armv7/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch b/cross/gcc-armv7/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch index 940d61577..1e2b22a8a 100644 --- a/cross/gcc-armv7/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +++ b/cross/gcc-armv7/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch @@ -1,7 +1,7 @@ -From 66657865719efb0a86ea2ab75511cb326e8aa46f Mon Sep 17 00:00:00 2001 +From 288130bb8f622a813f4937b28ff2129be4a7e2ba Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:57:09 +0000 -Subject: [PATCH] libffi: use __linux__ instead of __gnu_linux__ for musl +Subject: [PATCH 15/40] libffi: use __linux__ instead of __gnu_linux__ for musl --- libffi/src/closures.c | 2 +- diff --git a/cross/gcc-armv7/0016-dlang-update-zlib-binding.patch b/cross/gcc-armv7/0016-dlang-update-zlib-binding.patch index 8a773f7d7..3b80f61d9 100644 --- a/cross/gcc-armv7/0016-dlang-update-zlib-binding.patch +++ b/cross/gcc-armv7/0016-dlang-update-zlib-binding.patch @@ -1,7 +1,7 @@ -From b8a954b1e4033ff559e312d693c74e90e3f13210 Mon Sep 17 00:00:00 2001 +From bc17bd672e11321d903245a3059e9788c8f83a7f Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:57:51 +0000 -Subject: [PATCH] dlang: update zlib binding +Subject: [PATCH 16/40] dlang: update zlib binding --- libphobos/src/std/zlib.d | 266 ++++++++++++++++++++++++++++----------- diff --git a/cross/gcc-armv7/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch b/cross/gcc-armv7/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch index 6a0eae7c5..c92bfe768 100644 --- a/cross/gcc-armv7/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +++ b/cross/gcc-armv7/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch @@ -1,7 +1,7 @@ -From 4d1fe9d5df3ab850df21d68c73d2d3c601910288 Mon Sep 17 00:00:00 2001 +From 6216a5dd04b5722cae21ba57ac4747f402d6d11a Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:58:22 +0000 -Subject: [PATCH] dlang: fix fcntl on mips, add libucontext dep +Subject: [PATCH 17/40] dlang: fix fcntl on mips, add libucontext dep --- libphobos/configure.tgt | 1 + diff --git a/cross/gcc-armv7/0018-ada-fix-shared-linking.patch b/cross/gcc-armv7/0018-ada-fix-shared-linking.patch index 0e02a22aa..2c2120e83 100644 --- a/cross/gcc-armv7/0018-ada-fix-shared-linking.patch +++ b/cross/gcc-armv7/0018-ada-fix-shared-linking.patch @@ -1,7 +1,7 @@ -From 04d8d2c7052c0e92825b4246da0df9ac8753701e Mon Sep 17 00:00:00 2001 +From ebc8584a9b7ed1f5fd6fc01d7cc0b718ea0f063e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:59:16 +0000 -Subject: [PATCH] ada: fix shared linking +Subject: [PATCH 18/40] ada: fix shared linking --- gcc/ada/link.c | 12 ++++++------ diff --git a/cross/gcc-armv7/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch b/cross/gcc-armv7/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch index 2de53048a..0206c8c52 100644 --- a/cross/gcc-armv7/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +++ b/cross/gcc-armv7/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch @@ -1,7 +1,7 @@ -From 3da9a00035f6052926918200fdbeff478ff88d28 Mon Sep 17 00:00:00 2001 +From 1c99fd83e51934aded85825d5474f57d1d06090e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 06:59:43 +0000 -Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing +Subject: [PATCH 19/40] build: fix CXXFLAGS_FOR_BUILD passing --- Makefile.in | 1 + diff --git a/cross/gcc-armv7/0020-add-fortify-headers-paths.patch b/cross/gcc-armv7/0020-add-fortify-headers-paths.patch index 2270010f6..521598ce9 100644 --- a/cross/gcc-armv7/0020-add-fortify-headers-paths.patch +++ b/cross/gcc-armv7/0020-add-fortify-headers-paths.patch @@ -1,7 +1,7 @@ -From 1274452fed850d4910aac101aa50c26a2011e15f Mon Sep 17 00:00:00 2001 +From d620a4e35183dc7cfeab739312fc3d7b98a11e31 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:01:06 +0000 -Subject: [PATCH] add fortify-headers paths +Subject: [PATCH 20/40] add fortify-headers paths --- gcc/config/linux.h | 2 ++ diff --git a/cross/gcc-armv7/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch b/cross/gcc-armv7/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch index c5b178011..c52077dbb 100644 --- a/cross/gcc-armv7/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +++ b/cross/gcc-armv7/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch @@ -1,9 +1,9 @@ -From 427c95f4cd889f97983d2b5ac4de6501bcf53166 Mon Sep 17 00:00:00 2001 +From 45863e36e6e69a7f78388890297d897f97f45f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 21 Aug 2020 07:03:00 +0000 -Subject: [PATCH] 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. +Subject: [PATCH 21/40] 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. diff --git a/cross/gcc-armv7/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch b/cross/gcc-armv7/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch index 8466348da..e50fda5bc 100644 --- a/cross/gcc-armv7/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +++ b/cross/gcc-armv7/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch @@ -1,7 +1,7 @@ -From d3440b3e7d5d9448309b4c3f74487f4c05726a5a Mon Sep 17 00:00:00 2001 +From 99f18a789cccc40de0adb14cca064335cbb7d5a0 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:03:42 +0000 -Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when +Subject: [PATCH 22/40] DP: Use --push-state/--pop-state for gold as well when linking libtsan. --- diff --git a/cross/gcc-armv7/0023-Pure-64-bit-MIPS.patch b/cross/gcc-armv7/0023-Pure-64-bit-MIPS.patch index f990734e5..11e7e822e 100644 --- a/cross/gcc-armv7/0023-Pure-64-bit-MIPS.patch +++ b/cross/gcc-armv7/0023-Pure-64-bit-MIPS.patch @@ -1,7 +1,7 @@ -From 5b1bffa6323f1e9f981f1db2b574a876ebcf2bd6 Mon Sep 17 00:00:00 2001 +From 71b4599cd1a7512221e3b209d084ee0e80cae56f Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Thu, 21 Dec 2017 03:14:33 +0100 -Subject: [PATCH] Pure 64-bit MIPS +Subject: [PATCH 23/40] Pure 64-bit MIPS --- gcc/config/mips/mips.h | 8 ++++---- diff --git a/cross/gcc-armv7/0024-use-pure-64-bit-configuration-where-appropriate.patch b/cross/gcc-armv7/0024-use-pure-64-bit-configuration-where-appropriate.patch index 24013458f..8a0ff2db3 100644 --- a/cross/gcc-armv7/0024-use-pure-64-bit-configuration-where-appropriate.patch +++ b/cross/gcc-armv7/0024-use-pure-64-bit-configuration-where-appropriate.patch @@ -1,7 +1,7 @@ -From 7a38f81aa9cc5ed4a39b54480209e29615bd6594 Mon Sep 17 00:00:00 2001 +From 23b8d3f4ed85efe3104666e81988f7604a617cc3 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:04:40 +0000 -Subject: [PATCH] use pure 64-bit configuration where appropriate +Subject: [PATCH 24/40] use pure 64-bit configuration where appropriate --- gcc/config/aarch64/t-aarch64-linux | 2 +- diff --git a/cross/gcc-armv7/0025-always-build-libgcc_eh.a.patch b/cross/gcc-armv7/0025-always-build-libgcc_eh.a.patch index 186277f50..3868a9b06 100644 --- a/cross/gcc-armv7/0025-always-build-libgcc_eh.a.patch +++ b/cross/gcc-armv7/0025-always-build-libgcc_eh.a.patch @@ -1,7 +1,7 @@ -From eb4c45fb32845cf9ed5e3627380d889f972dbb02 Mon Sep 17 00:00:00 2001 +From ca5e35a64f95ecc644f6f2d5f874755f1b5bdbf2 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:05:41 +0000 -Subject: [PATCH] always build libgcc_eh.a +Subject: [PATCH 25/40] always build libgcc_eh.a highly inspired by: http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch diff --git a/cross/gcc-armv7/0026-ada-libgnarl-compatibility-for-musl.patch b/cross/gcc-armv7/0026-ada-libgnarl-compatibility-for-musl.patch index 43de34492..24791ad39 100644 --- a/cross/gcc-armv7/0026-ada-libgnarl-compatibility-for-musl.patch +++ b/cross/gcc-armv7/0026-ada-libgnarl-compatibility-for-musl.patch @@ -1,7 +1,7 @@ -From f06868abe42037e8a97fb1e724df56a81b6d3b36 Mon Sep 17 00:00:00 2001 +From f3e0f7f460624a90416393902b946c0d74b507cc Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:06:30 +0000 -Subject: [PATCH] ada: libgnarl compatibility for musl +Subject: [PATCH 26/40] ada: libgnarl compatibility for musl --- gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------ diff --git a/cross/gcc-armv7/0027-ada-musl-support-fixes.patch b/cross/gcc-armv7/0027-ada-musl-support-fixes.patch index f8bbff130..5a8fa9cc8 100644 --- a/cross/gcc-armv7/0027-ada-musl-support-fixes.patch +++ b/cross/gcc-armv7/0027-ada-musl-support-fixes.patch @@ -1,7 +1,7 @@ -From b87099f99e9b97efa684d59a63a7585bc0ae7c34 Mon Sep 17 00:00:00 2001 +From 8bf9618294153d345905564ff68e2e3be810b8a4 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 21 Aug 2020 07:07:48 +0000 -Subject: [PATCH] ada: musl support fixes +Subject: [PATCH 27/40] ada: musl support fixes --- gcc/ada/Makefile.rtl | 10 +++++----- diff --git a/cross/gcc-armv7/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch b/cross/gcc-armv7/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch index 94fae98c3..3b4197bc9 100644 --- a/cross/gcc-armv7/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +++ b/cross/gcc-armv7/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch @@ -1,7 +1,7 @@ -From ebfdc1ed30206086a1f59c0e45d11b735ca22181 Mon Sep 17 00:00:00 2001 +From 5a3e6a0890854f713100e9f2ea29bcc5b635e78a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:58:08 +0200 -Subject: [PATCH] gcc-go: Use _off_t type instead of _loff_t +Subject: [PATCH 28/40] gcc-go: Use _off_t type instead of _loff_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armv7/0029-gcc-go-Don-t-include-sys-user.h.patch b/cross/gcc-armv7/0029-gcc-go-Don-t-include-sys-user.h.patch index fe58b47bc..89fb390ea 100644 --- a/cross/gcc-armv7/0029-gcc-go-Don-t-include-sys-user.h.patch +++ b/cross/gcc-armv7/0029-gcc-go-Don-t-include-sys-user.h.patch @@ -1,7 +1,7 @@ -From 53c8bd07ef19cefadfd5ca6e2b845862ba9c4d14 Mon Sep 17 00:00:00 2001 +From 00252a5095ef24c86e500b460e290e1be07dcb7e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:58:21 +0200 -Subject: [PATCH] gcc-go: Don't include sys/user.h +Subject: [PATCH 29/40] gcc-go: Don't include sys/user.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armv7/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch b/cross/gcc-armv7/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch index e6781339f..a728a4132 100644 --- a/cross/gcc-armv7/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +++ b/cross/gcc-armv7/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch @@ -1,7 +1,7 @@ -From 4ebf1f48bae799d4d9c0d3de88c5d8e0f1f2900e Mon Sep 17 00:00:00 2001 +From 1f83a2aebcc6b672950629b3752651b4d1ea7a12 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:59:22 +0200 -Subject: [PATCH] gcc-go: Fix ucontext_t on PPC64 +Subject: [PATCH 30/40] gcc-go: Fix ucontext_t on PPC64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armv7/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch b/cross/gcc-armv7/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch index 85778c441..ce0a3cb16 100644 --- a/cross/gcc-armv7/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +++ b/cross/gcc-armv7/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch @@ -1,7 +1,7 @@ -From 2ea8b4f0d7cd8e96436ca14ef7f08615496d6d38 Mon Sep 17 00:00:00 2001 +From 8d4a5efa805cdb514c1dfa4bc6385ad190bd8797 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 17:59:45 +0200 -Subject: [PATCH] gcc-go: Fix handling of signal 34 on musl +Subject: [PATCH 31/40] gcc-go: Fix handling of signal 34 on musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armv7/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch b/cross/gcc-armv7/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch index a69201156..0aa31726a 100644 --- a/cross/gcc-armv7/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +++ b/cross/gcc-armv7/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch @@ -1,7 +1,7 @@ -From 65212bcce99563e6fa7a0334f1a82bde47ade70c Mon Sep 17 00:00:00 2001 +From 8d2fd5e6b0824425ed614d4470494e9756724ecd Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:01:03 +0200 -Subject: [PATCH] gcc-go: Use int64 type as offset argument for mmap +Subject: [PATCH 32/40] gcc-go: Use int64 type as offset argument for mmap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armv7/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch b/cross/gcc-armv7/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch index 1884fb327..9826fcadf 100644 --- a/cross/gcc-armv7/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +++ b/cross/gcc-armv7/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch @@ -1,7 +1,8 @@ -From 1fa468989614c5ada2d2a0fac67cc542900ff5de Mon Sep 17 00:00:00 2001 +From f76f5767a1ebbdc6f0bf5d3c180ff9d68dec3ae5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:02:28 +0200 -Subject: [PATCH] gcc-go: Fix st_{a,m,c}tim fields in generated sysinfo.go +Subject: [PATCH 33/40] gcc-go: Fix st_{a,m,c}tim fields in generated + sysinfo.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armv7/0034-gcc-go-signal-34-is-special-on-musl-libc.patch b/cross/gcc-armv7/0034-gcc-go-signal-34-is-special-on-musl-libc.patch index 6ba268884..5ac82fc37 100644 --- a/cross/gcc-armv7/0034-gcc-go-signal-34-is-special-on-musl-libc.patch +++ b/cross/gcc-armv7/0034-gcc-go-signal-34-is-special-on-musl-libc.patch @@ -1,7 +1,7 @@ -From 1e401424a24c4d09890c498e9cf37dd65f98fd40 Mon Sep 17 00:00:00 2001 +From 82de62b8ce83e80b37bac6d4ad8b41e7d7a0de05 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 30 Aug 2020 18:03:03 +0200 -Subject: [PATCH] gcc-go: signal 34 is special on musl libc +Subject: [PATCH 34/40] gcc-go: signal 34 is special on musl libc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/cross/gcc-armv7/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch b/cross/gcc-armv7/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch index 1b6fd4d72..2b68a9907 100644 --- a/cross/gcc-armv7/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +++ b/cross/gcc-armv7/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch @@ -1,7 +1,7 @@ -From c32a6473e0b51b02401c403b4fa104a82b2c6147 Mon Sep 17 00:00:00 2001 +From d78313c65a087c859cae3771699e798d3f10966e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 30 Aug 2020 19:26:53 +0200 -Subject: [PATCH] gcc-go: Prefer _off_t over _off64_t +Subject: [PATCH 35/40] gcc-go: Prefer _off_t over _off64_t musl does not seem to have _off64_t. --- diff --git a/cross/gcc-armv7/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch b/cross/gcc-armv7/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch index 1cc8dab59..73477d507 100644 --- a/cross/gcc-armv7/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +++ b/cross/gcc-armv7/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch @@ -1,7 +1,7 @@ -From 87b7fd27b0b2cc041e2cc989e77a7eda8fc330a2 Mon Sep 17 00:00:00 2001 +From b0c49ce2ced307af0248e6aed20da0f351f2f39c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 30 Aug 2020 19:27:51 +0200 -Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c +Subject: [PATCH 36/40] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c --- libgo/runtime/proc.c | 4 ++++ diff --git a/cross/gcc-armv7/0037-gcc-go-link-to-libucontext.patch b/cross/gcc-armv7/0037-gcc-go-link-to-libucontext.patch index 801382e57..0997288db 100644 --- a/cross/gcc-armv7/0037-gcc-go-link-to-libucontext.patch +++ b/cross/gcc-armv7/0037-gcc-go-link-to-libucontext.patch @@ -1,7 +1,7 @@ -From 16fd7a533bba015aca4d1c08c7a18f7a6d07ad26 Mon Sep 17 00:00:00 2001 +From b0e76ff4511a5ca4c790a123dc347a0aa7008dd9 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 31 Aug 2020 08:59:40 +0200 -Subject: [PATCH] gcc-go: link to libucontext +Subject: [PATCH 37/40] gcc-go: link to libucontext --- Makefile.in | 2 +- diff --git a/cross/gcc-armv7/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch b/cross/gcc-armv7/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch index 225930fbc..66dd1168b 100644 --- a/cross/gcc-armv7/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +++ b/cross/gcc-armv7/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch @@ -1,7 +1,8 @@ -From a56c34c3ca3b83f5481dad3888d936f859788614 Mon Sep 17 00:00:00 2001 +From f6bb4cd2ec5af0151e6282e78428a51553020542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Mon, 31 Aug 2020 20:26:56 +0200 -Subject: [PATCH] gcc-go: Disable printing of unaccessible ppc64 struct members +Subject: [PATCH 38/40] gcc-go: Disable printing of unaccessible ppc64 struct + members These struct members do not seem to exist on musl. --- diff --git a/cross/gcc-armv7/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch b/cross/gcc-armv7/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch index 878d48221..c244b94f7 100644 --- a/cross/gcc-armv7/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +++ b/cross/gcc-armv7/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch @@ -1,7 +1,7 @@ -From 7b2278e6d857f68c9cb956865c5037d73be69fc6 Mon Sep 17 00:00:00 2001 +From fb71a010a27aabb32f071b98adf872a188e8a01c Mon Sep 17 00:00:00 2001 From: Geod24 Date: Mon, 16 Nov 2020 18:40:46 +0100 -Subject: [PATCH] CRuntime_Musl: Support v1.2.0 for 32 bits +Subject: [PATCH 39/40] CRuntime_Musl: Support v1.2.0 for 32 bits As explained in the comment, `time_t` on Musl is now always 64 bits, but used to be 32 bits on 32 bits systems. diff --git a/cross/gcc-armv7/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch b/cross/gcc-armv7/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch index 626b79f7e..58e38be20 100644 --- a/cross/gcc-armv7/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch +++ b/cross/gcc-armv7/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch @@ -1,7 +1,7 @@ -From 8108772b5430b8d7a4fef8cd9d917a11fbb26fab Mon Sep 17 00:00:00 2001 +From 2cb6fe7a9f0d74ca8d3cb5c465cb720bd01ef28e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 9 Dec 2020 16:07:26 +0000 -Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in +Subject: [PATCH 40/40] configure: Add --enable-autolink-libatomic, use in LINK_GCC_C_SEQUENCE_SPEC [PR81358] This fixes issues with RISC-V. diff --git a/cross/gcc-armv7/APKBUILD b/cross/gcc-armv7/APKBUILD index 84f5a6911..c6bf0aece 100644 --- a/cross/gcc-armv7/APKBUILD +++ b/cross/gcc-armv7/APKBUILD @@ -24,8 +24,8 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" pkgname=gcc-armv7 -_pkgbase=10.2.1 -pkgver=10.2.1_git20210328 +_pkgbase=10.3.1 +pkgver=10.3.1_git20210409 [ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2" [ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross="" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" @@ -668,44 +668,44 @@ gnat() { mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/ } -sha512sums="44d785af0f7aa321487f23b7656877e8112ca2e0b93df538508031d6541db6f7e92ddefb40e44870f4f86adc8dd0efbca3b1748539d62c46f18ac667e134c7f6 gcc-10.2.1_git20210328.tar.xz -3b26000b0ffb3467d8d1b37782a4ba03564813ca33a2842ec2f86213e4ad8f0eba4dd55c43fe965fb90ab21bfecb7c8abd174b5faf09aad128ee25bfd1f48578 0001-posix_memalign.patch -9b6e01b6c61c6d30a5965a16f9057495b6e73387085ecff3db87ad4153305fdcec132ade9f13229539cf35c29e0ceaac38a0eeb9f9598e1a30a4f67a2352c0b6 0002-gcc-poison-system-directories.patch -eee255b920cfe35cb1df1c62a44f17c81479573308df87c12c0971a1dca82dd1c73a0544cc6ab9974cd75d212e19450fc855eaf794843f0d5541e9ba7985af2f 0003-Turn-on-Wl-z-relro-z-now-by-default.patch -b1967302576ede18efbfd7de6c191b7503bc43f205a6c22787823d1bd66f03d197bb2f0e674594707a9958932605b4b524568b2383fa62117bd5d80ecacce29c 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch -45c21abd2153541959352ed75ec322038c0950351c164d5540b61070fcaf158feee3ee82fd6dd9aea03d846edb99f487f76a312d442d70de16371c783fe3704b 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch -16a7b2a1e5c2191694131f2eee06adf3e45d59de83e1b5fa1dff43210b9a7f13234cf27a95d9a1d799bcd944aa2af8dc33396d518b574b8773ad52ebc6e80edc 0006-Enable-Wformat-and-Wformat-security-by-default.patch -daef4ebe907027b9ed2a4d940bb729355c86146dedd963f19b6f3e293e9e9807312c457a76c8599cc759283e7c35b85b721a60cabfc3026538efcbce212e10ea 0007-Enable-Wtrampolines-by-default.patch -f67ca64ef00350404a4db016e605a255e1669c9d05c86061816905348ddc9ffe260ae8d05d0fd1b9c9c2268b2943b2507a95e63ced39a4c5dfb791964f6f4a16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch -a7867b548b54ac81eedfda56679ee6658e690bb47528f9c437538c09bfeb5c8f0051788d61b480ddef3b3d16c4b2c35669741d5f99b2e68a89c7aec6280bc65f 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch -3d21fae6c58aabf7f05caabcc54635650e178d87d3816cfd367f14dfcfb0fa971526ce06d0c5f84557ce66220c2859b66897ede76c7e5d59cb72789b3b4edcae 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch -da4005b10d0222ebddc44dc9334933d80064583dc9f4e949ceef5b9739556d01ed91513a1a26758bf1211fd7a941d4e0d7cd1093b2f03cd00950981b8be87c1a 0011-libiberty-copy-PIC-objects-during-build-process.patch -f9acc3d4691525b6f64344485b9566a5e916572159c2b779f79324c56d6a3d9acb9c8dd79c0cf4d067737ca9c966aa1ba6b22c0eb6a4aadf91c54a3455a2bcd9 0012-libitm-disable-FORTIFY.patch -78fa151c0121455d52b7499b1e94761c4bb1150acaa751275df8e26ee27be785c78e2f7c7ec6fd3fda8cba431f2c151c79d61f9c00d51f55b2ae0ea588f3880c 0013-libgcc_s.patch -01afd5aab0f73ad2ee59459520d0fd93e772e954907e453ffc853e2b03f0c963f04abaea4479b202f79fa5c535b3a5b95f3ecde727ddfefb2c3e02e269ab39cc 0014-nopie.patch -1da8e1e5124e480b29b35c0401298d4c9a15b871e7bfede525df33e0ebaf56dc63d0854c28876d3ea77438353641c9ff5d4050698bca9fb91765ab92f9208359 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch -79853461889abccf810f70c8b6de5bb8a201681957dfeb1e7f0bc6acc3e939958f3e4012ff76ff01f7004398170566f100e49fa2ad3187dde4cdee60ac28a00d 0016-dlang-update-zlib-binding.patch -bbd954ac46d52d1fa8dcc731714424e026189d93eb6da6e632da997b3555b22dcff341626975d7acb795b655355ca493ebcffb925ba8b95e6dc3682a1c1e3fcf 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch -e6cd2ff6c03cad621bfd8b6c50bd7f9280a8a944096d0994cb11a7689c40cecffb2efc813db39e040c064ed1a8fa8bbd60ff51ab3bb69485faa216f4d9bab17d 0018-ada-fix-shared-linking.patch -a16631492e020f54fe19dc41ab831df881c96903d7ae9beaf9cfaed8c3bb65fdabea2ed0fc0945736a21432032623acb4403e9dc96d6020bd08b3836669719be 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch -1313e45ea2a9f8118d86a68e0942afc85840bbcc0154683f19660a09b7d51448f87ceb2e04fa9e70d84b7494467855f3062bb6be896cfbccb4ffb33dc3f836dd 0020-add-fortify-headers-paths.patch -a7f159ee2719cf16df666c58cac7266c6d14531076c719e3723f74b022c30338b7a53b0580aa373bcef8ccf607e7e54d4fb8d4da92da9ed82046797d8d4530e0 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch -b2d84e116538be203b10b795eb2ec11cd5aac3dc4b6d9216118b61de417929c68f3f961ae9c6edbb86a4f74305dabc26619aac1fe1ad289b274e4c546eeeb2dc 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch -72bb76b5e039c341c01d23dd503faaf290efd7389c748696ef058f9534d96bbfea8e56c52be4737a4ef7ab6bef8806c729d35175f5f55fddced42b3317ab223d 0023-Pure-64-bit-MIPS.patch -775fd10e51e80f22b21158c64cab69fbf7783dba784904a364614f319dca9c227d219714ddf4bb8c84d5e226322ce46739313f85e8b564df73f6ee91d54cfd82 0024-use-pure-64-bit-configuration-where-appropriate.patch -1fb0f5b812045f485051b16f5e7f4cf9785471a1c6069f88086edd41c65db4eb35681cc52916ef36586224ce7f5a66fc4e548076525afe6a6b56e21668fa5c81 0025-always-build-libgcc_eh.a.patch -84eb567250c6cc3c4dc00fb5a0de32648eb81b8bc50fb5b0fdcc7208118c887c7274677aafdc8e2400be4d44346ddaccc0b2a3eb99b000f06cc446e90e6c760d 0026-ada-libgnarl-compatibility-for-musl.patch -d6ea8bba98cca5cb9ef952c344f063d126dab7f7d30fbf411334be29e9aae611af85e137c92c16e6e72410fe7fed26d984d8807f0469770cae85f98f7b4d8eac 0027-ada-musl-support-fixes.patch -551da64e652effcb3b8bab8f4fee27d83665505ebe4207f891fd0149a04d601bd0ca60b232e58dc2190a7b9469e47a628e4b0b9986a260535aa3416e662c2fcc 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch -156c9f987f9579a05509dcdf0575559692be337a1412b4eb0a5eb3a0662ecf8ea2feed8a581741ff637b8dcb186769f54ae2e1b0e4dcace8ac7bb9eb9dd4e918 0029-gcc-go-Don-t-include-sys-user.h.patch -835be5d6477613def7866d2c9392d3327fe09564890d955db7dd0e77c6aacc234f4a8881b1fb15abae20b0b490fd6cebc5211562629166dc546b33b4f3207a24 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch -e0f2b85c4ef4bc83a450e48badc879f67b582d08d9bebad0f466393c9bda9e1898da2af30f90019d65e42bcdbd9fd30540dc3f307bb564470e9b8cae1a8a1e57 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch -0e6b051452f5f70a279eb323700b933cc856a7a7ec402f822af9cb3d57327fca9ebdeb253e6d87b76098bfd7da9a29591a051f57756ce5a2111da64886b066b4 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch -5df836874e41ce132a385f8b407f53feaa7854c7e3ecd5bbebc73622d9f0dfdd5000fa1f1545c4c4126d1d83e5d78d203180aec1f09d05369776c5b70f7ffddc 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch -a49b175ac231ae683bfbd8e422ac61e55f8ed265ec6bfa5b5a32800ba0605fde48088c12bf5b4ed29c9e202dea93c9443c67c61c2f2eecd709e6aefb3f1ffd32 0034-gcc-go-signal-34-is-special-on-musl-libc.patch -70d8725a3969e7b153db01c84dac5accb911d1b595072eda3bf0e2f24037ebcba478b7c2e80ab105ba3f06b404fd47deb8b509e1f5e652f40bf3b6eafef6f0d0 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch -eeb75092443f65e4da76293be1d1a742a0e951c763b5a59ffce056b4a7a84b33dade0e1c96a9887474d16571c797d916c7357ad7fb8004ddbe5195175ca55954 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch -c6dbba1ae7e11ab0ff58f4c001b5b76c776bf42f17591bc035b42bd7c4e473d837e7daf58e71949889cd1631a88ef5da7058e5d65292090d844077fbb2f6ae02 0037-gcc-go-link-to-libucontext.patch -11e017e82c9e3a8216703972a2d5195eb9153f224d43aeda0aa63519f39212d735b9018ea1c28a214e1eaac31339b5b48273d46a009d82c16a5041d1c0462b2f 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch -f83a53fefcadcae65fbda5e7d7f3dc3ee949596056ac1b4fbd3117af469a2ea306cacb4f58c345018c12868f64d63d82b1de63a65fcba21749a0a85c6dcaa95a 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch -b19533749ca4048a2956eab18b99fb2e1c5e4cffe9bf4a77d628b0e167af1f9dbb08a747d7888b365789ab9c6e5ce8cd6c09ef171e33f08c136ef6d4b5f05192 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch" +sha512sums="175886a1df08c017c59463233745acfa650fb194e18c940eb1dad0d95ba56921c8fa7a1102f9046b49a3fd90dd9c6100413cbb6318870b05a640aa25588c4ea0 gcc-10.3.1_git20210409.tar.xz +c7c4dc20966dc03372a1098af29880f480432539964a0df9c99050953ba8477bec1fda356d9542a18a037739c1e221ef8252ee85e92360811c314e677db393dd 0001-posix_memalign.patch +ee0a0f510f260f3d72d9f49a7278256ad3e5091eb4ed85198f3bb415e103d407ec8d7b18c686d1a64d61374674dc82118a0bcc21234096926ab3697b1aa123b6 0002-gcc-poison-system-directories.patch +f8f42b7557a39950d097e3163d69f17e1b8ffcfb9cd4137a318e150ebfe7e23b48075aaad02a0d122c0aa5b8b84681219ac185e88dbba724615bc52df2e5e645 0003-Turn-on-Wl-z-relro-z-now-by-default.patch +1f771b738d24e0168e14cebbc917ffda0d9c0a155eb6cd7bb01767649a2bb51253587c8001fa59968f2dfd26dd9aeb606075c357c9c12ee05f5b42c18646b758 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch +61a7b8d22ee6e03d9ed54ed9c505fdc032035fa31e2eb4c314e832c2a532acdda91cbf69a07a52d2a038c7ae6d8536999e5754058019f38ad531336397daf804 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch +7d4e573739859e0f76da7cf38c1dac4eca8d21a875390c45585a418e9d6c0e70022cfc2d930103cde67926b310a4592b11a8fe7e4d1eca514423c08c631fee04 0006-Enable-Wformat-and-Wformat-security-by-default.patch +5c277667aef1b3a9c9537bf7ac44f8e3eab40d2687f4b05a07810778715c4ed4db93a3ace98440fa3212bcc8d77ab33414607d68b36fd5edfded988a4cfe6945 0007-Enable-Wtrampolines-by-default.patch +ba8a1521b50cbf68a49dc01a4b2f51f461c2d60e28aa4a5b64ede1de21116e06ba35ff0c54e7c48b36d0904fef47e0a15207b4d2c7248885bca3a011b22abb56 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch +19613149833edecd3e8b949da3e93e3c9187d4c85554f0ea4a19204aa02785f5e2aef8c59d2eca013c630366bd5cf781569c1070f6ac05432154e37324b49ba9 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch +15d7d73a20a32f8b2ad77c358225cb12d25c6f4161ac826282c9ee2ed6a91ba9536360af0146b9bbbf4704d2f0292576b32f48af4bd8a51c989159140ba92618 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch +c2a353751286da8a53eb8ed4b8c947cb0b25925a4b3de2302df7f015e219868d67a313c557f54b45a4e588a759ea9e04e4c7f46862aacf49d32f0a1284730581 0011-libiberty-copy-PIC-objects-during-build-process.patch +330c4d051d2332908b7b6d63bd852fa7ddfbd50aa51000b62ebd9ad573565b1af29f4912781bc8b8ff45176230240512915eb80d19b7ab5710835459ad0f56e5 0012-libitm-disable-FORTIFY.patch +dbb2c022a5d6a374b91e8db74b853162436f44755799c6a0d5b1eff84afa4b79aa953dfd944051a9022c18b80976373451f261cc7c882356172b7ffd2a4facdf 0013-libgcc_s.patch +ab229d854e0eafc5ee9bdd828312b90d09f4d288ef0ccc38b6b188f8628f9d2af11e4565a332007c3e86fbc8cdde2c700c33535395c0efdb99753f6954669ab9 0014-nopie.patch +7baee361d199e1070e9f5029f289298e35e4515e465183d723c422d53e113f3c26d806a44220aeb7de595c6f4c3a739c3665dd836395d53c9baae1b85faaf4d2 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch +268aad733c78ad816fb8898721afcaf2a433c9dae450535519c8e974c9018b42d72c9fe8eaef65afe02d96f732bebbe9c346ed6ede147b5b34bca21e56db110b 0016-dlang-update-zlib-binding.patch +5aeeb17a2f1b6a89b6ca9a6fbddd2f3072c3d2144c0dfdb181385ac9a29bbfb904cccfac64d0fe8307763b185578e0669227ab6af17dfd664e9de6929580ebc4 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch +eed46a26d0b8d8c84690ef6506087cda25ae8d91ab8968b9d27ba09ebd79b96f8fd013d672f41b2193fcbf5edc1a4f8e39e397eccb877ced506f98d76e6a06e2 0018-ada-fix-shared-linking.patch +edd409f50beae54b111002959be6223436d62111c82be80148a83877b03f1d29218bd0dd886583decd394c077957684f4964aecb8e33cab499052e9b17e333ec 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch +854b5a3df20180e2e390d57b2a1665b6f390b7e2ec6f84371057c900802dfe1b1cebcc5e9cdae54de5db4335b425681b06cb60c4f51964b32fdf963420c6e491 0020-add-fortify-headers-paths.patch +d9bcf5414f3f7d77e0b16cc933db7b7ef20512ac5a3f9d64a80191455394e6348b654c9a9d230ca93af2789a7a334c8a10417c2833046284a9c54b76d8b02931 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch +f04db8f8a1822be5d832ecddfa66bf7faaf7086c55afa8775879625d8a42b986a70602cd7bc76fdc672808cf3932daee61123da9835a1d940cfc0a656706609d 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch +0a879aa3e9693710de04e5845ae4bfaed36e35288d3c794693f141819b7572efb3cf1bb1f467bb88ec15124dba3450a34496e8b4eca3d562d90a16a6651c6af1 0023-Pure-64-bit-MIPS.patch +46724b82a9d2305a5d11029a0575637593c45e408c353147ac5d1cfc871076679f2b0c4069f1b005cf0a66bc18aa6485db84d367cff3a8bb979d1a1de91f5c03 0024-use-pure-64-bit-configuration-where-appropriate.patch +38939c2cf7de961437ce55a31a49adf43731b780a37e4a0ad3a0d982a9d9207ca8cbd30ce6d8da030e6030ce177fda36b371e1a576ebe6ef17ae9f3195836db9 0025-always-build-libgcc_eh.a.patch +5938442f0d1f562163ac4f30bfa7ac792c185c95fff25f1659a27f7d786bb62f428707d08a2d5601f9159ca0f32b29796a7aafbc180f548000a4c1d0b2af242f 0026-ada-libgnarl-compatibility-for-musl.patch +d1129aaa8291d60b872cc114c13235ad409fd8287771f10c717938acc789cadd0886a10855fa70f23096701d5a7c2dff87ee2b2ad6a47d1ddab67ce5abaae15f 0027-ada-musl-support-fixes.patch +6dd92d73ce05a808b0184fbedd41305e229acc0a6879fa52e3b28f483f32b09d21f79a3c23a32574c019b5e58908385187a2ae0b35f6a7fcfa3293478ff48965 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch +47cddc0376a780b6f75adfcc4e2e887abeaabf0f3cb17e3583b798d9e6aa073f773ba11e59214ea8a0054635d37dcd0c054547f0eef4e45c19b04c09d8c1bee6 0029-gcc-go-Don-t-include-sys-user.h.patch +af1aa70aafd9bb7416a86c407aa3227809b725748ab0a46a2437b950783545e781c3c974003b3c7e7e480fed07e9f098183737877885583b466bd6f9cebd3996 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch +9cbbaa3a7eb80d6d37ec53c7963fc97dff8e2b868337636371d4258aeaae48e01892e688fcf1638766a3e15dd69da29ab8bd31ec07838c2476f7aaf5603c0eb6 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch +342498934c658e118bf9a2097e8ce49dfccd56068a4042cda3d3de2dd5c302da7ea30ba6f20d023afd5e7cef189fa6e05f941a0c5f6438bb267932d593d160c5 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch +7946254594aea17a1795c7be03478bc206c612319107a5b5d50b660b3eb0a896fe2defcc09837366f8c749da655471e22742cae6cd916717adb537de2d9cb0f7 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch +09c8c091163eddec1971d734e3a9c26794f0274ec97f319f469f8ecfeeb9973db51d49d0d0c748e0ccc757230bd6bdff8734e19ee8c33ed7cb5825176121f138 0034-gcc-go-signal-34-is-special-on-musl-libc.patch +2e42058f32c769a6d550c8d5f5fda29c716dec30ff6c9f055152064af7e3368322938831bbaa6a6800910c78798fdb9ac4a24acdd739e42f5c5c008ddc25f0ce 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch +0a9d4958c151ce716fdf0d8b9474bda893ec46a19322805ce71b0d45f102abf07c20832afd58313ff87010e917739d75837e343b8c3668cbbfdd1cdb8ddb1446 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch +674c828e93aa84cd07894bab320e410bb35ac469d7a1312d623af898b4ba82a1a513ed3037e5f9026e881c136717012af5ff5049a7586d664961e0a02795e094 0037-gcc-go-link-to-libucontext.patch +501e01642183040992ea29d3dc30c918960a83ef386dc6c0f21863b1d4367983bde0ec6c955a8efac5fb52a53ce6dd2670dbfe8b32c72875fcbe6fe0ad92501e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch +ca264938dba3ec0086a463127e7f14932a556c6b54cb36638a3d974be83d0d67cf6707e9230dcf4d527962de1c0060a6084b2346f8d374ee5c851828138ded4c 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch +8e0e203f8c66a496151db561e88612f7ce9295a420f8436e43a4ca1ae330bdbe7aeecfe6616f7331cb7913f9cc9ee1f83c94f798515fb91a4037f8b276d10ece 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch"