aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2021-04-24 05:48:02 +0000
committerAriadne Conill <ariadne@dereferenced.org>2021-04-25 10:15:52 +0000
commit0c96ac8fac701e923b0e6d181820dc48b2819798 (patch)
tree821e8aa35835bc8d5d466cc447cfdd747e0c7556
parent694cae2ccfca3c5413548a4561ce9d940619c414 (diff)
downloadaports-0c96ac8fac701e923b0e6d181820dc48b2819798.tar.gz
aports-0c96ac8fac701e923b0e6d181820dc48b2819798.tar.bz2
aports-0c96ac8fac701e923b0e6d181820dc48b2819798.tar.xz
main/gcc: upgrade to 10.3.1_git20210424
-rw-r--r--main/gcc/0001-posix_memalign.patch4
-rw-r--r--main/gcc/0002-gcc-poison-system-directories.patch4
-rw-r--r--main/gcc/0003-Turn-on-Wl-z-relro-z-now-by-default.patch4
-rw-r--r--main/gcc/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch6
-rw-r--r--main/gcc/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch6
-rw-r--r--main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch4
-rw-r--r--main/gcc/0007-Enable-Wtrampolines-by-default.patch4
-rw-r--r--main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch6
-rw-r--r--main/gcc/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch6
-rw-r--r--main/gcc/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch4
-rw-r--r--main/gcc/0011-libiberty-copy-PIC-objects-during-build-process.patch4
-rw-r--r--main/gcc/0012-libitm-disable-FORTIFY.patch4
-rw-r--r--main/gcc/0013-libgcc_s.patch4
-rw-r--r--main/gcc/0014-nopie.patch4
-rw-r--r--main/gcc/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch4
-rw-r--r--main/gcc/0016-dlang-update-zlib-binding.patch4
-rw-r--r--main/gcc/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch4
-rw-r--r--main/gcc/0018-ada-fix-shared-linking.patch4
-rw-r--r--main/gcc/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch4
-rw-r--r--main/gcc/0020-add-fortify-headers-paths.patch4
-rw-r--r--main/gcc/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch8
-rw-r--r--main/gcc/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch4
-rw-r--r--main/gcc/0023-Pure-64-bit-MIPS.patch4
-rw-r--r--main/gcc/0024-use-pure-64-bit-configuration-where-appropriate.patch4
-rw-r--r--main/gcc/0025-always-build-libgcc_eh.a.patch4
-rw-r--r--main/gcc/0026-ada-libgnarl-compatibility-for-musl.patch4
-rw-r--r--main/gcc/0027-ada-musl-support-fixes.patch4
-rw-r--r--main/gcc/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch4
-rw-r--r--main/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch4
-rw-r--r--main/gcc/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch4
-rw-r--r--main/gcc/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch4
-rw-r--r--main/gcc/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch4
-rw-r--r--main/gcc/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch5
-rw-r--r--main/gcc/0034-gcc-go-signal-34-is-special-on-musl-libc.patch4
-rw-r--r--main/gcc/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch4
-rw-r--r--main/gcc/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch4
-rw-r--r--main/gcc/0037-gcc-go-link-to-libucontext.patch4
-rw-r--r--main/gcc/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch5
-rw-r--r--main/gcc/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch4
-rw-r--r--main/gcc/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch4
-rw-r--r--main/gcc/0041-Use-generic-errstr.go-implementation-on-musl.patch5
-rw-r--r--main/gcc/APKBUILD88
42 files changed, 134 insertions, 133 deletions
diff --git a/main/gcc/0001-posix_memalign.patch b/main/gcc/0001-posix_memalign.patch
index 9e1d18aa9d..34397aef53 100644
--- a/main/gcc/0001-posix_memalign.patch
+++ b/main/gcc/0001-posix_memalign.patch
@@ -1,7 +1,7 @@
-From 4caf1c3a96f293b8ae0094ea70b2b468e14d787c Mon Sep 17 00:00:00 2001
+From 00951a574e9698d8549cc5ea1793059849cab47f Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Fri, 26 Jan 2018 20:32:50 +0000
-Subject: [PATCH 01/40] posix_memalign
+Subject: [PATCH] posix_memalign
---
gcc/config/i386/pmm_malloc.h | 9 +++++----
diff --git a/main/gcc/0002-gcc-poison-system-directories.patch b/main/gcc/0002-gcc-poison-system-directories.patch
index 788e0b5ba7..329cfda1e1 100644
--- a/main/gcc/0002-gcc-poison-system-directories.patch
+++ b/main/gcc/0002-gcc-poison-system-directories.patch
@@ -1,7 +1,7 @@
-From e4a68f2674e1959920969dc4f73f29eb6ec002b7 Mon Sep 17 00:00:00 2001
+From 0cd08ecfaf79062115dd12744068970502b99c01 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 08:59:00 +0400
-Subject: [PATCH 02/40] gcc: poison-system-directories
+Subject: [PATCH] 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
diff --git a/main/gcc/0003-Turn-on-Wl-z-relro-z-now-by-default.patch b/main/gcc/0003-Turn-on-Wl-z-relro-z-now-by-default.patch
index 949a41a0e7..d5bd8cac3c 100644
--- a/main/gcc/0003-Turn-on-Wl-z-relro-z-now-by-default.patch
+++ b/main/gcc/0003-Turn-on-Wl-z-relro-z-now-by-default.patch
@@ -1,7 +1,7 @@
-From 2773fe84bc49e9baca7ddb2ba3e3727e36bd7a63 Mon Sep 17 00:00:00 2001
+From f0338445838d12a82c803c1579653332e2710157 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:45:49 +0000
-Subject: [PATCH 03/40] Turn on -Wl,-z,relro,-z,now by default.
+Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
---
gcc/doc/invoke.texi | 3 +++
diff --git a/main/gcc/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch b/main/gcc/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
index e2903466e9..a9fcf0383f 100644
--- a/main/gcc/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
+++ b/main/gcc/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
@@ -1,8 +1,8 @@
-From a3ab0f59c562f72112f1229e005e4baad7b202e4 Mon Sep 17 00:00:00 2001
+From 6aa52d7bf25389177c389ea77eb477e7952d1154 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:22 +0000
-Subject: [PATCH 04/40] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
- ObjC, ObjC++, if the optimization level is > 0
+Subject: [PATCH] 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 ++++
diff --git a/main/gcc/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch b/main/gcc/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
index ddc5b8ee0c..ac31d323b1 100644
--- a/main/gcc/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
+++ b/main/gcc/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
@@ -1,8 +1,8 @@
-From 6f324533a60b7e9a0a21e3f1c5f3f25d9d099a41 Mon Sep 17 00:00:00 2001
+From 7b624ee24d9299889c35c84303811012f8b8f1d2 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:56 +0000
-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.
+Subject: [PATCH] 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/main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch b/main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch
index bb761daba9..39c1b41407 100644
--- a/main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch
+++ b/main/gcc/0006-Enable-Wformat-and-Wformat-security-by-default.patch
@@ -1,7 +1,7 @@
-From a9444c2a174a60bbc659b376f21674e02be669c1 Mon Sep 17 00:00:00 2001
+From 7eed1ed7399593864a097360f778e2409deb663c Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:47:43 +0000
-Subject: [PATCH 06/40] Enable -Wformat and -Wformat-security by default.
+Subject: [PATCH] Enable -Wformat and -Wformat-security by default.
---
gcc/c-family/c.opt | 4 ++--
diff --git a/main/gcc/0007-Enable-Wtrampolines-by-default.patch b/main/gcc/0007-Enable-Wtrampolines-by-default.patch
index e0d4245aa0..9fd6afbb2a 100644
--- a/main/gcc/0007-Enable-Wtrampolines-by-default.patch
+++ b/main/gcc/0007-Enable-Wtrampolines-by-default.patch
@@ -1,7 +1,7 @@
-From d20e8bab053eb3a31a08deeae8d0829ba84f47e3 Mon Sep 17 00:00:00 2001
+From 63c5bf27194fbc27c6630f325b5d976aad87c5d5 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:48:24 +0000
-Subject: [PATCH 07/40] Enable -Wtrampolines by default.
+Subject: [PATCH] Enable -Wtrampolines by default.
---
gcc/common.opt | 2 +-
diff --git a/main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch b/main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
index 6b076ca231..68395ff9c4 100644
--- a/main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
+++ b/main/gcc/0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
@@ -1,8 +1,8 @@
-From d8613c37b889fc42c2b9ffada1e2906d5e4cf062 Mon Sep 17 00:00:00 2001
+From c28375576bd7ab89389c9208447a490596aa759f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:49:40 +0000
-Subject: [PATCH 08/40] Disable ssp on -nostdlib, -nodefaultlibs and
- -ffreestanding Change the buffer size.
+Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding
+ Change the buffer size.
---
gcc/gcc.c | 8 +++++++-
diff --git a/main/gcc/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch b/main/gcc/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
index 7e2237778a..40ab0bff34 100644
--- a/main/gcc/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
+++ b/main/gcc/0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
@@ -1,8 +1,8 @@
-From 9a3d57157595f98d2bd58424642c3539fd2a2668 Mon Sep 17 00:00:00 2001
+From 85baea39858509dacfc235396f6fbd79ac23d50d Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:50:33 +0000
-Subject: [PATCH 09/40] Ensure that msgfmt doesn't encounter problems during
- gcc bootstrapping.
+Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc
+ bootstrapping.
Solves error messages like the following:
diff --git a/main/gcc/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch b/main/gcc/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
index 47ca5c54cc..30e1872346 100644
--- a/main/gcc/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
+++ b/main/gcc/0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
@@ -1,7 +1,7 @@
-From 177f24cbf26c14ea07c4769e6fd2598a85e06d2e Mon Sep 17 00:00:00 2001
+From fb7d03c7ea97fc785327fd00b302c7ac17779837 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:52:07 +0000
-Subject: [PATCH 10/40] Don't declare asprintf if defined as a macro.
+Subject: [PATCH] Don't declare asprintf if defined as a macro.
---
include/libiberty.h | 3 +++
diff --git a/main/gcc/0011-libiberty-copy-PIC-objects-during-build-process.patch b/main/gcc/0011-libiberty-copy-PIC-objects-during-build-process.patch
index c0b11f5956..3d2c5d1a01 100644
--- a/main/gcc/0011-libiberty-copy-PIC-objects-during-build-process.patch
+++ b/main/gcc/0011-libiberty-copy-PIC-objects-during-build-process.patch
@@ -1,7 +1,7 @@
-From 31301d91ac46894423188ebd0f961cfca709d66c Mon Sep 17 00:00:00 2001
+From 07467a2a24bd15a6a28154a33441adc1291789d6 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:00 +0000
-Subject: [PATCH 11/40] libiberty: copy PIC objects during build process
+Subject: [PATCH] libiberty: copy PIC objects during build process
---
libiberty/Makefile.in | 1 +
diff --git a/main/gcc/0012-libitm-disable-FORTIFY.patch b/main/gcc/0012-libitm-disable-FORTIFY.patch
index e520d3e61b..b5669fbeab 100644
--- a/main/gcc/0012-libitm-disable-FORTIFY.patch
+++ b/main/gcc/0012-libitm-disable-FORTIFY.patch
@@ -1,7 +1,7 @@
-From 3cc4794124dd7306e759a8f1769319144e5bdc63 Mon Sep 17 00:00:00 2001
+From 07517ed455bf3f03b1be7a5c72d3705b22780a15 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:36 +0000
-Subject: [PATCH 12/40] libitm: disable FORTIFY
+Subject: [PATCH] libitm: disable FORTIFY
---
libitm/configure.tgt | 10 ++++++++++
diff --git a/main/gcc/0013-libgcc_s.patch b/main/gcc/0013-libgcc_s.patch
index 4bf1446f42..70cbbabaf6 100644
--- a/main/gcc/0013-libgcc_s.patch
+++ b/main/gcc/0013-libgcc_s.patch
@@ -1,7 +1,7 @@
-From ac9489e4b3ad3f22f88d1bab3e103ffd3a287d18 Mon Sep 17 00:00:00 2001
+From b74afde10094923279a408ff56ea99cff6c259ae Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 24 Oct 2015 20:09:53 +0000
-Subject: [PATCH 13/40] libgcc_s
+Subject: [PATCH] libgcc_s
---
gcc/config/i386/i386-expand.c | 4 ++--
diff --git a/main/gcc/0014-nopie.patch b/main/gcc/0014-nopie.patch
index e398c75549..f4b0b4e31b 100644
--- a/main/gcc/0014-nopie.patch
+++ b/main/gcc/0014-nopie.patch
@@ -1,7 +1,7 @@
-From ebca654224b0b55753748a7954570726908c474e Mon Sep 17 00:00:00 2001
+From e73096ae33c1ebf2833deab647ca825229c533f1 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 7 Nov 2015 02:08:05 +0000
-Subject: [PATCH 14/40] nopie
+Subject: [PATCH] nopie
---
gcc/configure | 27 +++++++++++++++++++++++++++
diff --git a/main/gcc/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch b/main/gcc/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
index 1e2b22a8ac..064cb18373 100644
--- a/main/gcc/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
+++ b/main/gcc/0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
@@ -1,7 +1,7 @@
-From 288130bb8f622a813f4937b28ff2129be4a7e2ba Mon Sep 17 00:00:00 2001
+From d56bf713ed0d248fccb445ac475ad69d9430bb96 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:09 +0000
-Subject: [PATCH 15/40] libffi: use __linux__ instead of __gnu_linux__ for musl
+Subject: [PATCH] libffi: use __linux__ instead of __gnu_linux__ for musl
---
libffi/src/closures.c | 2 +-
diff --git a/main/gcc/0016-dlang-update-zlib-binding.patch b/main/gcc/0016-dlang-update-zlib-binding.patch
index 3b80f61d94..4260fce6f4 100644
--- a/main/gcc/0016-dlang-update-zlib-binding.patch
+++ b/main/gcc/0016-dlang-update-zlib-binding.patch
@@ -1,7 +1,7 @@
-From bc17bd672e11321d903245a3059e9788c8f83a7f Mon Sep 17 00:00:00 2001
+From 6175b540b25a9d899772a7354a6ac2ae77c311ae Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:51 +0000
-Subject: [PATCH 16/40] dlang: update zlib binding
+Subject: [PATCH] dlang: update zlib binding
---
libphobos/src/std/zlib.d | 266 ++++++++++++++++++++++++++++-----------
diff --git a/main/gcc/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch b/main/gcc/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
index c92bfe7683..4621799981 100644
--- a/main/gcc/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
+++ b/main/gcc/0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
@@ -1,7 +1,7 @@
-From 6216a5dd04b5722cae21ba57ac4747f402d6d11a Mon Sep 17 00:00:00 2001
+From 578f3d719c1154a38a5cf84217e3cb124da45ad8 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:58:22 +0000
-Subject: [PATCH 17/40] dlang: fix fcntl on mips, add libucontext dep
+Subject: [PATCH] dlang: fix fcntl on mips, add libucontext dep
---
libphobos/configure.tgt | 1 +
diff --git a/main/gcc/0018-ada-fix-shared-linking.patch b/main/gcc/0018-ada-fix-shared-linking.patch
index 2c2120e83b..cac5918502 100644
--- a/main/gcc/0018-ada-fix-shared-linking.patch
+++ b/main/gcc/0018-ada-fix-shared-linking.patch
@@ -1,7 +1,7 @@
-From ebc8584a9b7ed1f5fd6fc01d7cc0b718ea0f063e Mon Sep 17 00:00:00 2001
+From b3bcc4fc43170f9914772c543778560c5e473fae Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:16 +0000
-Subject: [PATCH 18/40] ada: fix shared linking
+Subject: [PATCH] ada: fix shared linking
---
gcc/ada/link.c | 12 ++++++------
diff --git a/main/gcc/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch b/main/gcc/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
index 0206c8c52e..11aec7c369 100644
--- a/main/gcc/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
+++ b/main/gcc/0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
@@ -1,7 +1,7 @@
-From 1c99fd83e51934aded85825d5474f57d1d06090e Mon Sep 17 00:00:00 2001
+From e85513f5bb1884b60d0e261e23366c3291b50d67 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:43 +0000
-Subject: [PATCH 19/40] build: fix CXXFLAGS_FOR_BUILD passing
+Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing
---
Makefile.in | 1 +
diff --git a/main/gcc/0020-add-fortify-headers-paths.patch b/main/gcc/0020-add-fortify-headers-paths.patch
index 521598ce9b..1954992c35 100644
--- a/main/gcc/0020-add-fortify-headers-paths.patch
+++ b/main/gcc/0020-add-fortify-headers-paths.patch
@@ -1,7 +1,7 @@
-From d620a4e35183dc7cfeab739312fc3d7b98a11e31 Mon Sep 17 00:00:00 2001
+From ba67e2205fb47afeb91c7c2ee575e426c0629845 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:01:06 +0000
-Subject: [PATCH 20/40] add fortify-headers paths
+Subject: [PATCH] add fortify-headers paths
---
gcc/config/linux.h | 2 ++
diff --git a/main/gcc/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch b/main/gcc/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
index c52077dbb1..c27639489f 100644
--- a/main/gcc/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
+++ b/main/gcc/0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
@@ -1,9 +1,9 @@
-From 45863e36e6e69a7f78388890297d897f97f45f1f Mon Sep 17 00:00:00 2001
+From 76a7d4998303fe4229c814ea87621af94cb26f08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Fri, 21 Aug 2020 07:03:00 +0000
-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.
+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.
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/main/gcc/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch b/main/gcc/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
index e50fda5bc5..a94f460c98 100644
--- a/main/gcc/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
+++ b/main/gcc/0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
@@ -1,7 +1,7 @@
-From 99f18a789cccc40de0adb14cca064335cbb7d5a0 Mon Sep 17 00:00:00 2001
+From 81735c7800b3369361c40103d6d479239fa779d7 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:03:42 +0000
-Subject: [PATCH 22/40] DP: Use --push-state/--pop-state for gold as well when
+Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when
linking libtsan.
---
diff --git a/main/gcc/0023-Pure-64-bit-MIPS.patch b/main/gcc/0023-Pure-64-bit-MIPS.patch
index 11e7e822ec..0b5251750a 100644
--- a/main/gcc/0023-Pure-64-bit-MIPS.patch
+++ b/main/gcc/0023-Pure-64-bit-MIPS.patch
@@ -1,7 +1,7 @@
-From 71b4599cd1a7512221e3b209d084ee0e80cae56f Mon Sep 17 00:00:00 2001
+From bd3e178619a7d45b2b22141a2b83f67bc27b229a Mon Sep 17 00:00:00 2001
From: Nils Andreas Svee <me@lochnair.net>
Date: Thu, 21 Dec 2017 03:14:33 +0100
-Subject: [PATCH 23/40] Pure 64-bit MIPS
+Subject: [PATCH] Pure 64-bit MIPS
---
gcc/config/mips/mips.h | 8 ++++----
diff --git a/main/gcc/0024-use-pure-64-bit-configuration-where-appropriate.patch b/main/gcc/0024-use-pure-64-bit-configuration-where-appropriate.patch
index 8a0ff2db34..fa29a93336 100644
--- a/main/gcc/0024-use-pure-64-bit-configuration-where-appropriate.patch
+++ b/main/gcc/0024-use-pure-64-bit-configuration-where-appropriate.patch
@@ -1,7 +1,7 @@
-From 23b8d3f4ed85efe3104666e81988f7604a617cc3 Mon Sep 17 00:00:00 2001
+From d5e2025be98fd345549d41067eac3fd3fe201a4e Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:04:40 +0000
-Subject: [PATCH 24/40] use pure 64-bit configuration where appropriate
+Subject: [PATCH] use pure 64-bit configuration where appropriate
---
gcc/config/aarch64/t-aarch64-linux | 2 +-
diff --git a/main/gcc/0025-always-build-libgcc_eh.a.patch b/main/gcc/0025-always-build-libgcc_eh.a.patch
index 3868a9b06d..125deef925 100644
--- a/main/gcc/0025-always-build-libgcc_eh.a.patch
+++ b/main/gcc/0025-always-build-libgcc_eh.a.patch
@@ -1,7 +1,7 @@
-From ca5e35a64f95ecc644f6f2d5f874755f1b5bdbf2 Mon Sep 17 00:00:00 2001
+From 6a51ad76380daed31a4eadcee844647452ce6dfd Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:05:41 +0000
-Subject: [PATCH 25/40] always build libgcc_eh.a
+Subject: [PATCH] always build libgcc_eh.a
highly inspired by:
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
diff --git a/main/gcc/0026-ada-libgnarl-compatibility-for-musl.patch b/main/gcc/0026-ada-libgnarl-compatibility-for-musl.patch
index 24791ad398..2150473d3a 100644
--- a/main/gcc/0026-ada-libgnarl-compatibility-for-musl.patch
+++ b/main/gcc/0026-ada-libgnarl-compatibility-for-musl.patch
@@ -1,7 +1,7 @@
-From f3e0f7f460624a90416393902b946c0d74b507cc Mon Sep 17 00:00:00 2001
+From 4ce9b92262575e2484836fb9bffca08be99b9a4b Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:06:30 +0000
-Subject: [PATCH 26/40] ada: libgnarl compatibility for musl
+Subject: [PATCH] ada: libgnarl compatibility for musl
---
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
diff --git a/main/gcc/0027-ada-musl-support-fixes.patch b/main/gcc/0027-ada-musl-support-fixes.patch
index 5a8fa9cc8b..e213959fe1 100644
--- a/main/gcc/0027-ada-musl-support-fixes.patch
+++ b/main/gcc/0027-ada-musl-support-fixes.patch
@@ -1,7 +1,7 @@
-From 8bf9618294153d345905564ff68e2e3be810b8a4 Mon Sep 17 00:00:00 2001
+From 61c266f5703b9032fc2afaa98756f89cfe62d897 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:07:48 +0000
-Subject: [PATCH 27/40] ada: musl support fixes
+Subject: [PATCH] ada: musl support fixes
---
gcc/ada/Makefile.rtl | 10 +++++-----
diff --git a/main/gcc/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch b/main/gcc/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
index 3b4197bc98..5752caa93d 100644
--- a/main/gcc/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
+++ b/main/gcc/0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
@@ -1,7 +1,7 @@
-From 5a3e6a0890854f713100e9f2ea29bcc5b635e78a Mon Sep 17 00:00:00 2001
+From e4d804bdeb899b4a1d6539a3ad1404ad417f6abc Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:08 +0200
-Subject: [PATCH 28/40] gcc-go: Use _off_t type instead of _loff_t
+Subject: [PATCH] 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/main/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch b/main/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch
index 89fb390ea7..2a7181fd67 100644
--- a/main/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch
+++ b/main/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch
@@ -1,7 +1,7 @@
-From 00252a5095ef24c86e500b460e290e1be07dcb7e Mon Sep 17 00:00:00 2001
+From e04850ade73b4e9de9e95438f80bb4c0325168d8 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:21 +0200
-Subject: [PATCH 29/40] gcc-go: Don't include sys/user.h
+Subject: [PATCH] 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/main/gcc/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch b/main/gcc/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
index a728a41328..3308afa36a 100644
--- a/main/gcc/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
+++ b/main/gcc/0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
@@ -1,7 +1,7 @@
-From 1f83a2aebcc6b672950629b3752651b4d1ea7a12 Mon Sep 17 00:00:00 2001
+From dee0f4faec19854beee5e258e91e40544fead83d Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:22 +0200
-Subject: [PATCH 30/40] gcc-go: Fix ucontext_t on PPC64
+Subject: [PATCH] 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/main/gcc/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch b/main/gcc/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
index ce0a3cb169..8531ba0f19 100644
--- a/main/gcc/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
+++ b/main/gcc/0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
@@ -1,7 +1,7 @@
-From 8d4a5efa805cdb514c1dfa4bc6385ad190bd8797 Mon Sep 17 00:00:00 2001
+From 7c91fa8d1061a7dfe29081449cab03b8a3eae27f Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:45 +0200
-Subject: [PATCH 31/40] gcc-go: Fix handling of signal 34 on musl
+Subject: [PATCH] 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/main/gcc/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch b/main/gcc/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
index 0aa31726ae..5c1892cf76 100644
--- a/main/gcc/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
+++ b/main/gcc/0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
@@ -1,7 +1,7 @@
-From 8d2fd5e6b0824425ed614d4470494e9756724ecd Mon Sep 17 00:00:00 2001
+From 2b990c08be4548705261e067233f798520a6ace0 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:01:03 +0200
-Subject: [PATCH 32/40] gcc-go: Use int64 type as offset argument for mmap
+Subject: [PATCH] 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/main/gcc/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch b/main/gcc/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
index 9826fcadf0..485a41825d 100644
--- a/main/gcc/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
+++ b/main/gcc/0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
@@ -1,8 +1,7 @@
-From f76f5767a1ebbdc6f0bf5d3c180ff9d68dec3ae5 Mon Sep 17 00:00:00 2001
+From d42dbc871f149f658b6c3379bbc531efe427253b Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:02:28 +0200
-Subject: [PATCH 33/40] gcc-go: Fix st_{a,m,c}tim fields in generated
- sysinfo.go
+Subject: [PATCH] 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/main/gcc/0034-gcc-go-signal-34-is-special-on-musl-libc.patch b/main/gcc/0034-gcc-go-signal-34-is-special-on-musl-libc.patch
index 5ac82fc375..b085e03ae9 100644
--- a/main/gcc/0034-gcc-go-signal-34-is-special-on-musl-libc.patch
+++ b/main/gcc/0034-gcc-go-signal-34-is-special-on-musl-libc.patch
@@ -1,7 +1,7 @@
-From 82de62b8ce83e80b37bac6d4ad8b41e7d7a0de05 Mon Sep 17 00:00:00 2001
+From aecc0619fab1b89a88bda30080417c0ddbb5d2aa Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:03:03 +0200
-Subject: [PATCH 34/40] gcc-go: signal 34 is special on musl libc
+Subject: [PATCH] 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/main/gcc/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch b/main/gcc/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
index 2b68a99074..1859b886e3 100644
--- a/main/gcc/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
+++ b/main/gcc/0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
@@ -1,7 +1,7 @@
-From d78313c65a087c859cae3771699e798d3f10966e Mon Sep 17 00:00:00 2001
+From c988692ec6b151541088b1b48a29d6a54269f55c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 30 Aug 2020 19:26:53 +0200
-Subject: [PATCH 35/40] gcc-go: Prefer _off_t over _off64_t
+Subject: [PATCH] gcc-go: Prefer _off_t over _off64_t
musl does not seem to have _off64_t.
---
diff --git a/main/gcc/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch b/main/gcc/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
index 73477d507b..a2c0c03661 100644
--- a/main/gcc/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
+++ b/main/gcc/0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
@@ -1,7 +1,7 @@
-From b0c49ce2ced307af0248e6aed20da0f351f2f39c Mon Sep 17 00:00:00 2001
+From f634ef3142f759c8220830b77487fe9686ee0f61 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 30 Aug 2020 19:27:51 +0200
-Subject: [PATCH 36/40] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c
+Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c
---
libgo/runtime/proc.c | 4 ++++
diff --git a/main/gcc/0037-gcc-go-link-to-libucontext.patch b/main/gcc/0037-gcc-go-link-to-libucontext.patch
index 0997288dbb..a9befb16f1 100644
--- a/main/gcc/0037-gcc-go-link-to-libucontext.patch
+++ b/main/gcc/0037-gcc-go-link-to-libucontext.patch
@@ -1,7 +1,7 @@
-From b0e76ff4511a5ca4c790a123dc347a0aa7008dd9 Mon Sep 17 00:00:00 2001
+From 13f05ade4843b355a96d72cf3464694e5eca641e Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Mon, 31 Aug 2020 08:59:40 +0200
-Subject: [PATCH 37/40] gcc-go: link to libucontext
+Subject: [PATCH] gcc-go: link to libucontext
---
Makefile.in | 2 +-
diff --git a/main/gcc/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch b/main/gcc/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
index 66dd1168b3..86793d8656 100644
--- a/main/gcc/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
+++ b/main/gcc/0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
@@ -1,8 +1,7 @@
-From f6bb4cd2ec5af0151e6282e78428a51553020542 Mon Sep 17 00:00:00 2001
+From 6fb1014e9a20deb8c634fc12dd9a146a800e6b70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Mon, 31 Aug 2020 20:26:56 +0200
-Subject: [PATCH 38/40] gcc-go: Disable printing of unaccessible ppc64 struct
- members
+Subject: [PATCH] gcc-go: Disable printing of unaccessible ppc64 struct members
These struct members do not seem to exist on musl.
---
diff --git a/main/gcc/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch b/main/gcc/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
index c244b94f70..bd5d628d75 100644
--- a/main/gcc/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
+++ b/main/gcc/0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
@@ -1,7 +1,7 @@
-From fb71a010a27aabb32f071b98adf872a188e8a01c Mon Sep 17 00:00:00 2001
+From ae168d35da22feaa01f9f77f7b578aa05cd50c96 Mon Sep 17 00:00:00 2001
From: Geod24 <pro.mathias.lang@gmail.com>
Date: Mon, 16 Nov 2020 18:40:46 +0100
-Subject: [PATCH 39/40] CRuntime_Musl: Support v1.2.0 for 32 bits
+Subject: [PATCH] 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/main/gcc/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch b/main/gcc/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
index 58e38be209..1ba58286a8 100644
--- a/main/gcc/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
+++ b/main/gcc/0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
@@ -1,7 +1,7 @@
-From 2cb6fe7a9f0d74ca8d3cb5c465cb720bd01ef28e Mon Sep 17 00:00:00 2001
+From bfb6df1638635136c4fd8960575331476fb68d04 Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Wed, 9 Dec 2020 16:07:26 +0000
-Subject: [PATCH 40/40] configure: Add --enable-autolink-libatomic, use in
+Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
This fixes issues with RISC-V.
diff --git a/main/gcc/0041-Use-generic-errstr.go-implementation-on-musl.patch b/main/gcc/0041-Use-generic-errstr.go-implementation-on-musl.patch
index afebb26cd4..1561a7c058 100644
--- a/main/gcc/0041-Use-generic-errstr.go-implementation-on-musl.patch
+++ b/main/gcc/0041-Use-generic-errstr.go-implementation-on-musl.patch
@@ -1,4 +1,4 @@
-From ac361345ce5110d0551eb1a162594c2f9de66023 Mon Sep 17 00:00:00 2001
+From 3bc47945dab0108423dbaa211332817c4784b3db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Mon, 19 Apr 2021 07:21:41 +0200
Subject: [PATCH] Use generic errstr.go implementation on musl
@@ -43,3 +43,6 @@ index 5b19e6f202d..8dc60172186 100644
package syscall
+--
+2.31.0
+
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index b58d970f24..c2273b2f36 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=gcc
_pkgbase=10.3.1
-pkgver=10.3.1_git20210409
+pkgver=10.3.1_git20210424
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname="$pkgname$_target"
-pkgrel=1
+pkgrel=0
pkgdesc="The GNU Compiler Collection"
url="https://gcc.gnu.org"
arch="all"
@@ -650,45 +650,45 @@ gnat() {
mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/
}
-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
-f5b349fed2d513cfe21438ec317e61f78222f9b83d2d62fc4052b44072e3af65fd51e6c3b533d9332e9e8e942083b10c7daa97496cc02e9691f306c4f966ba21 0041-Use-generic-errstr.go-implementation-on-musl.patch"
+sha512sums="0ef281e6633b8bef7ce24d1448ec7b96aef66e414f90821a9a021dcd98eca8895d217d9d95b70fd9c96113689cd026aec951edc356462e439a9350edb4009df6 gcc-10.3.1_git20210424.tar.xz
+d1e10db83a04c02d99f9f6ce03f949b83ccd013674773dcb08992c604048df6a08bf9bd16f74e3c60ea85fd861fb08c1fa9fe17c304af9bfc9a032b81f1ac9eb 0001-posix_memalign.patch
+a77c7ebd994b5780cc5209f33ace24fc4d04353638dcdb14af192b0be5b0e5be397218ddba40e577af889a267af1aa69c1def474207a6661a37c3f5c15002bcb 0002-gcc-poison-system-directories.patch
+108ad63f61e61f627a75613605962021c08bbde584f3c0507d6a07c6112487847ce89699d1d80efb9201c4eab3440ba66f2eeb781bd259fdfc9c87b3baee1e27 0003-Turn-on-Wl-z-relro-z-now-by-default.patch
+dc28895223fe7ce531648225da3cd15e20c26a9be0248fdd66f11efb153647776bdbe8109097d87a087c4443e809a0d425848bdeae1442135c52a13bdd06ef75 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
+ce7a5f243072284e767510083c57250dd5f1dcdcae102cf1ecbb06f36ea286b00b1f84dc32e5fdb76bac77b52ef3e4e650cff7cc0d14d94487a40ca9d5605bbd 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
+f5458adfd23f51fa54fb690ec322552d7cadc3afa5773e13e73832c56832854ff14a73ff480c9990731ce929c5a4df35bc20247239268221b9af40ba37331228 0006-Enable-Wformat-and-Wformat-security-by-default.patch
+2601b0de5fe402cdd9a3d87c2a3e959154c2ee413989db21fbc232f169b20d94807a1f89ff5ebb650a143d59b4b48187b338832d8de577fa47bfdd1b76313114 0007-Enable-Wtrampolines-by-default.patch
+3eedfe70c85d963845a658444d8692792a34af8b5e0fa800991bf1e0e2c9ff3196c50f11a284cfaca5d48b4c78b614febf38339918c7fa7a7f4723a1f6bdad16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
+6a4b6843cb27b560ac4327b17718806bac4b602903f696222617148a52e9918144648cc45642293beb7c8fd48eba325c115e1dcaa4adec85e1caff0ea33d2a8a 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
+af174250b4fbcc3664bed51d919695511b538f2f3b65532383591f511bede3d13a1ade29aea66598d6df17f2e931a2d171f01c4e7008b4f468cfb13dc5f2b4cf 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
+aabac76659e3fa96fa7b4ee2571672c840c3dd37314f16516038d3934333a42b20442a967afce5a35a326685c3c8ef384fc97dc8f4dae57479038f5431e33c19 0011-libiberty-copy-PIC-objects-during-build-process.patch
+36702acf0c9b34adb0b23b74167e5358c706246cc88ce569d4462555bb48288d5d633298aa447ef023c6f75de86dfa7d4ebbf3c43593e1279837ebd47061be0f 0012-libitm-disable-FORTIFY.patch
+79912633ee707c60c66abf6ee16159db3357e4e75d4254f7f38cbc0119c2adfcfa2b8c6b1df3885526d68e49f88e2a0c87969a784ed8a1025a680a4f18acd06c 0013-libgcc_s.patch
+c8c6f4e967afb5d4a9eccd917f6338a61547cc2fabbf56b25e27220b4f3c85f5002477bf2f9d05a911185cee8dcba3a12d3ad24c0d7b1d3b67a3a53bfea702c6 0014-nopie.patch
+d8d8556a6192d7695e1aeb1e64bf98a02b068c427442dd9c23d2b9a863c504e577f35e0890b5f0a184c687ce9315cecff3d2e0bb82f19531a493efb72b54cfe7 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
+b3fb29187561fef84b6eb0b35a582c79833203f689e5bf884146cd9a71ec407e0e3b27b0bd4953143d00879ce32331e92741e1c7229ca291ebf13dfd8f5d409c 0016-dlang-update-zlib-binding.patch
+2a03683d5e00cc65f8ebc83638953dff89981069943169874df03f4f3a22348b960780250d9240505acf5b1bfbe154d57d14f310f29a94b76404f50611da9000 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
+3df60839e5337fccdd228ebf753fb0dbf672aefca5f3f16329b99c813b907f44e1ce4948ce7f692dca316eb307b83ae9f5028cf1875eb3c9fee85b2dee7bfe83 0018-ada-fix-shared-linking.patch
+bd60be22341b508b4b5cb66eb48723d0f48770745352c60cfe146efa4d18ec58cccbb37f85b98dc0432e52bb5dc8dc1f28b3a3ca50d1ca6db68eb38df970e5aa 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
+333f9c7a1935dc4f29783fa31c254bda6339c30ee770eb30d585ac422cd0f69701b5d988f9493471e4c83cf20937050f33320852a83ed6dfb2e739ee3539ca0e 0020-add-fortify-headers-paths.patch
+053b0339936cc0469e8708ccc086fa1dabe8572199530e1e78a93551340dd35467a07273e19d2cbc7fe915b7a5bdf95c128718ba0518b67b9668ef0316b7aa06 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
+7b3d849cdbdee5855918db4114de8f989ec5d612cddc7551eb63ca2878e69e3566353bbfafa9205a161ffd51c5aedd367de6ad82cd5ebf6cb28c716a8d447bb5 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
+6b3c0fa81cebaf32948657bddaac99024f45c2fc19ac8bc504f3773b6458099b9907e310e162952973bdd41c9fc011e7a50bc8fa86cc0ebec9dd4c69830a012b 0023-Pure-64-bit-MIPS.patch
+da634721fa9cba18e4f527b2cdbe6896c0251ce43865c6fbf29a7281d766c3a8f98e2ddd345b801c25b7ceb85880150ae9cc422aa8891b1fc28a3dc40bcd3114 0024-use-pure-64-bit-configuration-where-appropriate.patch
+64b58a273993224f93c68cddfacc1b3da6b0900b2983f27f8db39b4375afa97cce564739c8fc320666821f6de526e54acbc4920c7e16612303b3d25aed34d5f1 0025-always-build-libgcc_eh.a.patch
+6004be7d683993c175f819e1d62767b6ca2b80643917bb584ffffe2aee9fd5ad9745f91651ad5d1d00aed390e7346262b5c28bec356efd9ff1c85e4b54bcfe2e 0026-ada-libgnarl-compatibility-for-musl.patch
+7a3ce107cc55356ac46f3a217eea1cf9cdddd43fd3fede048a26e5da2280f0af9f806392942d2896a0f841ca0b0b0eaceb4e20f09edee7a743b515d3553fc8b3 0027-ada-musl-support-fixes.patch
+0cd8303456ec5479942970679352fe8bcd259b8b04bffba458545abdfac87163a8fb8e55c3aa505c516af8fd0a1bfb5f2ee4c6027ec9bcb0b0d3564469a18e23 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
+6cc82829bb8bf8ffb473e4f2f9c2f657a4078290fc7c3208d199c0b07c2c3a7575a0c423e52fc02fd96c81158ab2e7ad33ccb651523ba80e00dee9e503d19c6d 0029-gcc-go-Don-t-include-sys-user.h.patch
+868e0cf5d32412c557d7835e03eb23621745179e77c87d69b810f8ec968cf80606cb5cb8085e5e125f08e809d5e3ff50c4de869d94caca5f4257669237a29b92 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
+257814e2dc39bf01dedc3efe9f50029bdc230e112a0e739d0547896212b87bcdb9d40d4632a237137c91e2d9605b2256ebd45ee005920a5c4e401e699ce69f46 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
+0e33205e6ef0b58d12eb80d3fd6ce7361e9e3a86ba2ae781745133be1f0fea6a1e95fd58331765f6bb599f4ad355224c954db4fbaf804b9e4c0ea01dbaae1638 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
+bb1e3bbea65644435134910e04b8d4de27642026371b19f4faf51b90e32af08e7181b3198e936b3626cba2126f8f9182ce39f6b8c8849b6b27f56a1c45e4f8c5 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
+0758417ab682ee6d4b75f1ba2d0c1f568e115a16625eb664066c1862178a43ae717396c5d61a355a08fc01929041abebbf33bc58176a0b78ab384aba7d2ed8ba 0034-gcc-go-signal-34-is-special-on-musl-libc.patch
+d0b132d1bb9a455af23829a9da4ff89c27eff3f642e2280712667753d552fc214424470cad4cecd0ae39052553b6a22d7dc7a20eebfd1cb976d98552b00b9dcd 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
+a21844975ff13317ed7985b5f5b257a0bc1dd961360b6a6f36bf52151b8edf5ecf38fbdd47cb2c28c13ed3dfbf4ca112d91d81373fd3e2c5992aba35296645af 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
+0217263fc1fcfbde92fcebfc626b2cf0ba30e704b4fbe5a11f55d9ca5b579cceac3ba9ec45e7f53cd8805678b69fb6e5ab1295e67938b9c83f82e44ddebd0a85 0037-gcc-go-link-to-libucontext.patch
+8a90ce84d493bfcdcad4cb1a02a320dca18e8178e717451087501b059ca00ab8f6b73d628bcb3f49c5c6702b7222b063d3c0803d093e2c6f58820b6aa578969e 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
+a3e7362fa95d5ffa56b0d8ea73f6f8e867409ae3b85d041aa0591dba093c5bb1d30f3294151c5142e8d1df91f4d138e9f4484009b8a675c8fc3b754a34c7648e 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
+dc7a8f6dc885dc34229128a716531b375ec4e8247a8522adb623c5a6b39db60ff471436b360a25f0310ee16fe1a6ec85ff64398cbae2677534626972ac01db22 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
+046bfe95d6de9df148e6c410b5d23a49c488ab41d95e599fc381a2b7d190e6d7d99de59fa8cd8c3a711ee2310426f3cdcd323cf887c8d11543e119d205659b6a 0041-Use-generic-errstr.go-implementation-on-musl.patch"