cross/gcc-*: upgrade to 13.1.1_git20230715-r1
This commit is contained in:
parent
4e0229f789
commit
bf8bbc9a88
140 changed files with 1288 additions and 444 deletions
|
@ -1,7 +1,7 @@
|
||||||
From 75e758609803afe6ced6cd7799b4159f3848a8d5 Mon Sep 17 00:00:00 2001
|
From 47b4bd4deb2c356bb07d2a96f22127aefafec3a4 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Fri, 26 Jan 2018 20:32:50 +0000
|
Date: Fri, 26 Jan 2018 20:32:50 +0000
|
||||||
Subject: [PATCH 01/33] posix_memalign
|
Subject: [PATCH 01/34] posix_memalign
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/i386/pmm_malloc.h | 9 +++++----
|
gcc/config/i386/pmm_malloc.h | 9 +++++----
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 447c2a21d1fa8c2c3b216102a808834d86f12104 Mon Sep 17 00:00:00 2001
|
From 4fa620d8c3e6730211bfb071eb4c817320491bd0 Mon Sep 17 00:00:00 2001
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
Date: Fri, 29 Mar 2013 08:59:00 +0400
|
Date: Fri, 29 Mar 2013 08:59:00 +0400
|
||||||
Subject: [PATCH 02/33] gcc: poison-system-directories
|
Subject: [PATCH 02/34] gcc: poison-system-directories
|
||||||
|
|
||||||
Add /sw/include and /opt/include based on the original
|
Add /sw/include and /opt/include based on the original
|
||||||
zecke-no-host-includes.patch patch. The original patch checked for
|
zecke-no-host-includes.patch patch. The original patch checked for
|
||||||
|
@ -120,7 +120,7 @@ index 09082e8ccae..5504bf6eb01 100644
|
||||||
AC_SUBST(subdirs)
|
AC_SUBST(subdirs)
|
||||||
AC_SUBST(srcdir)
|
AC_SUBST(srcdir)
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index b61ecfc1bc8..b290908679e 100644
|
index af0e5933fdb..b6731a4673c 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -384,6 +384,7 @@ Objective-C and Objective-C++ Dialects}.
|
@@ -384,6 +384,7 @@ Objective-C and Objective-C++ Dialects}.
|
||||||
|
@ -131,7 +131,7 @@ index b61ecfc1bc8..b290908679e 100644
|
||||||
-Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls
|
-Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls
|
||||||
-Wrestrict -Wno-return-local-addr -Wreturn-type
|
-Wrestrict -Wno-return-local-addr -Wreturn-type
|
||||||
-Wno-scalar-storage-order -Wsequence-point
|
-Wno-scalar-storage-order -Wsequence-point
|
||||||
@@ -8424,6 +8425,14 @@ made up of data only and thus requires no special treatment. But, for
|
@@ -8426,6 +8427,14 @@ made up of data only and thus requires no special treatment. But, for
|
||||||
most targets, it is made up of code and thus requires the stack to be
|
most targets, it is made up of code and thus requires the stack to be
|
||||||
made executable in order for the program to work properly.
|
made executable in order for the program to work properly.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b5c378c4c1e71b2dd8b4616d8f61530ee1a3ac98 Mon Sep 17 00:00:00 2001
|
From ff4dd4ce33133e675b7bedc86b73357c04631cb9 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:45:49 +0000
|
Date: Fri, 21 Aug 2020 06:45:49 +0000
|
||||||
Subject: [PATCH 03/33] specs: turn on -Wl,-z,now by default
|
Subject: [PATCH 03/34] specs: turn on -Wl,-z,now by default
|
||||||
|
|
||||||
Previously, we also used to turn on -z relro here, but we now build
|
Previously, we also used to turn on -z relro here, but we now build
|
||||||
binutils with --enable-relro, which is functionally equivalent.
|
binutils with --enable-relro, which is functionally equivalent.
|
||||||
|
@ -14,10 +14,10 @@ now by default.
|
||||||
2 files changed, 4 insertions(+)
|
2 files changed, 4 insertions(+)
|
||||||
|
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index b290908679e..cb34e6d40c9 100644
|
index b6731a4673c..f393c7846c6 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -17959,6 +17959,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
|
@@ -17961,6 +17961,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
|
||||||
linker. When using the GNU linker, you can also get the same effect with
|
linker. When using the GNU linker, you can also get the same effect with
|
||||||
@option{-Wl,-Map=output.map}.
|
@option{-Wl,-Map=output.map}.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From bb3ef1f5acfde9658c922d0aef9283fe60328c33 Mon Sep 17 00:00:00 2001
|
From 1b315235433701e4a974da259b8d651169ddc7ac Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:46:22 +0000
|
Date: Fri, 21 Aug 2020 06:46:22 +0000
|
||||||
Subject: [PATCH 04/33] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
|
Subject: [PATCH 04/34] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
|
||||||
ObjC, ObjC++, if the optimization level is > 0
|
ObjC, ObjC++, if the optimization level is > 0
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -25,10 +25,10 @@ index 5d64625fcd7..868d69506e4 100644
|
||||||
if (flag_gnu89_inline)
|
if (flag_gnu89_inline)
|
||||||
cpp_define (pfile, "__GNUC_GNU_INLINE__");
|
cpp_define (pfile, "__GNUC_GNU_INLINE__");
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index cb34e6d40c9..7f1aa660285 100644
|
index f393c7846c6..ef3c14a189e 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -11866,6 +11866,12 @@ also turns on the following optimization flags:
|
@@ -11868,6 +11868,12 @@ also turns on the following optimization flags:
|
||||||
Please note the warning under @option{-fgcse} about
|
Please note the warning under @option{-fgcse} about
|
||||||
invoking @option{-O2} on programs that use computed gotos.
|
invoking @option{-O2} on programs that use computed gotos.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 0727ad9e4a458d090be6fb0cfbe334d8496cd5e0 Mon Sep 17 00:00:00 2001
|
From 67c0f5789630b27149f60ff831999ef7c1dba5d5 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:46:56 +0000
|
Date: Fri, 21 Aug 2020 06:46:56 +0000
|
||||||
Subject: [PATCH 05/33] On linux targets pass --as-needed by default to the
|
Subject: [PATCH 05/34] On linux targets pass --as-needed by default to the
|
||||||
linker, but always link the sanitizer libraries with --no-as-needed.
|
linker, but always link the sanitizer libraries with --no-as-needed.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From dc3e2f629fe7f8df81c74162c66910339ec5d03d Mon Sep 17 00:00:00 2001
|
From bb25e8489384504cd59e4a2538720863da1fb29c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:47:43 +0000
|
Date: Fri, 21 Aug 2020 06:47:43 +0000
|
||||||
Subject: [PATCH 06/33] Enable -Wformat and -Wformat-security by default.
|
Subject: [PATCH 06/34] Enable -Wformat and -Wformat-security by default.
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/c-family/c.opt | 4 ++--
|
gcc/c-family/c.opt | 4 ++--
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From d25c373cf839df0720f8d345b5ad55147030515a Mon Sep 17 00:00:00 2001
|
From 4a728ad48a7b437cc6f2697e26603bf648149f86 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:48:24 +0000
|
Date: Fri, 21 Aug 2020 06:48:24 +0000
|
||||||
Subject: [PATCH 07/33] Enable -Wtrampolines by default.
|
Subject: [PATCH 07/34] Enable -Wtrampolines by default.
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/common.opt | 2 +-
|
gcc/common.opt | 2 +-
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From eb58983c3d3126caaab8ed174571b142a095c132 Mon Sep 17 00:00:00 2001
|
From 32f24560d0602f7735d5e9efd92fe3151bd72cea Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:49:40 +0000
|
Date: Fri, 21 Aug 2020 06:49:40 +0000
|
||||||
Subject: [PATCH 08/33] Disable ssp on -nostdlib, -nodefaultlibs and
|
Subject: [PATCH 08/34] Disable ssp on -nostdlib, -nodefaultlibs and
|
||||||
-ffreestanding Change the buffer size.
|
-ffreestanding Change the buffer size.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 823afef2053ca4f79ac13f2b0f52b132282ee705 Mon Sep 17 00:00:00 2001
|
From c7ec8da7280d7f97f5543eb9ddeca7600aafc43c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:50:33 +0000
|
Date: Fri, 21 Aug 2020 06:50:33 +0000
|
||||||
Subject: [PATCH 09/33] Ensure that msgfmt doesn't encounter problems during
|
Subject: [PATCH 09/34] Ensure that msgfmt doesn't encounter problems during
|
||||||
gcc bootstrapping.
|
gcc bootstrapping.
|
||||||
|
|
||||||
Solves error messages like the following:
|
Solves error messages like the following:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 702cbba342eae468e79d9b42e366b9699c158402 Mon Sep 17 00:00:00 2001
|
From aaa029bcee68298695b7c4278c90b6bc320d098c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:52:07 +0000
|
Date: Fri, 21 Aug 2020 06:52:07 +0000
|
||||||
Subject: [PATCH 10/33] Don't declare asprintf if defined as a macro.
|
Subject: [PATCH 10/34] Don't declare asprintf if defined as a macro.
|
||||||
|
|
||||||
---
|
---
|
||||||
include/libiberty.h | 3 +++
|
include/libiberty.h | 3 +++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 18f0ecbdab63b0ee590ef21650ac72879318a8be Mon Sep 17 00:00:00 2001
|
From 65e01e749205c9af218b01233cebd0077538d0ee Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:53:00 +0000
|
Date: Fri, 21 Aug 2020 06:53:00 +0000
|
||||||
Subject: [PATCH 11/33] libiberty: copy PIC objects during build process
|
Subject: [PATCH 11/34] libiberty: copy PIC objects during build process
|
||||||
|
|
||||||
---
|
---
|
||||||
libiberty/Makefile.in | 1 +
|
libiberty/Makefile.in | 1 +
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From e350a47267790a1a624032a645425b4018433e0c Mon Sep 17 00:00:00 2001
|
From 453a815bf2844971a91eaef800af188d9e86b784 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Sat, 24 Oct 2015 20:09:53 +0000
|
Date: Sat, 24 Oct 2015 20:09:53 +0000
|
||||||
Subject: [PATCH 12/33] libgcc_s
|
Subject: [PATCH 12/34] libgcc_s
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/i386/i386-expand.cc | 4 ++--
|
gcc/config/i386/i386-expand.cc | 4 ++--
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 6ed790bb2e5bf49d186885cad8fd7efc10d8fd36 Mon Sep 17 00:00:00 2001
|
From 7d7d12137c666761a8dd61179c9651b85dae9b41 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Sat, 7 Nov 2015 02:08:05 +0000
|
Date: Sat, 7 Nov 2015 02:08:05 +0000
|
||||||
Subject: [PATCH 13/33] nopie
|
Subject: [PATCH 13/34] nopie
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/configure | 27 +++++++++++++++++++++++++++
|
gcc/configure | 27 +++++++++++++++++++++++++++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From c7398885b5c2cd91a3ad1a56fde272b719d17ff5 Mon Sep 17 00:00:00 2001
|
From dd5bb97c31a9f57034c70a7a18ba6e2e133084c7 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:59:16 +0000
|
Date: Fri, 21 Aug 2020 06:59:16 +0000
|
||||||
Subject: [PATCH 14/33] ada: fix shared linking
|
Subject: [PATCH 14/34] ada: fix shared linking
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/link.c | 12 ++++++------
|
gcc/ada/link.c | 12 ++++++------
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From c2861147eacede8c97dbb8d251f7d30ac2116481 Mon Sep 17 00:00:00 2001
|
From 6bb5b7d9161d05f31b001d8211a9c63caf63fd2f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:59:43 +0000
|
Date: Fri, 21 Aug 2020 06:59:43 +0000
|
||||||
Subject: [PATCH 15/33] build: fix CXXFLAGS_FOR_BUILD passing
|
Subject: [PATCH 15/34] build: fix CXXFLAGS_FOR_BUILD passing
|
||||||
|
|
||||||
---
|
---
|
||||||
Makefile.in | 1 +
|
Makefile.in | 1 +
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 736fd338aaa6d0686b15beabac687a20cfb29c27 Mon Sep 17 00:00:00 2001
|
From f0d9e00cac06689f64b214de7aee80d7116ef084 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:01:06 +0000
|
Date: Fri, 21 Aug 2020 07:01:06 +0000
|
||||||
Subject: [PATCH 16/33] add fortify-headers paths
|
Subject: [PATCH 16/34] add fortify-headers paths
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/linux.h | 2 ++
|
gcc/config/linux.h | 2 ++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f71fef0a3d527ba84faaf63cee2a5ecb2322412e Mon Sep 17 00:00:00 2001
|
From 857db04f4f1a06e866551b4172fe8f27363f4a92 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
|
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
|
||||||
Date: Fri, 21 Aug 2020 07:03:00 +0000
|
Date: Fri, 21 Aug 2020 07:03:00 +0000
|
||||||
Subject: [PATCH 17/33] Alpine musl package provides libssp_nonshared.a. We
|
Subject: [PATCH 17/34] Alpine musl package provides libssp_nonshared.a. We
|
||||||
link to it unconditionally, as otherwise we get link failures if some objects
|
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.
|
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
|
This seems to be the common case when bootstrapping gcc, the piepatches do
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 06624ddc7dfd4dcfb4e41f4549ffcacfbc43b315 Mon Sep 17 00:00:00 2001
|
From 5a8347e23ab13912b6edec2c6c6e3a101b017c79 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:03:42 +0000
|
Date: Fri, 21 Aug 2020 07:03:42 +0000
|
||||||
Subject: [PATCH 18/33] DP: Use --push-state/--pop-state for gold as well when
|
Subject: [PATCH 18/34] DP: Use --push-state/--pop-state for gold as well when
|
||||||
linking libtsan.
|
linking libtsan.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From cbc762f2d4c8ae714f7a0c762d90453607a5c2e5 Mon Sep 17 00:00:00 2001
|
From 41d00a2eb0754acf71958808bd17dbebeb517b84 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:12:55 +0000
|
Date: Thu, 6 Jan 2022 03:12:55 +0000
|
||||||
Subject: [PATCH 19/33] aarch64: disable multilib support
|
Subject: [PATCH 19/34] aarch64: disable multilib support
|
||||||
|
|
||||||
multilib is unsupported on Alpine GCC
|
multilib is unsupported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f820b730e48421ab03e5742dc06e83570690078e Mon Sep 17 00:00:00 2001
|
From 85b42bfbba71616831d14360b16998acb28790fd Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:13:59 +0000
|
Date: Thu, 6 Jan 2022 03:13:59 +0000
|
||||||
Subject: [PATCH 20/33] s390x: disable multilib support
|
Subject: [PATCH 20/34] s390x: disable multilib support
|
||||||
|
|
||||||
multilib is not supported on Alpine GCC at present
|
multilib is not supported on Alpine GCC at present
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 40c3d28f4d090fcd3486ca2a88d0c7618fdb03ed Mon Sep 17 00:00:00 2001
|
From 7b53df284242638e940c0155b6c21e88cea1f55b Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:14:33 +0000
|
Date: Thu, 6 Jan 2022 03:14:33 +0000
|
||||||
Subject: [PATCH 21/33] ppc64[le]: disable multilib support
|
Subject: [PATCH 21/34] ppc64[le]: disable multilib support
|
||||||
|
|
||||||
multilib is not presently supported on Alpine GCC
|
multilib is not presently supported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 05cf20eb11b3013c2fbb26c841485f675811058c Mon Sep 17 00:00:00 2001
|
From 96e7e1e9a899d9bb5fcbdf788bd529d0390c626f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:14:54 +0000
|
Date: Thu, 6 Jan 2022 03:14:54 +0000
|
||||||
Subject: [PATCH 22/33] x86_64: disable multilib support
|
Subject: [PATCH 22/34] x86_64: disable multilib support
|
||||||
|
|
||||||
multilib is not presently supported on Alpine GCC
|
multilib is not presently supported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 0920d23e3a345bc17675b9bebc52644c238123e2 Mon Sep 17 00:00:00 2001
|
From b26224acf342eacb33491f6ea0da1faf73d35715 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Mon, 3 Jan 2022 07:14:48 +0100
|
Date: Mon, 3 Jan 2022 07:14:48 +0100
|
||||||
Subject: [PATCH 23/33] riscv: disable multilib support
|
Subject: [PATCH 23/34] riscv: disable multilib support
|
||||||
MIME-Version: 1.0
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 5c955776d65f5a018375652904b088a37203899d Mon Sep 17 00:00:00 2001
|
From a72e0613f79f6b6867819317accb7a714031a08c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:05:41 +0000
|
Date: Fri, 21 Aug 2020 07:05:41 +0000
|
||||||
Subject: [PATCH 24/33] always build libgcc_eh.a
|
Subject: [PATCH 24/34] always build libgcc_eh.a
|
||||||
|
|
||||||
highly inspired by:
|
highly inspired by:
|
||||||
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
|
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From ac6202d063308fbf67e4b617b768536e66a44519 Mon Sep 17 00:00:00 2001
|
From 3ee8cbc1cad261b30d4a7a66d31496d5f243ce2f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:06:30 +0000
|
Date: Fri, 21 Aug 2020 07:06:30 +0000
|
||||||
Subject: [PATCH 25/33] ada: libgnarl compatibility for musl
|
Subject: [PATCH 25/34] ada: libgnarl compatibility for musl
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
|
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b7404c39a6a76ebe382caa2b9da16006413b21b9 Mon Sep 17 00:00:00 2001
|
From 3df4788c79c7429b196c7b284af2b4cf9a4b4f8d Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:07:48 +0000
|
Date: Fri, 21 Aug 2020 07:07:48 +0000
|
||||||
Subject: [PATCH 26/33] ada: musl support fixes
|
Subject: [PATCH 26/34] ada: musl support fixes
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/Makefile.rtl | 10 +++++-----
|
gcc/ada/Makefile.rtl | 10 +++++-----
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 401ac3feeea049a8035bf916f550ce6f4e859cba Mon Sep 17 00:00:00 2001
|
From 7b50823d8a4131e5a55d2499a0f5a52b3d91eed2 Mon Sep 17 00:00:00 2001
|
||||||
From: Drew DeVault <sir@cmpwn.com>
|
From: Drew DeVault <sir@cmpwn.com>
|
||||||
Date: Wed, 9 Dec 2020 07:42:06 +0000
|
Date: Wed, 9 Dec 2020 07:42:06 +0000
|
||||||
Subject: [PATCH 27/33] configure: Add --enable-autolink-libatomic, use in
|
Subject: [PATCH 27/34] configure: Add --enable-autolink-libatomic, use in
|
||||||
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
|
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
|
||||||
|
|
||||||
This fixes issues with RISC-V.
|
This fixes issues with RISC-V.
|
||||||
|
@ -166,10 +166,10 @@ index 57268319de1..56bcaa87620 100644
|
||||||
# Checks for other programs
|
# Checks for other programs
|
||||||
# -------------------------
|
# -------------------------
|
||||||
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
|
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
|
||||||
index 928fc6b6d4b..81a677014df 100644
|
index b30d3691fe6..ccc8e5dbb00 100644
|
||||||
--- a/gcc/doc/install.texi
|
--- a/gcc/doc/install.texi
|
||||||
+++ b/gcc/doc/install.texi
|
+++ b/gcc/doc/install.texi
|
||||||
@@ -2374,6 +2374,14 @@ files, but these changed header paths may conflict with some compilation
|
@@ -2377,6 +2377,14 @@ files, but these changed header paths may conflict with some compilation
|
||||||
environments. Enabled by default, and may be disabled using
|
environments. Enabled by default, and may be disabled using
|
||||||
@option{--disable-canonical-system-headers}.
|
@option{--disable-canonical-system-headers}.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From cd46156af13743fe93c48d00b0661add2c319226 Mon Sep 17 00:00:00 2001
|
From 5bbbd320e54ab5341cfba83e8af98685131caba1 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Sun, 29 Aug 2021 12:23:34 +0200
|
Date: Sun, 29 Aug 2021 12:23:34 +0200
|
||||||
Subject: [PATCH 28/33] configure: fix detection of atomic builtins in
|
Subject: [PATCH 28/34] configure: fix detection of atomic builtins in
|
||||||
libatomic configure script
|
libatomic configure script
|
||||||
|
|
||||||
Alpine's --enable-autolink-libatomic (which is enabled for riscv64 by
|
Alpine's --enable-autolink-libatomic (which is enabled for riscv64 by
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f0f2cad36cd4796426ce1c25a6cec7c70a56741e Mon Sep 17 00:00:00 2001
|
From 430c701a3cefbe09a9c7c8a2f5bbe957f9b2ecb2 Mon Sep 17 00:00:00 2001
|
||||||
From: Samuel Holland <samuel@sholland.org>
|
From: Samuel Holland <samuel@sholland.org>
|
||||||
Date: Thu, 30 Jun 2022 16:44:51 +0000
|
Date: Thu, 30 Jun 2022 16:44:51 +0000
|
||||||
Subject: [PATCH 29/33] libstdc++: do not throw exceptions for non-C locales on
|
Subject: [PATCH 29/34] libstdc++: do not throw exceptions for non-C locales on
|
||||||
musl targets
|
musl targets
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b474c9688ebda225ced95ecea0219312110d9c9e Mon Sep 17 00:00:00 2001
|
From 05f0043755f341a2ff4f845379327076b3e0203d Mon Sep 17 00:00:00 2001
|
||||||
From: Mathias LANG <pro.mathias.lang@gmail.com>
|
From: Mathias LANG <pro.mathias.lang@gmail.com>
|
||||||
Date: Mon, 17 Jan 2022 03:49:21 +0000
|
Date: Mon, 17 Jan 2022 03:49:21 +0000
|
||||||
Subject: [PATCH 30/33] gdc: unconditionally link libgphobos against
|
Subject: [PATCH 30/34] gdc: unconditionally link libgphobos against
|
||||||
libucontext
|
libucontext
|
||||||
|
|
||||||
ref: alpine/aports#13422
|
ref: alpine/aports#13422
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 6598811df64744ba862e36a6dca88578b01dd46e Mon Sep 17 00:00:00 2001
|
From 0b89a74fbf77ae6917f043c79cd03db0d6ef0212 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Sat, 16 Jul 2022 09:21:11 +0200
|
Date: Sat, 16 Jul 2022 09:21:11 +0200
|
||||||
Subject: [PATCH 31/33] druntime: link against libucontext on all platforms
|
Subject: [PATCH 31/34] druntime: link against libucontext on all platforms
|
||||||
|
|
||||||
On musl-based Linux distributions, swapcontext etc. are not provided by
|
On musl-based Linux distributions, swapcontext etc. are not provided by
|
||||||
musl but instead by libucontext. Hence, we _always_ need to link against
|
musl but instead by libucontext. Hence, we _always_ need to link against
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 4e84b0a3c019438b25de7c1e844746e4bc83af42 Mon Sep 17 00:00:00 2001
|
From eeec799f43fbd0bfffc13594585b39d708972511 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Tue, 19 Jul 2022 14:54:07 +0200
|
Date: Tue, 19 Jul 2022 14:54:07 +0200
|
||||||
Subject: [PATCH 32/33] libgnat: time_t is always 64-bit on musl libc
|
Subject: [PATCH 32/34] libgnat: time_t is always 64-bit on musl libc
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/libgnat/s-parame.ads | 2 +-
|
gcc/ada/libgnat/s-parame.ads | 2 +-
|
||||||
|
|
|
@ -1,12 +1,26 @@
|
||||||
From 4cf06fff68090b1681d070a55214f2ab26754edf Mon Sep 17 00:00:00 2001
|
From b71d21b87e6946c763edad5e420bf22d8a453077 Mon Sep 17 00:00:00 2001
|
||||||
From: psykose <alice@ayaya.dev>
|
From: psykose <alice@ayaya.dev>
|
||||||
Date: Mon, 29 May 2023 15:33:11 +0000
|
Date: Mon, 29 May 2023 15:33:11 +0000
|
||||||
Subject: [PATCH 33/33] libphobos: do not use LFS64 symbols
|
Subject: [PATCH 33/34] libphobos: do not use LFS64 symbols
|
||||||
|
|
||||||
musl does not have these since 1.2.4, we can't use the compat interfaces.
|
musl does not have these since 1.2.4, we can't use the compat interfaces.
|
||||||
---
|
---
|
||||||
|
libphobos/libdruntime/core/sys/posix/config.d | 2 +-
|
||||||
libphobos/libdruntime/core/sys/posix/sys/mman.d | 6 +-----
|
libphobos/libdruntime/core/sys/posix/sys/mman.d | 6 +-----
|
||||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
2 files changed, 2 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libphobos/libdruntime/core/sys/posix/config.d b/libphobos/libdruntime/core/sys/posix/config.d
|
||||||
|
index ae6752f220e..6b80d1ff0e6 100644
|
||||||
|
--- a/libphobos/libdruntime/core/sys/posix/config.d
|
||||||
|
+++ b/libphobos/libdruntime/core/sys/posix/config.d
|
||||||
|
@@ -88,7 +88,7 @@ else version (CRuntime_Musl)
|
||||||
|
enum __REDIRECT = false;
|
||||||
|
|
||||||
|
// Those three are irrelevant for Musl as it always uses 64 bits off_t
|
||||||
|
- enum __USE_FILE_OFFSET64 = _FILE_OFFSET_BITS == 64;
|
||||||
|
+ enum __USE_FILE_OFFSET64 = false;
|
||||||
|
enum __USE_LARGEFILE = __USE_FILE_OFFSET64 && !__REDIRECT;
|
||||||
|
enum __USE_LARGEFILE64 = __USE_FILE_OFFSET64 && !__REDIRECT;
|
||||||
|
|
||||||
diff --git a/libphobos/libdruntime/core/sys/posix/sys/mman.d b/libphobos/libdruntime/core/sys/posix/sys/mman.d
|
diff --git a/libphobos/libdruntime/core/sys/posix/sys/mman.d b/libphobos/libdruntime/core/sys/posix/sys/mman.d
|
||||||
index 0d3d517d69a..323aa0af72d 100644
|
index 0d3d517d69a..323aa0af72d 100644
|
||||||
|
|
195
cross/gcc-aarch64/0034-libgo-fix-lfs64-use.patch
Normal file
195
cross/gcc-aarch64/0034-libgo-fix-lfs64-use.patch
Normal file
|
@ -0,0 +1,195 @@
|
||||||
|
From 4bfcb35bc43d3e3b7510620362d7c28d9e4c17ca Mon Sep 17 00:00:00 2001
|
||||||
|
From: psykose <alice@ayaya.dev>
|
||||||
|
Date: Mon, 10 Jul 2023 23:23:29 +0000
|
||||||
|
Subject: [PATCH 34/34] libgo: fix lfs64 use
|
||||||
|
|
||||||
|
---
|
||||||
|
.../go/internal/syscall/unix/at_largefile.go | 2 +-
|
||||||
|
libgo/go/os/dir_largefile.go | 2 +-
|
||||||
|
libgo/go/syscall/libcall_glibc.go | 2 +-
|
||||||
|
libgo/go/syscall/libcall_linux.go | 4 +--
|
||||||
|
libgo/go/syscall/libcall_posix_largefile.go | 26 +++++++++----------
|
||||||
|
libgo/runtime/go-varargs.c | 2 +-
|
||||||
|
libgo/sysinfo.c | 9 +++----
|
||||||
|
7 files changed, 22 insertions(+), 25 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libgo/go/internal/syscall/unix/at_largefile.go b/libgo/go/internal/syscall/unix/at_largefile.go
|
||||||
|
index 82e0dcfd074..16151ecad1b 100644
|
||||||
|
--- a/libgo/go/internal/syscall/unix/at_largefile.go
|
||||||
|
+++ b/libgo/go/internal/syscall/unix/at_largefile.go
|
||||||
|
@@ -10,5 +10,5 @@ import (
|
||||||
|
"syscall"
|
||||||
|
)
|
||||||
|
|
||||||
|
-//extern fstatat64
|
||||||
|
+//extern fstatat
|
||||||
|
func fstatat(int32, *byte, *syscall.Stat_t, int32) int32
|
||||||
|
diff --git a/libgo/go/os/dir_largefile.go b/libgo/go/os/dir_largefile.go
|
||||||
|
index 1fc5ee0771f..0c6dffe1a75 100644
|
||||||
|
--- a/libgo/go/os/dir_largefile.go
|
||||||
|
+++ b/libgo/go/os/dir_largefile.go
|
||||||
|
@@ -11,5 +11,5 @@ package os
|
||||||
|
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
-//extern readdir64
|
||||||
|
+//extern readdir
|
||||||
|
func libc_readdir(*syscall.DIR) *syscall.Dirent
|
||||||
|
diff --git a/libgo/go/syscall/libcall_glibc.go b/libgo/go/syscall/libcall_glibc.go
|
||||||
|
index 5c1ec483c75..5a1245ed44b 100644
|
||||||
|
--- a/libgo/go/syscall/libcall_glibc.go
|
||||||
|
+++ b/libgo/go/syscall/libcall_glibc.go
|
||||||
|
@@ -114,7 +114,7 @@ func Pipe2(p []int, flags int) (err error) {
|
||||||
|
}
|
||||||
|
|
||||||
|
//sys sendfile(outfd int, infd int, offset *Offset_t, count int) (written int, err error)
|
||||||
|
-//sendfile64(outfd _C_int, infd _C_int, offset *Offset_t, count Size_t) Ssize_t
|
||||||
|
+//sendfile(outfd _C_int, infd _C_int, offset *Offset_t, count Size_t) Ssize_t
|
||||||
|
|
||||||
|
func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
|
||||||
|
if race.Enabled {
|
||||||
|
diff --git a/libgo/go/syscall/libcall_linux.go b/libgo/go/syscall/libcall_linux.go
|
||||||
|
index 03ca7261b59..ad21fd0b3ac 100644
|
||||||
|
--- a/libgo/go/syscall/libcall_linux.go
|
||||||
|
+++ b/libgo/go/syscall/libcall_linux.go
|
||||||
|
@@ -158,7 +158,7 @@ func Reboot(cmd int) (err error) {
|
||||||
|
//adjtimex(buf *Timex) _C_int
|
||||||
|
|
||||||
|
//sys Fstatfs(fd int, buf *Statfs_t) (err error)
|
||||||
|
-//fstatfs64(fd _C_int, buf *Statfs_t) _C_int
|
||||||
|
+//fstatfs(fd _C_int, buf *Statfs_t) _C_int
|
||||||
|
|
||||||
|
func Gettid() (tid int) {
|
||||||
|
r1, _, _ := Syscall(SYS_GETTID, 0, 0, 0)
|
||||||
|
@@ -245,7 +245,7 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i
|
||||||
|
}
|
||||||
|
|
||||||
|
//sys Statfs(path string, buf *Statfs_t) (err error)
|
||||||
|
-//statfs64(path *byte, buf *Statfs_t) _C_int
|
||||||
|
+//statfs(path *byte, buf *Statfs_t) _C_int
|
||||||
|
|
||||||
|
//sysnb Sysinfo(info *Sysinfo_t) (err error)
|
||||||
|
//sysinfo(info *Sysinfo_t) _C_int
|
||||||
|
diff --git a/libgo/go/syscall/libcall_posix_largefile.go b/libgo/go/syscall/libcall_posix_largefile.go
|
||||||
|
index f90055bb29a..334212f0af1 100644
|
||||||
|
--- a/libgo/go/syscall/libcall_posix_largefile.go
|
||||||
|
+++ b/libgo/go/syscall/libcall_posix_largefile.go
|
||||||
|
@@ -10,40 +10,40 @@
|
||||||
|
package syscall
|
||||||
|
|
||||||
|
//sys Creat(path string, mode uint32) (fd int, err error)
|
||||||
|
-//creat64(path *byte, mode Mode_t) _C_int
|
||||||
|
+//creat(path *byte, mode Mode_t) _C_int
|
||||||
|
|
||||||
|
//sys Fstat(fd int, stat *Stat_t) (err error)
|
||||||
|
-//fstat64(fd _C_int, stat *Stat_t) _C_int
|
||||||
|
+//fstat(fd _C_int, stat *Stat_t) _C_int
|
||||||
|
|
||||||
|
//sys Ftruncate(fd int, length int64) (err error)
|
||||||
|
-//ftruncate64(fd _C_int, length Offset_t) _C_int
|
||||||
|
+//ftruncate(fd _C_int, length Offset_t) _C_int
|
||||||
|
|
||||||
|
//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
|
||||||
|
-//getrlimit64(resource _C_int, rlim *Rlimit) _C_int
|
||||||
|
+//getrlimit(resource _C_int, rlim *Rlimit) _C_int
|
||||||
|
|
||||||
|
//sys Lstat(path string, stat *Stat_t) (err error)
|
||||||
|
-//lstat64(path *byte, stat *Stat_t) _C_int
|
||||||
|
+//lstat(path *byte, stat *Stat_t) _C_int
|
||||||
|
|
||||||
|
//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
|
||||||
|
-//mmap64(addr *byte, length Size_t, prot _C_int, flags _C_int, fd _C_int, offset Offset_t) *byte
|
||||||
|
+//mmap(addr *byte, length Size_t, prot _C_int, flags _C_int, fd _C_int, offset Offset_t) *byte
|
||||||
|
|
||||||
|
//sys Open(path string, mode int, perm uint32) (fd int, err error)
|
||||||
|
-//__go_open64(path *byte, mode _C_int, perm Mode_t) _C_int
|
||||||
|
+//__go_open(path *byte, mode _C_int, perm Mode_t) _C_int
|
||||||
|
|
||||||
|
//sys Pread(fd int, p []byte, offset int64) (n int, err error)
|
||||||
|
-//pread64(fd _C_int, buf *byte, count Size_t, offset Offset_t) Ssize_t
|
||||||
|
+//pread(fd _C_int, buf *byte, count Size_t, offset Offset_t) Ssize_t
|
||||||
|
|
||||||
|
//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
|
||||||
|
-//pwrite64(fd _C_int, buf *byte, count Size_t, offset Offset_t) Ssize_t
|
||||||
|
+//pwrite(fd _C_int, buf *byte, count Size_t, offset Offset_t) Ssize_t
|
||||||
|
|
||||||
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error)
|
||||||
|
-//lseek64(fd _C_int, offset Offset_t, whence _C_int) Offset_t
|
||||||
|
+//lseek(fd _C_int, offset Offset_t, whence _C_int) Offset_t
|
||||||
|
|
||||||
|
//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
|
||||||
|
-//setrlimit64(resource int, rlim *Rlimit) _C_int
|
||||||
|
+//setrlimit(resource int, rlim *Rlimit) _C_int
|
||||||
|
|
||||||
|
//sys Stat(path string, stat *Stat_t) (err error)
|
||||||
|
-//stat64(path *byte, stat *Stat_t) _C_int
|
||||||
|
+//stat(path *byte, stat *Stat_t) _C_int
|
||||||
|
|
||||||
|
//sys Truncate(path string, length int64) (err error)
|
||||||
|
-//truncate64(path *byte, length Offset_t) _C_int
|
||||||
|
+//truncate(path *byte, length Offset_t) _C_int
|
||||||
|
diff --git a/libgo/runtime/go-varargs.c b/libgo/runtime/go-varargs.c
|
||||||
|
index f84860891e6..7efc9615985 100644
|
||||||
|
--- a/libgo/runtime/go-varargs.c
|
||||||
|
+++ b/libgo/runtime/go-varargs.c
|
||||||
|
@@ -84,7 +84,7 @@ __go_ioctl_ptr (int d, int request, void *arg)
|
||||||
|
int
|
||||||
|
__go_open64 (char *path, int mode, mode_t perm)
|
||||||
|
{
|
||||||
|
- return open64 (path, mode, perm);
|
||||||
|
+ return open (path, mode, perm);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
diff --git a/libgo/sysinfo.c b/libgo/sysinfo.c
|
||||||
|
index 180f5c31d74..1d717d55c0e 100644
|
||||||
|
--- a/libgo/sysinfo.c
|
||||||
|
+++ b/libgo/sysinfo.c
|
||||||
|
@@ -366,7 +366,7 @@ typedef loff_t libgo_loff_t_type;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_OFF64_T)
|
||||||
|
-typedef off64_t libgo_off_t_type;
|
||||||
|
+typedef off_t libgo_off_t_type;
|
||||||
|
#else
|
||||||
|
typedef off_t libgo_off_t_type;
|
||||||
|
#endif
|
||||||
|
@@ -398,13 +398,11 @@ typedef off_t libgo_off_t_type;
|
||||||
|
|
||||||
|
// From dirent.h
|
||||||
|
SREF(dirent);
|
||||||
|
-SREF(dirent64);
|
||||||
|
OTREF(DIR);
|
||||||
|
EREF(DT_UNKNOWN);
|
||||||
|
|
||||||
|
// From fcntl.h
|
||||||
|
SREF(flock);
|
||||||
|
-SREF(flock64);
|
||||||
|
|
||||||
|
// From ffi headers
|
||||||
|
SREF(_ffi_type);
|
||||||
|
@@ -485,11 +483,10 @@ EREF(SS_ONSTACK);
|
||||||
|
EREF(SEGV_MAPERR);
|
||||||
|
|
||||||
|
// From stat.h
|
||||||
|
-SREF(stat64);
|
||||||
|
+SREF(stat);
|
||||||
|
|
||||||
|
// From statfs.h
|
||||||
|
SREF(statfs);
|
||||||
|
-SREF(statfs64);
|
||||||
|
|
||||||
|
// From sysinfo.h
|
||||||
|
SREF(sysinfo);
|
||||||
|
@@ -519,7 +516,7 @@ EREF(PTRACE_PEEKTEXT);
|
||||||
|
|
||||||
|
// From sys/resource.h
|
||||||
|
SREF(rusage);
|
||||||
|
-SREF(rlimit64);
|
||||||
|
+SREF(rlimit);
|
||||||
|
EREF(RLIMIT_NOFILE);
|
||||||
|
EREF(PRIO_USER);
|
||||||
|
EREF(RUSAGE_SELF);
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
|
@ -24,7 +24,7 @@ CBUILDROOT="/"
|
||||||
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
||||||
|
|
||||||
pkgname=gcc-aarch64
|
pkgname=gcc-aarch64
|
||||||
pkgver=13.1.1_git20230708
|
pkgver=13.1.1_git20230715
|
||||||
# i.e. 13.1.1, must match gcc/BASE-VER
|
# i.e. 13.1.1, must match gcc/BASE-VER
|
||||||
_pkgbase="${pkgver%%_git*}"
|
_pkgbase="${pkgver%%_git*}"
|
||||||
# date component from snapshots
|
# date component from snapshots
|
||||||
|
@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-aarch64
|
pkgname=gcc-aarch64
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Stage2 cross-compiler for aarch64"
|
pkgdesc="Stage2 cross-compiler for aarch64"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -267,6 +267,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
|
||||||
0031-druntime-link-against-libucontext-on-all-platforms.patch
|
0031-druntime-link-against-libucontext-on-all-platforms.patch
|
||||||
0032-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
|
0032-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
|
||||||
0033-libphobos-do-not-use-LFS64-symbols.patch
|
0033-libphobos-do-not-use-LFS64-symbols.patch
|
||||||
|
0034-libgo-fix-lfs64-use.patch
|
||||||
"
|
"
|
||||||
|
|
||||||
# we build out-of-tree
|
# we build out-of-tree
|
||||||
|
@ -780,38 +781,39 @@ gdb() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
ca703acdf2c32ad7cf28d159a3306dca4032771d701074d618d08a3b8684b72f6c28d62f1e3263e4cc0064c960bc30373877c3f89fa6f35dddd8794f66ab53dc gcc-13-20230708.tar.xz
|
942d706e7f8ae8dbc85808e388b9c98de6bd922d49adeca63691218363a4f0b46829509ba1f1ed358ef436e1adf77ad7a820aaeb4bb03a4fc52cfdec118394f3 gcc-13-20230715.tar.xz
|
||||||
5738a25e510d47058ea7acf44f47292c365f74f60f75d600c3bdf79022a78e3c14c87648e23d3f44612833123ba1ae6776c8a6ea4371bf8c2cf31ea8296a0278 0001-posix_memalign.patch
|
438eda29a1851c72e65422bb4cd129ecc016f06f9bd038288e39762c01b932f786ed4aad587c7b16baf948c342c10dc9beff125166b97e0b8e0d05789aec95ce 0001-posix_memalign.patch
|
||||||
35cba990b41ba8fd2544404a0330ceddfbc7b63475f4ebb515552d5ec494d0099f0585240a36099431ae6dcaf9bd7674ca0224f0dd4310cd3597aabadedd1d07 0002-gcc-poison-system-directories.patch
|
4a7cd030e107b6e35fb883c80f21a547da14f540f989555ac2c9ba08958ace5b44dca194a96b460415c71f663e885954d73b04ade55f2f9d3cb116f50df8d8ca 0002-gcc-poison-system-directories.patch
|
||||||
fa3b349be7e7f49c1d2192a84d6fc6b9f9b750381607711950d3ad5c867c677dac65dc2274fa4227aa6909d6b5e0fcc59b137254202035e930a2c6a0ba494e2f 0003-specs-turn-on-Wl-z-now-by-default.patch
|
99b194f53677c3a75c3c376160673703f2d759d795ebd9f6e66d5ee095a648eba35d8aef1990a6a1e805c1cc1720636d7c23ef6102b674d92996b1e5646a0b2c 0003-specs-turn-on-Wl-z-now-by-default.patch
|
||||||
495b08b8b25f25f616fd68d205c23232d8307a35dae81f5d37e248ec704734e40618d5e3855f1cedeaa615b1d03e5a34089695faca9798d51a367a0e3bc59b78 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
|
39013ad0b255e9cfd168010eefc32ec4d015fce2c2b4e864341a6aa8bdb74e52a08f0ae83f29e27e9524d4da27f28369a6aa4d76f6aed6490dc2961b18f90e94 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
|
||||||
ee10b0b91e7b0a91a47b6708dd8a41c8f08a89f87a3eed57aed2ea3df5b7109a2a33741651a294a10f056c736beeb0be0fb6004c0517e8687a80bc33be50d8c9 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
|
0ef08231bef5c77a38e8deaae4e00675de4312071425cf1db46ee54c3e00d2a5d1658a68302dd495c796d397e61e79efcf4e91fbd8fb2cd2e2fa539c2e884492 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
|
||||||
87dca73e398acf396ade55b8cd533d3e90889444c27069df9840a57d524d8f045781b4a38f9e0e52595a510049a0832a5067f6f0200df00fc51501316fa7c61b 0006-Enable-Wformat-and-Wformat-security-by-default.patch
|
8202e22832141fb12601546cec42472fdb194892f839e9fed86b4ab597204b6e6575c0585c283301eeb598ac1f06d16ce500d9c0ea333444bd50ae2a210d2d76 0006-Enable-Wformat-and-Wformat-security-by-default.patch
|
||||||
5eca632dbb3f709ee92ba89e062642cfcf854aa31426b8eca859432773bff4bffd35fa6a7418a760bed89a30a1f64e1de87b0353e9d332d8abc72c14e236e1ed 0007-Enable-Wtrampolines-by-default.patch
|
1b239b94b570a0eff2249a9ec7ad150270c3210128f8f8a67e1554a044a039b2acc69768ebc57a15cec661f039c41fb7b620e7ec65320efbce40ceec1c9c6b90 0007-Enable-Wtrampolines-by-default.patch
|
||||||
d46546536564f76abcda3a54b0c159175aca7044542fdcdf1f08c46bfabff452e2ba7d535e9e5b04c9c595c3f865bf80bdece8aee4a0bc24baea4f2c94fcf0bb 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
|
eb3ce4df99bf4f22ca4bac2d4e24be4c235098fb67ae118cb8efe360f0441a39a9931076fa615fbc3b7d2b2a541d4ffb2cfc56097224fbd8b5f09bc01a1d7878 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
|
||||||
00ce50efdeb9a31cbd9ca2d2fa22cd27b1d972e96c01948bd9ae95aff7275e6bc894196ff871107c5feadb6cb832119127240f4539fda35d4326955babf5f510 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
|
58a5ea76b4f7d662d3165dfeaad258087b0ec58b7ff87a62971c60817388ec6191d6dc841d63696d00fb68fe16b690790f3c0639e0edbd204033b4f8bbb4dafe 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
|
||||||
46a228b875f835fd1c2cae479f5e931cd2afc4124690ebb935ea49a3fc4ed46b69d4c76e18a1d7632283690e9d51fbcb90f478fc0b87d532dc095fcf067de7e6 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
|
85d60bc6ef5f41854a5bc36847917dcee24bf6663fcd70b78a164a07fc08551f74fe37329b57cf187b95e23a6d04bce2ba620f21ac80c8df7d9cfcc8052089df 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
|
||||||
b2c5e2af8f6f50da5795de7fb94309149eb63b1dcc31d72147975702b751e7af0f89adbde7e359416a4ad7749c3d251e6c2b8b57c9a24c77e15c9ce4730d5e4a 0011-libiberty-copy-PIC-objects-during-build-process.patch
|
8ef0f45bc0639464537f39319f4954d9a9ab182e14a10c6e39455bebddd24dcdbe6ec3fc0316324a4f9d7dc1f95ec8babd7112c2ff05af54534e0fbe74ff6ebf 0011-libiberty-copy-PIC-objects-during-build-process.patch
|
||||||
8c60c72a123d984452b57bc6a7d3dea3ab092e963d459d8a69a27384c8cf2d7e0e718d1dda2957b62cb2d0353dd851e57c3d1791f90adf6a32393b64846677d9 0012-libgcc_s.patch
|
d8467365c19339e52bcf27476b338fb412b6a7dd6eefd4fd92822e67c756a1f04a106f4e0c1c1909b4bee8f5f3b506a98614c1bf3478d7714415cca9eb7257e1 0012-libgcc_s.patch
|
||||||
082a1dcca42899fc7c70616f0b73fc640fbaae8c4f08c960c71bd9f2cda57bf34a662f1f6327a6eb7e026ebe3414ee71303c3354687ad6c14068fdf37025f2e5 0013-nopie.patch
|
cab0cb6c462f2f4abefde020e17199366c6c24ad2582fe7d793c552aa2bcbe3148c5f6cd6245bc9ff86017d949ef4e6f063c8a01ce7d247abfe685077c57e71c 0013-nopie.patch
|
||||||
ced25410c21b0bac351ef4a6c2d381f4e0a1c0f4043899bbed2f10ad5f5c39ec6ff4cde07c62d486643a89421c28266798234c318a09a029bc1a79d6adee1c0e 0014-ada-fix-shared-linking.patch
|
b1277a4edc91208fecf5ad7015e8cf237d567b310063f26d14ff39c4aade683e6d1d54d817b7f4fef79db7dc456be9f09a5a8c0ceeff784f839521d0cf243807 0014-ada-fix-shared-linking.patch
|
||||||
f245428f57f1d59e353b3c1d745c7cb3987689d8ef3cb38e113f69750dca08ed76681ed72b2d5ee659d0d6c33179c4b12eb1d509c0baf185cc8c8549e0c09f8f 0015-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
|
9fa42ba8374b8e47cb3d96315d783c990cf35075354869f5657383908c4d5f143ee94d1f7f86f52140a974f5fc872b22bcaec1f732ebc249357a86ad9e781d4e 0015-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
|
||||||
4fd357f4f24899f742e19680db543647dea556e3144744ac990474ee01f32d28e1724f6f56dac4ba2ce2491aae88ffea16b6f7c33b74132deb2f932d550f119a 0016-add-fortify-headers-paths.patch
|
05e1e06a6e33958ec5c22b26919fe142153c9605173ad90c770a32d7d48dfb5df421553f3030b6d979f34acbd3614d0e32c86c3cb0b819f3fbaa054f2962ff20 0016-add-fortify-headers-paths.patch
|
||||||
dd028aeb2e8a32157a419f4450fa70a96522ce2de88febfac374d11f1340660584c7547eaa287715f585289aa313b17918a52b64bc758778833f387c0e3c3506 0017-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
|
784d488cf55fafa259d3aa874f4230453b4d3aeb94158d0c96caf26524b8b7f8cea12367a72fa4616389dfcb877c4a1c4fe9d1cb57a67c0329bbad61e91ee423 0017-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
|
||||||
47eb31a354177f4abd699e6bcb29ba688eeb51511b27969a88e25a0153108023ceb3d821fe3ffca0491dafec5341a3186b813519b9d043450eeec990bfc7d7d4 0018-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
|
18c1092273005f4fcaec36830a2cbfbf5e2a2e4e82cf5f7f4f7f3141dbbe2731db2f47a9869f271b4ee337835962c7dfbf009165f2988a14ff40d6c6935986ce 0018-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
|
||||||
b77e98c45d28e42ec9f9842b5aab3fd69b8696ea69376a049e7792bd5cef98c730ab5a458406084fb7be2f3c361962c407b72dde3dd27857f55433f3fc749b3c 0019-aarch64-disable-multilib-support.patch
|
4bbce70032f125002aa857b0561c80e15588847282c2ab2851c3c507a48d22613ef3affb288c33da461688890c7ce265c6175fb1580194669621653788172d1b 0019-aarch64-disable-multilib-support.patch
|
||||||
79b3a8ea1fe452a2f8fdf2b15b75754ed00f2993120596e7870622d4d608edf8c3ddc31181dafa40815fdfe277a10d539830484f09a57c3b0ee5677785224e04 0020-s390x-disable-multilib-support.patch
|
d4bf0a7add6d531871324c36004f7d92eea9ad7042d567e43377e5bdde7dce8d87c649c3c4bdf0144b82d2607b46fab4eb821cf9a82ee4eddb003601b331e395 0020-s390x-disable-multilib-support.patch
|
||||||
d250d791dd9d5190eee9fc54326830b0e19d9986e801d0576199808c6e211f5137ce71b92e0dbfb1ab910c22311b4b48dbbd63fa9390c2e2491dce80062e5f51 0021-ppc64-le-disable-multilib-support.patch
|
e0002f9aea22c923530591f97cfb29953cd924a78b3c7ae5d15ccaae46491c1f40b03a5dc5fc17a286299b82ef48248a9ecbf6eea9bbd2058189a697e9e2ffe8 0021-ppc64-le-disable-multilib-support.patch
|
||||||
51206e8132e93bb79f891f0f69461982435fa4212b1bf91c75b9bb9ee7fd25106d53fad21470f4706b5d258fbe1715ef7524d6c2bb94813b7d4a48d949a176f7 0022-x86_64-disable-multilib-support.patch
|
28b6e2f1574611964f8e2effa57dcb6efff5d562ec5f923abfa9ddeaf4a09b0c6941d1406b02d113f950113b7239dcc8dd6b14d06ade3b2f4dbdb7f6d5560bed 0022-x86_64-disable-multilib-support.patch
|
||||||
b774c6a750077a546d1cef0b31812d5d68cf64a8abdd47a30180fb6f3a848941e7986f4a587da9a6ab034e5083068723620319e3f821f0db3ff66dc4c33faf06 0023-riscv-disable-multilib-support.patch
|
6955ea39199f258340b69c8aa7021c65fc15179323f50be08952a302b77cec1a720b99ada60bf2a07594ba536a50b682d06290497fc9d4553c8e11e2f536a606 0023-riscv-disable-multilib-support.patch
|
||||||
1b6ed17c5798d8fd80826188c35232d0f90843d6cba060ea784fdfa5b5cb2490ac4507ce9802f7f6f50ccb7fe5db34cd6860c256e9da311710c95b1d4870fc1c 0024-always-build-libgcc_eh.a.patch
|
46bfcfc122a29060d6ff1fb52b509251ba44357df67f81be1c274fdfe9b80099b1a5ad64f7d40d8412bb437e6147cb404448b8e067989018bdaf2df5cdfabaef 0024-always-build-libgcc_eh.a.patch
|
||||||
4b9f4446254720e692478fb016798b44c6ebc021816dff49fe32b6eac4f4da091c47adf46f040df603ee74f4986a832257eaad4d3c594b6d50a23e447c755586 0025-ada-libgnarl-compatibility-for-musl.patch
|
07b4028c8d8c7b8bc71c0fb4e31669fb2066aefdded556d0a65773fa93db097a55e9bfa9ac9ee10fbc82e4ba21aa84738e91c331b768cf7d067407934fc30064 0025-ada-libgnarl-compatibility-for-musl.patch
|
||||||
fbc903ca64f8a17ea8ffce4cb882dd53713dee3b24b729ab81741a8133802b9c95619596829706fcfe26350a33e8558dc9b9edf92802170041c3f4f831b2ff2c 0026-ada-musl-support-fixes.patch
|
7201a76ac033bd4f7532600d7a975f2aa9f93692cec42e28323e6e8e27f7357e0cb1497c12503829a41ed025e9c7953bf4738ad0d980687a774088fabaf08cdf 0026-ada-musl-support-fixes.patch
|
||||||
8d3f37bd75a9fea17c277b380aa943ad44989c65e6aabbf09f9c3f35acb1f048dbe361bc788b6ef2133dee3b9f646c56637811fe33171a50a2a024fe9d78e6ef 0027-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
|
f3974d1a693c0e382fa78ae94ebf768c6a1ca0ee631b478cf52a366537edae373cd0ab31369ef1ae0627d2834bcacfb94c9a4d01505c91eaac9d228a5933d0ae 0027-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
|
||||||
04a07053c82842f1ec5ec58723c0801659f8174318e32d1e966411422bfa9665f259ba9025d030e0e298608d6eeff423cbe5ed9981717d691a49de8806ead7aa 0028-configure-fix-detection-of-atomic-builtins-in-libato.patch
|
8f77c3a908ec92966fb1697fd40cc936d4dca2624f6f14b199ba154f8c46be773548a571b41a1cf537134b011e3426deb443e4a13e49fb763c91c821ca1bae63 0028-configure-fix-detection-of-atomic-builtins-in-libato.patch
|
||||||
3398fcb9273e5d76006b2c2c0215cf9ead757faa4751f7a55cf7bc687894ac38da47e76700860ea3c7f8feb18361e4ce8ce6b16a365fdfe4c61032bd53da56e7 0029-libstdc-do-not-throw-exceptions-for-non-C-locales-on.patch
|
8cd10e3d10e3da0505cb4c09c4448335e5bbd18fe6e2c47cfa1257df3d83234983d71b1fdb0b4bfc76b24d477fd6e2d771b8eefacbb61e0ca1df105b980dbd4a 0029-libstdc-do-not-throw-exceptions-for-non-C-locales-on.patch
|
||||||
ac86593db92aca836a91dd7ad3060e6c1d92b1b7c685a6fa1b51281f76b091fb07058d8d53f16f7df18eb148fde0526723c6cf6fc4c38471399dc7fde8892307 0030-gdc-unconditionally-link-libgphobos-against-libucont.patch
|
e026f1e20b78328b55b92a5fdf8f9d1d761176d2eea90556d7be8e2bae72d0dc52fd482d1eac8ab623e98653ca56d39b18fd2139ff99d420994b10c36f266ca6 0030-gdc-unconditionally-link-libgphobos-against-libucont.patch
|
||||||
e2f8901bf30494563373a24cb632a251056cb99dbb9cce789817f12016da323f702d981ce4ba9d7d52eefc33f257568509d391776fd022b012e589b43857c696 0031-druntime-link-against-libucontext-on-all-platforms.patch
|
80b41cf68a7e56bef50c05073cc79b9eafbd37535f6360deac16dfe5498ac041aaf91c3cc1bc6e323d574cd1da65aab22df32a03e39f606bff41a103063aafef 0031-druntime-link-against-libucontext-on-all-platforms.patch
|
||||||
434d3739d7e6ecc5017c29711c3a7c207e7c673d2a535607dea78a5a5d265d8efb74b7f726c18efc13e9c80c29385ce1b4e3b53c7d1c9d55bb1b8a217425f3ea 0032-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
|
b4917017c45d170c6878c7744c1ecababef4346903ee1f684d5a59d65255a5576d16d40137f7dbfe46144907c6389035966813e9024c9a4f499e963ed533947a 0032-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
|
||||||
8a56a2a1d1c60894ab429ecc8fa3ddbfdd6c7e3cc9f764b4f260695a2cd54442668e9b4c7ba62d833e5dbc05548586aefc344caf9ea87cdf6de60ce3c30f9da9 0033-libphobos-do-not-use-LFS64-symbols.patch
|
1cc7a5ef067bf543f6c1fa14dedc6378750a43be1649b18605699dffdc1ebce8b88405d3f12dd57e3d821c7d457d861ee0a54138c037917d6365b0bf69526e85 0033-libphobos-do-not-use-LFS64-symbols.patch
|
||||||
|
77a1426e316b96b51edef9a35a64565d5f84b94d46a2fd7293ea406ede473b449613969f9e29cae44f8fbfbc767a27cef01b36392cf8ffb3f618c0df4e217c71 0034-libgo-fix-lfs64-use.patch
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 75e758609803afe6ced6cd7799b4159f3848a8d5 Mon Sep 17 00:00:00 2001
|
From 47b4bd4deb2c356bb07d2a96f22127aefafec3a4 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Fri, 26 Jan 2018 20:32:50 +0000
|
Date: Fri, 26 Jan 2018 20:32:50 +0000
|
||||||
Subject: [PATCH 01/33] posix_memalign
|
Subject: [PATCH 01/34] posix_memalign
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/i386/pmm_malloc.h | 9 +++++----
|
gcc/config/i386/pmm_malloc.h | 9 +++++----
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 447c2a21d1fa8c2c3b216102a808834d86f12104 Mon Sep 17 00:00:00 2001
|
From 4fa620d8c3e6730211bfb071eb4c817320491bd0 Mon Sep 17 00:00:00 2001
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
Date: Fri, 29 Mar 2013 08:59:00 +0400
|
Date: Fri, 29 Mar 2013 08:59:00 +0400
|
||||||
Subject: [PATCH 02/33] gcc: poison-system-directories
|
Subject: [PATCH 02/34] gcc: poison-system-directories
|
||||||
|
|
||||||
Add /sw/include and /opt/include based on the original
|
Add /sw/include and /opt/include based on the original
|
||||||
zecke-no-host-includes.patch patch. The original patch checked for
|
zecke-no-host-includes.patch patch. The original patch checked for
|
||||||
|
@ -120,7 +120,7 @@ index 09082e8ccae..5504bf6eb01 100644
|
||||||
AC_SUBST(subdirs)
|
AC_SUBST(subdirs)
|
||||||
AC_SUBST(srcdir)
|
AC_SUBST(srcdir)
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index b61ecfc1bc8..b290908679e 100644
|
index af0e5933fdb..b6731a4673c 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -384,6 +384,7 @@ Objective-C and Objective-C++ Dialects}.
|
@@ -384,6 +384,7 @@ Objective-C and Objective-C++ Dialects}.
|
||||||
|
@ -131,7 +131,7 @@ index b61ecfc1bc8..b290908679e 100644
|
||||||
-Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls
|
-Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls
|
||||||
-Wrestrict -Wno-return-local-addr -Wreturn-type
|
-Wrestrict -Wno-return-local-addr -Wreturn-type
|
||||||
-Wno-scalar-storage-order -Wsequence-point
|
-Wno-scalar-storage-order -Wsequence-point
|
||||||
@@ -8424,6 +8425,14 @@ made up of data only and thus requires no special treatment. But, for
|
@@ -8426,6 +8427,14 @@ made up of data only and thus requires no special treatment. But, for
|
||||||
most targets, it is made up of code and thus requires the stack to be
|
most targets, it is made up of code and thus requires the stack to be
|
||||||
made executable in order for the program to work properly.
|
made executable in order for the program to work properly.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b5c378c4c1e71b2dd8b4616d8f61530ee1a3ac98 Mon Sep 17 00:00:00 2001
|
From ff4dd4ce33133e675b7bedc86b73357c04631cb9 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:45:49 +0000
|
Date: Fri, 21 Aug 2020 06:45:49 +0000
|
||||||
Subject: [PATCH 03/33] specs: turn on -Wl,-z,now by default
|
Subject: [PATCH 03/34] specs: turn on -Wl,-z,now by default
|
||||||
|
|
||||||
Previously, we also used to turn on -z relro here, but we now build
|
Previously, we also used to turn on -z relro here, but we now build
|
||||||
binutils with --enable-relro, which is functionally equivalent.
|
binutils with --enable-relro, which is functionally equivalent.
|
||||||
|
@ -14,10 +14,10 @@ now by default.
|
||||||
2 files changed, 4 insertions(+)
|
2 files changed, 4 insertions(+)
|
||||||
|
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index b290908679e..cb34e6d40c9 100644
|
index b6731a4673c..f393c7846c6 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -17959,6 +17959,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
|
@@ -17961,6 +17961,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
|
||||||
linker. When using the GNU linker, you can also get the same effect with
|
linker. When using the GNU linker, you can also get the same effect with
|
||||||
@option{-Wl,-Map=output.map}.
|
@option{-Wl,-Map=output.map}.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From bb3ef1f5acfde9658c922d0aef9283fe60328c33 Mon Sep 17 00:00:00 2001
|
From 1b315235433701e4a974da259b8d651169ddc7ac Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:46:22 +0000
|
Date: Fri, 21 Aug 2020 06:46:22 +0000
|
||||||
Subject: [PATCH 04/33] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
|
Subject: [PATCH 04/34] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
|
||||||
ObjC, ObjC++, if the optimization level is > 0
|
ObjC, ObjC++, if the optimization level is > 0
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -25,10 +25,10 @@ index 5d64625fcd7..868d69506e4 100644
|
||||||
if (flag_gnu89_inline)
|
if (flag_gnu89_inline)
|
||||||
cpp_define (pfile, "__GNUC_GNU_INLINE__");
|
cpp_define (pfile, "__GNUC_GNU_INLINE__");
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index cb34e6d40c9..7f1aa660285 100644
|
index f393c7846c6..ef3c14a189e 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -11866,6 +11866,12 @@ also turns on the following optimization flags:
|
@@ -11868,6 +11868,12 @@ also turns on the following optimization flags:
|
||||||
Please note the warning under @option{-fgcse} about
|
Please note the warning under @option{-fgcse} about
|
||||||
invoking @option{-O2} on programs that use computed gotos.
|
invoking @option{-O2} on programs that use computed gotos.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 0727ad9e4a458d090be6fb0cfbe334d8496cd5e0 Mon Sep 17 00:00:00 2001
|
From 67c0f5789630b27149f60ff831999ef7c1dba5d5 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:46:56 +0000
|
Date: Fri, 21 Aug 2020 06:46:56 +0000
|
||||||
Subject: [PATCH 05/33] On linux targets pass --as-needed by default to the
|
Subject: [PATCH 05/34] On linux targets pass --as-needed by default to the
|
||||||
linker, but always link the sanitizer libraries with --no-as-needed.
|
linker, but always link the sanitizer libraries with --no-as-needed.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From dc3e2f629fe7f8df81c74162c66910339ec5d03d Mon Sep 17 00:00:00 2001
|
From bb25e8489384504cd59e4a2538720863da1fb29c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:47:43 +0000
|
Date: Fri, 21 Aug 2020 06:47:43 +0000
|
||||||
Subject: [PATCH 06/33] Enable -Wformat and -Wformat-security by default.
|
Subject: [PATCH 06/34] Enable -Wformat and -Wformat-security by default.
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/c-family/c.opt | 4 ++--
|
gcc/c-family/c.opt | 4 ++--
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From d25c373cf839df0720f8d345b5ad55147030515a Mon Sep 17 00:00:00 2001
|
From 4a728ad48a7b437cc6f2697e26603bf648149f86 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:48:24 +0000
|
Date: Fri, 21 Aug 2020 06:48:24 +0000
|
||||||
Subject: [PATCH 07/33] Enable -Wtrampolines by default.
|
Subject: [PATCH 07/34] Enable -Wtrampolines by default.
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/common.opt | 2 +-
|
gcc/common.opt | 2 +-
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From eb58983c3d3126caaab8ed174571b142a095c132 Mon Sep 17 00:00:00 2001
|
From 32f24560d0602f7735d5e9efd92fe3151bd72cea Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:49:40 +0000
|
Date: Fri, 21 Aug 2020 06:49:40 +0000
|
||||||
Subject: [PATCH 08/33] Disable ssp on -nostdlib, -nodefaultlibs and
|
Subject: [PATCH 08/34] Disable ssp on -nostdlib, -nodefaultlibs and
|
||||||
-ffreestanding Change the buffer size.
|
-ffreestanding Change the buffer size.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 823afef2053ca4f79ac13f2b0f52b132282ee705 Mon Sep 17 00:00:00 2001
|
From c7ec8da7280d7f97f5543eb9ddeca7600aafc43c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:50:33 +0000
|
Date: Fri, 21 Aug 2020 06:50:33 +0000
|
||||||
Subject: [PATCH 09/33] Ensure that msgfmt doesn't encounter problems during
|
Subject: [PATCH 09/34] Ensure that msgfmt doesn't encounter problems during
|
||||||
gcc bootstrapping.
|
gcc bootstrapping.
|
||||||
|
|
||||||
Solves error messages like the following:
|
Solves error messages like the following:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 702cbba342eae468e79d9b42e366b9699c158402 Mon Sep 17 00:00:00 2001
|
From aaa029bcee68298695b7c4278c90b6bc320d098c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:52:07 +0000
|
Date: Fri, 21 Aug 2020 06:52:07 +0000
|
||||||
Subject: [PATCH 10/33] Don't declare asprintf if defined as a macro.
|
Subject: [PATCH 10/34] Don't declare asprintf if defined as a macro.
|
||||||
|
|
||||||
---
|
---
|
||||||
include/libiberty.h | 3 +++
|
include/libiberty.h | 3 +++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 18f0ecbdab63b0ee590ef21650ac72879318a8be Mon Sep 17 00:00:00 2001
|
From 65e01e749205c9af218b01233cebd0077538d0ee Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:53:00 +0000
|
Date: Fri, 21 Aug 2020 06:53:00 +0000
|
||||||
Subject: [PATCH 11/33] libiberty: copy PIC objects during build process
|
Subject: [PATCH 11/34] libiberty: copy PIC objects during build process
|
||||||
|
|
||||||
---
|
---
|
||||||
libiberty/Makefile.in | 1 +
|
libiberty/Makefile.in | 1 +
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From e350a47267790a1a624032a645425b4018433e0c Mon Sep 17 00:00:00 2001
|
From 453a815bf2844971a91eaef800af188d9e86b784 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Sat, 24 Oct 2015 20:09:53 +0000
|
Date: Sat, 24 Oct 2015 20:09:53 +0000
|
||||||
Subject: [PATCH 12/33] libgcc_s
|
Subject: [PATCH 12/34] libgcc_s
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/i386/i386-expand.cc | 4 ++--
|
gcc/config/i386/i386-expand.cc | 4 ++--
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 6ed790bb2e5bf49d186885cad8fd7efc10d8fd36 Mon Sep 17 00:00:00 2001
|
From 7d7d12137c666761a8dd61179c9651b85dae9b41 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Sat, 7 Nov 2015 02:08:05 +0000
|
Date: Sat, 7 Nov 2015 02:08:05 +0000
|
||||||
Subject: [PATCH 13/33] nopie
|
Subject: [PATCH 13/34] nopie
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/configure | 27 +++++++++++++++++++++++++++
|
gcc/configure | 27 +++++++++++++++++++++++++++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From c7398885b5c2cd91a3ad1a56fde272b719d17ff5 Mon Sep 17 00:00:00 2001
|
From dd5bb97c31a9f57034c70a7a18ba6e2e133084c7 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:59:16 +0000
|
Date: Fri, 21 Aug 2020 06:59:16 +0000
|
||||||
Subject: [PATCH 14/33] ada: fix shared linking
|
Subject: [PATCH 14/34] ada: fix shared linking
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/link.c | 12 ++++++------
|
gcc/ada/link.c | 12 ++++++------
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From c2861147eacede8c97dbb8d251f7d30ac2116481 Mon Sep 17 00:00:00 2001
|
From 6bb5b7d9161d05f31b001d8211a9c63caf63fd2f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:59:43 +0000
|
Date: Fri, 21 Aug 2020 06:59:43 +0000
|
||||||
Subject: [PATCH 15/33] build: fix CXXFLAGS_FOR_BUILD passing
|
Subject: [PATCH 15/34] build: fix CXXFLAGS_FOR_BUILD passing
|
||||||
|
|
||||||
---
|
---
|
||||||
Makefile.in | 1 +
|
Makefile.in | 1 +
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 736fd338aaa6d0686b15beabac687a20cfb29c27 Mon Sep 17 00:00:00 2001
|
From f0d9e00cac06689f64b214de7aee80d7116ef084 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:01:06 +0000
|
Date: Fri, 21 Aug 2020 07:01:06 +0000
|
||||||
Subject: [PATCH 16/33] add fortify-headers paths
|
Subject: [PATCH 16/34] add fortify-headers paths
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/linux.h | 2 ++
|
gcc/config/linux.h | 2 ++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f71fef0a3d527ba84faaf63cee2a5ecb2322412e Mon Sep 17 00:00:00 2001
|
From 857db04f4f1a06e866551b4172fe8f27363f4a92 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
|
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
|
||||||
Date: Fri, 21 Aug 2020 07:03:00 +0000
|
Date: Fri, 21 Aug 2020 07:03:00 +0000
|
||||||
Subject: [PATCH 17/33] Alpine musl package provides libssp_nonshared.a. We
|
Subject: [PATCH 17/34] Alpine musl package provides libssp_nonshared.a. We
|
||||||
link to it unconditionally, as otherwise we get link failures if some objects
|
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.
|
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
|
This seems to be the common case when bootstrapping gcc, the piepatches do
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 06624ddc7dfd4dcfb4e41f4549ffcacfbc43b315 Mon Sep 17 00:00:00 2001
|
From 5a8347e23ab13912b6edec2c6c6e3a101b017c79 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:03:42 +0000
|
Date: Fri, 21 Aug 2020 07:03:42 +0000
|
||||||
Subject: [PATCH 18/33] DP: Use --push-state/--pop-state for gold as well when
|
Subject: [PATCH 18/34] DP: Use --push-state/--pop-state for gold as well when
|
||||||
linking libtsan.
|
linking libtsan.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From cbc762f2d4c8ae714f7a0c762d90453607a5c2e5 Mon Sep 17 00:00:00 2001
|
From 41d00a2eb0754acf71958808bd17dbebeb517b84 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:12:55 +0000
|
Date: Thu, 6 Jan 2022 03:12:55 +0000
|
||||||
Subject: [PATCH 19/33] aarch64: disable multilib support
|
Subject: [PATCH 19/34] aarch64: disable multilib support
|
||||||
|
|
||||||
multilib is unsupported on Alpine GCC
|
multilib is unsupported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f820b730e48421ab03e5742dc06e83570690078e Mon Sep 17 00:00:00 2001
|
From 85b42bfbba71616831d14360b16998acb28790fd Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:13:59 +0000
|
Date: Thu, 6 Jan 2022 03:13:59 +0000
|
||||||
Subject: [PATCH 20/33] s390x: disable multilib support
|
Subject: [PATCH 20/34] s390x: disable multilib support
|
||||||
|
|
||||||
multilib is not supported on Alpine GCC at present
|
multilib is not supported on Alpine GCC at present
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 40c3d28f4d090fcd3486ca2a88d0c7618fdb03ed Mon Sep 17 00:00:00 2001
|
From 7b53df284242638e940c0155b6c21e88cea1f55b Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:14:33 +0000
|
Date: Thu, 6 Jan 2022 03:14:33 +0000
|
||||||
Subject: [PATCH 21/33] ppc64[le]: disable multilib support
|
Subject: [PATCH 21/34] ppc64[le]: disable multilib support
|
||||||
|
|
||||||
multilib is not presently supported on Alpine GCC
|
multilib is not presently supported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 05cf20eb11b3013c2fbb26c841485f675811058c Mon Sep 17 00:00:00 2001
|
From 96e7e1e9a899d9bb5fcbdf788bd529d0390c626f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:14:54 +0000
|
Date: Thu, 6 Jan 2022 03:14:54 +0000
|
||||||
Subject: [PATCH 22/33] x86_64: disable multilib support
|
Subject: [PATCH 22/34] x86_64: disable multilib support
|
||||||
|
|
||||||
multilib is not presently supported on Alpine GCC
|
multilib is not presently supported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 0920d23e3a345bc17675b9bebc52644c238123e2 Mon Sep 17 00:00:00 2001
|
From b26224acf342eacb33491f6ea0da1faf73d35715 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Mon, 3 Jan 2022 07:14:48 +0100
|
Date: Mon, 3 Jan 2022 07:14:48 +0100
|
||||||
Subject: [PATCH 23/33] riscv: disable multilib support
|
Subject: [PATCH 23/34] riscv: disable multilib support
|
||||||
MIME-Version: 1.0
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 5c955776d65f5a018375652904b088a37203899d Mon Sep 17 00:00:00 2001
|
From a72e0613f79f6b6867819317accb7a714031a08c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:05:41 +0000
|
Date: Fri, 21 Aug 2020 07:05:41 +0000
|
||||||
Subject: [PATCH 24/33] always build libgcc_eh.a
|
Subject: [PATCH 24/34] always build libgcc_eh.a
|
||||||
|
|
||||||
highly inspired by:
|
highly inspired by:
|
||||||
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
|
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From ac6202d063308fbf67e4b617b768536e66a44519 Mon Sep 17 00:00:00 2001
|
From 3ee8cbc1cad261b30d4a7a66d31496d5f243ce2f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:06:30 +0000
|
Date: Fri, 21 Aug 2020 07:06:30 +0000
|
||||||
Subject: [PATCH 25/33] ada: libgnarl compatibility for musl
|
Subject: [PATCH 25/34] ada: libgnarl compatibility for musl
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
|
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b7404c39a6a76ebe382caa2b9da16006413b21b9 Mon Sep 17 00:00:00 2001
|
From 3df4788c79c7429b196c7b284af2b4cf9a4b4f8d Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:07:48 +0000
|
Date: Fri, 21 Aug 2020 07:07:48 +0000
|
||||||
Subject: [PATCH 26/33] ada: musl support fixes
|
Subject: [PATCH 26/34] ada: musl support fixes
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/Makefile.rtl | 10 +++++-----
|
gcc/ada/Makefile.rtl | 10 +++++-----
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 401ac3feeea049a8035bf916f550ce6f4e859cba Mon Sep 17 00:00:00 2001
|
From 7b50823d8a4131e5a55d2499a0f5a52b3d91eed2 Mon Sep 17 00:00:00 2001
|
||||||
From: Drew DeVault <sir@cmpwn.com>
|
From: Drew DeVault <sir@cmpwn.com>
|
||||||
Date: Wed, 9 Dec 2020 07:42:06 +0000
|
Date: Wed, 9 Dec 2020 07:42:06 +0000
|
||||||
Subject: [PATCH 27/33] configure: Add --enable-autolink-libatomic, use in
|
Subject: [PATCH 27/34] configure: Add --enable-autolink-libatomic, use in
|
||||||
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
|
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
|
||||||
|
|
||||||
This fixes issues with RISC-V.
|
This fixes issues with RISC-V.
|
||||||
|
@ -166,10 +166,10 @@ index 57268319de1..56bcaa87620 100644
|
||||||
# Checks for other programs
|
# Checks for other programs
|
||||||
# -------------------------
|
# -------------------------
|
||||||
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
|
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
|
||||||
index 928fc6b6d4b..81a677014df 100644
|
index b30d3691fe6..ccc8e5dbb00 100644
|
||||||
--- a/gcc/doc/install.texi
|
--- a/gcc/doc/install.texi
|
||||||
+++ b/gcc/doc/install.texi
|
+++ b/gcc/doc/install.texi
|
||||||
@@ -2374,6 +2374,14 @@ files, but these changed header paths may conflict with some compilation
|
@@ -2377,6 +2377,14 @@ files, but these changed header paths may conflict with some compilation
|
||||||
environments. Enabled by default, and may be disabled using
|
environments. Enabled by default, and may be disabled using
|
||||||
@option{--disable-canonical-system-headers}.
|
@option{--disable-canonical-system-headers}.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From cd46156af13743fe93c48d00b0661add2c319226 Mon Sep 17 00:00:00 2001
|
From 5bbbd320e54ab5341cfba83e8af98685131caba1 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Sun, 29 Aug 2021 12:23:34 +0200
|
Date: Sun, 29 Aug 2021 12:23:34 +0200
|
||||||
Subject: [PATCH 28/33] configure: fix detection of atomic builtins in
|
Subject: [PATCH 28/34] configure: fix detection of atomic builtins in
|
||||||
libatomic configure script
|
libatomic configure script
|
||||||
|
|
||||||
Alpine's --enable-autolink-libatomic (which is enabled for riscv64 by
|
Alpine's --enable-autolink-libatomic (which is enabled for riscv64 by
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f0f2cad36cd4796426ce1c25a6cec7c70a56741e Mon Sep 17 00:00:00 2001
|
From 430c701a3cefbe09a9c7c8a2f5bbe957f9b2ecb2 Mon Sep 17 00:00:00 2001
|
||||||
From: Samuel Holland <samuel@sholland.org>
|
From: Samuel Holland <samuel@sholland.org>
|
||||||
Date: Thu, 30 Jun 2022 16:44:51 +0000
|
Date: Thu, 30 Jun 2022 16:44:51 +0000
|
||||||
Subject: [PATCH 29/33] libstdc++: do not throw exceptions for non-C locales on
|
Subject: [PATCH 29/34] libstdc++: do not throw exceptions for non-C locales on
|
||||||
musl targets
|
musl targets
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b474c9688ebda225ced95ecea0219312110d9c9e Mon Sep 17 00:00:00 2001
|
From 05f0043755f341a2ff4f845379327076b3e0203d Mon Sep 17 00:00:00 2001
|
||||||
From: Mathias LANG <pro.mathias.lang@gmail.com>
|
From: Mathias LANG <pro.mathias.lang@gmail.com>
|
||||||
Date: Mon, 17 Jan 2022 03:49:21 +0000
|
Date: Mon, 17 Jan 2022 03:49:21 +0000
|
||||||
Subject: [PATCH 30/33] gdc: unconditionally link libgphobos against
|
Subject: [PATCH 30/34] gdc: unconditionally link libgphobos against
|
||||||
libucontext
|
libucontext
|
||||||
|
|
||||||
ref: alpine/aports#13422
|
ref: alpine/aports#13422
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 6598811df64744ba862e36a6dca88578b01dd46e Mon Sep 17 00:00:00 2001
|
From 0b89a74fbf77ae6917f043c79cd03db0d6ef0212 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Sat, 16 Jul 2022 09:21:11 +0200
|
Date: Sat, 16 Jul 2022 09:21:11 +0200
|
||||||
Subject: [PATCH 31/33] druntime: link against libucontext on all platforms
|
Subject: [PATCH 31/34] druntime: link against libucontext on all platforms
|
||||||
|
|
||||||
On musl-based Linux distributions, swapcontext etc. are not provided by
|
On musl-based Linux distributions, swapcontext etc. are not provided by
|
||||||
musl but instead by libucontext. Hence, we _always_ need to link against
|
musl but instead by libucontext. Hence, we _always_ need to link against
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 4e84b0a3c019438b25de7c1e844746e4bc83af42 Mon Sep 17 00:00:00 2001
|
From eeec799f43fbd0bfffc13594585b39d708972511 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Tue, 19 Jul 2022 14:54:07 +0200
|
Date: Tue, 19 Jul 2022 14:54:07 +0200
|
||||||
Subject: [PATCH 32/33] libgnat: time_t is always 64-bit on musl libc
|
Subject: [PATCH 32/34] libgnat: time_t is always 64-bit on musl libc
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/libgnat/s-parame.ads | 2 +-
|
gcc/ada/libgnat/s-parame.ads | 2 +-
|
||||||
|
|
|
@ -1,12 +1,26 @@
|
||||||
From 4cf06fff68090b1681d070a55214f2ab26754edf Mon Sep 17 00:00:00 2001
|
From b71d21b87e6946c763edad5e420bf22d8a453077 Mon Sep 17 00:00:00 2001
|
||||||
From: psykose <alice@ayaya.dev>
|
From: psykose <alice@ayaya.dev>
|
||||||
Date: Mon, 29 May 2023 15:33:11 +0000
|
Date: Mon, 29 May 2023 15:33:11 +0000
|
||||||
Subject: [PATCH 33/33] libphobos: do not use LFS64 symbols
|
Subject: [PATCH 33/34] libphobos: do not use LFS64 symbols
|
||||||
|
|
||||||
musl does not have these since 1.2.4, we can't use the compat interfaces.
|
musl does not have these since 1.2.4, we can't use the compat interfaces.
|
||||||
---
|
---
|
||||||
|
libphobos/libdruntime/core/sys/posix/config.d | 2 +-
|
||||||
libphobos/libdruntime/core/sys/posix/sys/mman.d | 6 +-----
|
libphobos/libdruntime/core/sys/posix/sys/mman.d | 6 +-----
|
||||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
2 files changed, 2 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libphobos/libdruntime/core/sys/posix/config.d b/libphobos/libdruntime/core/sys/posix/config.d
|
||||||
|
index ae6752f220e..6b80d1ff0e6 100644
|
||||||
|
--- a/libphobos/libdruntime/core/sys/posix/config.d
|
||||||
|
+++ b/libphobos/libdruntime/core/sys/posix/config.d
|
||||||
|
@@ -88,7 +88,7 @@ else version (CRuntime_Musl)
|
||||||
|
enum __REDIRECT = false;
|
||||||
|
|
||||||
|
// Those three are irrelevant for Musl as it always uses 64 bits off_t
|
||||||
|
- enum __USE_FILE_OFFSET64 = _FILE_OFFSET_BITS == 64;
|
||||||
|
+ enum __USE_FILE_OFFSET64 = false;
|
||||||
|
enum __USE_LARGEFILE = __USE_FILE_OFFSET64 && !__REDIRECT;
|
||||||
|
enum __USE_LARGEFILE64 = __USE_FILE_OFFSET64 && !__REDIRECT;
|
||||||
|
|
||||||
diff --git a/libphobos/libdruntime/core/sys/posix/sys/mman.d b/libphobos/libdruntime/core/sys/posix/sys/mman.d
|
diff --git a/libphobos/libdruntime/core/sys/posix/sys/mman.d b/libphobos/libdruntime/core/sys/posix/sys/mman.d
|
||||||
index 0d3d517d69a..323aa0af72d 100644
|
index 0d3d517d69a..323aa0af72d 100644
|
||||||
|
|
195
cross/gcc-armhf/0034-libgo-fix-lfs64-use.patch
Normal file
195
cross/gcc-armhf/0034-libgo-fix-lfs64-use.patch
Normal file
|
@ -0,0 +1,195 @@
|
||||||
|
From 4bfcb35bc43d3e3b7510620362d7c28d9e4c17ca Mon Sep 17 00:00:00 2001
|
||||||
|
From: psykose <alice@ayaya.dev>
|
||||||
|
Date: Mon, 10 Jul 2023 23:23:29 +0000
|
||||||
|
Subject: [PATCH 34/34] libgo: fix lfs64 use
|
||||||
|
|
||||||
|
---
|
||||||
|
.../go/internal/syscall/unix/at_largefile.go | 2 +-
|
||||||
|
libgo/go/os/dir_largefile.go | 2 +-
|
||||||
|
libgo/go/syscall/libcall_glibc.go | 2 +-
|
||||||
|
libgo/go/syscall/libcall_linux.go | 4 +--
|
||||||
|
libgo/go/syscall/libcall_posix_largefile.go | 26 +++++++++----------
|
||||||
|
libgo/runtime/go-varargs.c | 2 +-
|
||||||
|
libgo/sysinfo.c | 9 +++----
|
||||||
|
7 files changed, 22 insertions(+), 25 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libgo/go/internal/syscall/unix/at_largefile.go b/libgo/go/internal/syscall/unix/at_largefile.go
|
||||||
|
index 82e0dcfd074..16151ecad1b 100644
|
||||||
|
--- a/libgo/go/internal/syscall/unix/at_largefile.go
|
||||||
|
+++ b/libgo/go/internal/syscall/unix/at_largefile.go
|
||||||
|
@@ -10,5 +10,5 @@ import (
|
||||||
|
"syscall"
|
||||||
|
)
|
||||||
|
|
||||||
|
-//extern fstatat64
|
||||||
|
+//extern fstatat
|
||||||
|
func fstatat(int32, *byte, *syscall.Stat_t, int32) int32
|
||||||
|
diff --git a/libgo/go/os/dir_largefile.go b/libgo/go/os/dir_largefile.go
|
||||||
|
index 1fc5ee0771f..0c6dffe1a75 100644
|
||||||
|
--- a/libgo/go/os/dir_largefile.go
|
||||||
|
+++ b/libgo/go/os/dir_largefile.go
|
||||||
|
@@ -11,5 +11,5 @@ package os
|
||||||
|
|
||||||
|
import "syscall"
|
||||||
|
|
||||||
|
-//extern readdir64
|
||||||
|
+//extern readdir
|
||||||
|
func libc_readdir(*syscall.DIR) *syscall.Dirent
|
||||||
|
diff --git a/libgo/go/syscall/libcall_glibc.go b/libgo/go/syscall/libcall_glibc.go
|
||||||
|
index 5c1ec483c75..5a1245ed44b 100644
|
||||||
|
--- a/libgo/go/syscall/libcall_glibc.go
|
||||||
|
+++ b/libgo/go/syscall/libcall_glibc.go
|
||||||
|
@@ -114,7 +114,7 @@ func Pipe2(p []int, flags int) (err error) {
|
||||||
|
}
|
||||||
|
|
||||||
|
//sys sendfile(outfd int, infd int, offset *Offset_t, count int) (written int, err error)
|
||||||
|
-//sendfile64(outfd _C_int, infd _C_int, offset *Offset_t, count Size_t) Ssize_t
|
||||||
|
+//sendfile(outfd _C_int, infd _C_int, offset *Offset_t, count Size_t) Ssize_t
|
||||||
|
|
||||||
|
func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
|
||||||
|
if race.Enabled {
|
||||||
|
diff --git a/libgo/go/syscall/libcall_linux.go b/libgo/go/syscall/libcall_linux.go
|
||||||
|
index 03ca7261b59..ad21fd0b3ac 100644
|
||||||
|
--- a/libgo/go/syscall/libcall_linux.go
|
||||||
|
+++ b/libgo/go/syscall/libcall_linux.go
|
||||||
|
@@ -158,7 +158,7 @@ func Reboot(cmd int) (err error) {
|
||||||
|
//adjtimex(buf *Timex) _C_int
|
||||||
|
|
||||||
|
//sys Fstatfs(fd int, buf *Statfs_t) (err error)
|
||||||
|
-//fstatfs64(fd _C_int, buf *Statfs_t) _C_int
|
||||||
|
+//fstatfs(fd _C_int, buf *Statfs_t) _C_int
|
||||||
|
|
||||||
|
func Gettid() (tid int) {
|
||||||
|
r1, _, _ := Syscall(SYS_GETTID, 0, 0, 0)
|
||||||
|
@@ -245,7 +245,7 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i
|
||||||
|
}
|
||||||
|
|
||||||
|
//sys Statfs(path string, buf *Statfs_t) (err error)
|
||||||
|
-//statfs64(path *byte, buf *Statfs_t) _C_int
|
||||||
|
+//statfs(path *byte, buf *Statfs_t) _C_int
|
||||||
|
|
||||||
|
//sysnb Sysinfo(info *Sysinfo_t) (err error)
|
||||||
|
//sysinfo(info *Sysinfo_t) _C_int
|
||||||
|
diff --git a/libgo/go/syscall/libcall_posix_largefile.go b/libgo/go/syscall/libcall_posix_largefile.go
|
||||||
|
index f90055bb29a..334212f0af1 100644
|
||||||
|
--- a/libgo/go/syscall/libcall_posix_largefile.go
|
||||||
|
+++ b/libgo/go/syscall/libcall_posix_largefile.go
|
||||||
|
@@ -10,40 +10,40 @@
|
||||||
|
package syscall
|
||||||
|
|
||||||
|
//sys Creat(path string, mode uint32) (fd int, err error)
|
||||||
|
-//creat64(path *byte, mode Mode_t) _C_int
|
||||||
|
+//creat(path *byte, mode Mode_t) _C_int
|
||||||
|
|
||||||
|
//sys Fstat(fd int, stat *Stat_t) (err error)
|
||||||
|
-//fstat64(fd _C_int, stat *Stat_t) _C_int
|
||||||
|
+//fstat(fd _C_int, stat *Stat_t) _C_int
|
||||||
|
|
||||||
|
//sys Ftruncate(fd int, length int64) (err error)
|
||||||
|
-//ftruncate64(fd _C_int, length Offset_t) _C_int
|
||||||
|
+//ftruncate(fd _C_int, length Offset_t) _C_int
|
||||||
|
|
||||||
|
//sysnb Getrlimit(resource int, rlim *Rlimit) (err error)
|
||||||
|
-//getrlimit64(resource _C_int, rlim *Rlimit) _C_int
|
||||||
|
+//getrlimit(resource _C_int, rlim *Rlimit) _C_int
|
||||||
|
|
||||||
|
//sys Lstat(path string, stat *Stat_t) (err error)
|
||||||
|
-//lstat64(path *byte, stat *Stat_t) _C_int
|
||||||
|
+//lstat(path *byte, stat *Stat_t) _C_int
|
||||||
|
|
||||||
|
//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
|
||||||
|
-//mmap64(addr *byte, length Size_t, prot _C_int, flags _C_int, fd _C_int, offset Offset_t) *byte
|
||||||
|
+//mmap(addr *byte, length Size_t, prot _C_int, flags _C_int, fd _C_int, offset Offset_t) *byte
|
||||||
|
|
||||||
|
//sys Open(path string, mode int, perm uint32) (fd int, err error)
|
||||||
|
-//__go_open64(path *byte, mode _C_int, perm Mode_t) _C_int
|
||||||
|
+//__go_open(path *byte, mode _C_int, perm Mode_t) _C_int
|
||||||
|
|
||||||
|
//sys Pread(fd int, p []byte, offset int64) (n int, err error)
|
||||||
|
-//pread64(fd _C_int, buf *byte, count Size_t, offset Offset_t) Ssize_t
|
||||||
|
+//pread(fd _C_int, buf *byte, count Size_t, offset Offset_t) Ssize_t
|
||||||
|
|
||||||
|
//sys Pwrite(fd int, p []byte, offset int64) (n int, err error)
|
||||||
|
-//pwrite64(fd _C_int, buf *byte, count Size_t, offset Offset_t) Ssize_t
|
||||||
|
+//pwrite(fd _C_int, buf *byte, count Size_t, offset Offset_t) Ssize_t
|
||||||
|
|
||||||
|
//sys Seek(fd int, offset int64, whence int) (off int64, err error)
|
||||||
|
-//lseek64(fd _C_int, offset Offset_t, whence _C_int) Offset_t
|
||||||
|
+//lseek(fd _C_int, offset Offset_t, whence _C_int) Offset_t
|
||||||
|
|
||||||
|
//sysnb Setrlimit(resource int, rlim *Rlimit) (err error)
|
||||||
|
-//setrlimit64(resource int, rlim *Rlimit) _C_int
|
||||||
|
+//setrlimit(resource int, rlim *Rlimit) _C_int
|
||||||
|
|
||||||
|
//sys Stat(path string, stat *Stat_t) (err error)
|
||||||
|
-//stat64(path *byte, stat *Stat_t) _C_int
|
||||||
|
+//stat(path *byte, stat *Stat_t) _C_int
|
||||||
|
|
||||||
|
//sys Truncate(path string, length int64) (err error)
|
||||||
|
-//truncate64(path *byte, length Offset_t) _C_int
|
||||||
|
+//truncate(path *byte, length Offset_t) _C_int
|
||||||
|
diff --git a/libgo/runtime/go-varargs.c b/libgo/runtime/go-varargs.c
|
||||||
|
index f84860891e6..7efc9615985 100644
|
||||||
|
--- a/libgo/runtime/go-varargs.c
|
||||||
|
+++ b/libgo/runtime/go-varargs.c
|
||||||
|
@@ -84,7 +84,7 @@ __go_ioctl_ptr (int d, int request, void *arg)
|
||||||
|
int
|
||||||
|
__go_open64 (char *path, int mode, mode_t perm)
|
||||||
|
{
|
||||||
|
- return open64 (path, mode, perm);
|
||||||
|
+ return open (path, mode, perm);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
diff --git a/libgo/sysinfo.c b/libgo/sysinfo.c
|
||||||
|
index 180f5c31d74..1d717d55c0e 100644
|
||||||
|
--- a/libgo/sysinfo.c
|
||||||
|
+++ b/libgo/sysinfo.c
|
||||||
|
@@ -366,7 +366,7 @@ typedef loff_t libgo_loff_t_type;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_OFF64_T)
|
||||||
|
-typedef off64_t libgo_off_t_type;
|
||||||
|
+typedef off_t libgo_off_t_type;
|
||||||
|
#else
|
||||||
|
typedef off_t libgo_off_t_type;
|
||||||
|
#endif
|
||||||
|
@@ -398,13 +398,11 @@ typedef off_t libgo_off_t_type;
|
||||||
|
|
||||||
|
// From dirent.h
|
||||||
|
SREF(dirent);
|
||||||
|
-SREF(dirent64);
|
||||||
|
OTREF(DIR);
|
||||||
|
EREF(DT_UNKNOWN);
|
||||||
|
|
||||||
|
// From fcntl.h
|
||||||
|
SREF(flock);
|
||||||
|
-SREF(flock64);
|
||||||
|
|
||||||
|
// From ffi headers
|
||||||
|
SREF(_ffi_type);
|
||||||
|
@@ -485,11 +483,10 @@ EREF(SS_ONSTACK);
|
||||||
|
EREF(SEGV_MAPERR);
|
||||||
|
|
||||||
|
// From stat.h
|
||||||
|
-SREF(stat64);
|
||||||
|
+SREF(stat);
|
||||||
|
|
||||||
|
// From statfs.h
|
||||||
|
SREF(statfs);
|
||||||
|
-SREF(statfs64);
|
||||||
|
|
||||||
|
// From sysinfo.h
|
||||||
|
SREF(sysinfo);
|
||||||
|
@@ -519,7 +516,7 @@ EREF(PTRACE_PEEKTEXT);
|
||||||
|
|
||||||
|
// From sys/resource.h
|
||||||
|
SREF(rusage);
|
||||||
|
-SREF(rlimit64);
|
||||||
|
+SREF(rlimit);
|
||||||
|
EREF(RLIMIT_NOFILE);
|
||||||
|
EREF(PRIO_USER);
|
||||||
|
EREF(RUSAGE_SELF);
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
|
@ -24,7 +24,7 @@ CBUILDROOT="/"
|
||||||
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
|
||||||
|
|
||||||
pkgname=gcc-armhf
|
pkgname=gcc-armhf
|
||||||
pkgver=13.1.1_git20230708
|
pkgver=13.1.1_git20230715
|
||||||
# i.e. 13.1.1, must match gcc/BASE-VER
|
# i.e. 13.1.1, must match gcc/BASE-VER
|
||||||
_pkgbase="${pkgver%%_git*}"
|
_pkgbase="${pkgver%%_git*}"
|
||||||
# date component from snapshots
|
# date component from snapshots
|
||||||
|
@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-armhf
|
pkgname=gcc-armhf
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Stage2 cross-compiler for armhf"
|
pkgdesc="Stage2 cross-compiler for armhf"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -267,6 +267,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
|
||||||
0031-druntime-link-against-libucontext-on-all-platforms.patch
|
0031-druntime-link-against-libucontext-on-all-platforms.patch
|
||||||
0032-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
|
0032-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
|
||||||
0033-libphobos-do-not-use-LFS64-symbols.patch
|
0033-libphobos-do-not-use-LFS64-symbols.patch
|
||||||
|
0034-libgo-fix-lfs64-use.patch
|
||||||
"
|
"
|
||||||
|
|
||||||
# we build out-of-tree
|
# we build out-of-tree
|
||||||
|
@ -780,38 +781,39 @@ gdb() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
ca703acdf2c32ad7cf28d159a3306dca4032771d701074d618d08a3b8684b72f6c28d62f1e3263e4cc0064c960bc30373877c3f89fa6f35dddd8794f66ab53dc gcc-13-20230708.tar.xz
|
942d706e7f8ae8dbc85808e388b9c98de6bd922d49adeca63691218363a4f0b46829509ba1f1ed358ef436e1adf77ad7a820aaeb4bb03a4fc52cfdec118394f3 gcc-13-20230715.tar.xz
|
||||||
5738a25e510d47058ea7acf44f47292c365f74f60f75d600c3bdf79022a78e3c14c87648e23d3f44612833123ba1ae6776c8a6ea4371bf8c2cf31ea8296a0278 0001-posix_memalign.patch
|
438eda29a1851c72e65422bb4cd129ecc016f06f9bd038288e39762c01b932f786ed4aad587c7b16baf948c342c10dc9beff125166b97e0b8e0d05789aec95ce 0001-posix_memalign.patch
|
||||||
35cba990b41ba8fd2544404a0330ceddfbc7b63475f4ebb515552d5ec494d0099f0585240a36099431ae6dcaf9bd7674ca0224f0dd4310cd3597aabadedd1d07 0002-gcc-poison-system-directories.patch
|
4a7cd030e107b6e35fb883c80f21a547da14f540f989555ac2c9ba08958ace5b44dca194a96b460415c71f663e885954d73b04ade55f2f9d3cb116f50df8d8ca 0002-gcc-poison-system-directories.patch
|
||||||
fa3b349be7e7f49c1d2192a84d6fc6b9f9b750381607711950d3ad5c867c677dac65dc2274fa4227aa6909d6b5e0fcc59b137254202035e930a2c6a0ba494e2f 0003-specs-turn-on-Wl-z-now-by-default.patch
|
99b194f53677c3a75c3c376160673703f2d759d795ebd9f6e66d5ee095a648eba35d8aef1990a6a1e805c1cc1720636d7c23ef6102b674d92996b1e5646a0b2c 0003-specs-turn-on-Wl-z-now-by-default.patch
|
||||||
495b08b8b25f25f616fd68d205c23232d8307a35dae81f5d37e248ec704734e40618d5e3855f1cedeaa615b1d03e5a34089695faca9798d51a367a0e3bc59b78 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
|
39013ad0b255e9cfd168010eefc32ec4d015fce2c2b4e864341a6aa8bdb74e52a08f0ae83f29e27e9524d4da27f28369a6aa4d76f6aed6490dc2961b18f90e94 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
|
||||||
ee10b0b91e7b0a91a47b6708dd8a41c8f08a89f87a3eed57aed2ea3df5b7109a2a33741651a294a10f056c736beeb0be0fb6004c0517e8687a80bc33be50d8c9 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
|
0ef08231bef5c77a38e8deaae4e00675de4312071425cf1db46ee54c3e00d2a5d1658a68302dd495c796d397e61e79efcf4e91fbd8fb2cd2e2fa539c2e884492 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
|
||||||
87dca73e398acf396ade55b8cd533d3e90889444c27069df9840a57d524d8f045781b4a38f9e0e52595a510049a0832a5067f6f0200df00fc51501316fa7c61b 0006-Enable-Wformat-and-Wformat-security-by-default.patch
|
8202e22832141fb12601546cec42472fdb194892f839e9fed86b4ab597204b6e6575c0585c283301eeb598ac1f06d16ce500d9c0ea333444bd50ae2a210d2d76 0006-Enable-Wformat-and-Wformat-security-by-default.patch
|
||||||
5eca632dbb3f709ee92ba89e062642cfcf854aa31426b8eca859432773bff4bffd35fa6a7418a760bed89a30a1f64e1de87b0353e9d332d8abc72c14e236e1ed 0007-Enable-Wtrampolines-by-default.patch
|
1b239b94b570a0eff2249a9ec7ad150270c3210128f8f8a67e1554a044a039b2acc69768ebc57a15cec661f039c41fb7b620e7ec65320efbce40ceec1c9c6b90 0007-Enable-Wtrampolines-by-default.patch
|
||||||
d46546536564f76abcda3a54b0c159175aca7044542fdcdf1f08c46bfabff452e2ba7d535e9e5b04c9c595c3f865bf80bdece8aee4a0bc24baea4f2c94fcf0bb 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
|
eb3ce4df99bf4f22ca4bac2d4e24be4c235098fb67ae118cb8efe360f0441a39a9931076fa615fbc3b7d2b2a541d4ffb2cfc56097224fbd8b5f09bc01a1d7878 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
|
||||||
00ce50efdeb9a31cbd9ca2d2fa22cd27b1d972e96c01948bd9ae95aff7275e6bc894196ff871107c5feadb6cb832119127240f4539fda35d4326955babf5f510 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
|
58a5ea76b4f7d662d3165dfeaad258087b0ec58b7ff87a62971c60817388ec6191d6dc841d63696d00fb68fe16b690790f3c0639e0edbd204033b4f8bbb4dafe 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
|
||||||
46a228b875f835fd1c2cae479f5e931cd2afc4124690ebb935ea49a3fc4ed46b69d4c76e18a1d7632283690e9d51fbcb90f478fc0b87d532dc095fcf067de7e6 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
|
85d60bc6ef5f41854a5bc36847917dcee24bf6663fcd70b78a164a07fc08551f74fe37329b57cf187b95e23a6d04bce2ba620f21ac80c8df7d9cfcc8052089df 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
|
||||||
b2c5e2af8f6f50da5795de7fb94309149eb63b1dcc31d72147975702b751e7af0f89adbde7e359416a4ad7749c3d251e6c2b8b57c9a24c77e15c9ce4730d5e4a 0011-libiberty-copy-PIC-objects-during-build-process.patch
|
8ef0f45bc0639464537f39319f4954d9a9ab182e14a10c6e39455bebddd24dcdbe6ec3fc0316324a4f9d7dc1f95ec8babd7112c2ff05af54534e0fbe74ff6ebf 0011-libiberty-copy-PIC-objects-during-build-process.patch
|
||||||
8c60c72a123d984452b57bc6a7d3dea3ab092e963d459d8a69a27384c8cf2d7e0e718d1dda2957b62cb2d0353dd851e57c3d1791f90adf6a32393b64846677d9 0012-libgcc_s.patch
|
d8467365c19339e52bcf27476b338fb412b6a7dd6eefd4fd92822e67c756a1f04a106f4e0c1c1909b4bee8f5f3b506a98614c1bf3478d7714415cca9eb7257e1 0012-libgcc_s.patch
|
||||||
082a1dcca42899fc7c70616f0b73fc640fbaae8c4f08c960c71bd9f2cda57bf34a662f1f6327a6eb7e026ebe3414ee71303c3354687ad6c14068fdf37025f2e5 0013-nopie.patch
|
cab0cb6c462f2f4abefde020e17199366c6c24ad2582fe7d793c552aa2bcbe3148c5f6cd6245bc9ff86017d949ef4e6f063c8a01ce7d247abfe685077c57e71c 0013-nopie.patch
|
||||||
ced25410c21b0bac351ef4a6c2d381f4e0a1c0f4043899bbed2f10ad5f5c39ec6ff4cde07c62d486643a89421c28266798234c318a09a029bc1a79d6adee1c0e 0014-ada-fix-shared-linking.patch
|
b1277a4edc91208fecf5ad7015e8cf237d567b310063f26d14ff39c4aade683e6d1d54d817b7f4fef79db7dc456be9f09a5a8c0ceeff784f839521d0cf243807 0014-ada-fix-shared-linking.patch
|
||||||
f245428f57f1d59e353b3c1d745c7cb3987689d8ef3cb38e113f69750dca08ed76681ed72b2d5ee659d0d6c33179c4b12eb1d509c0baf185cc8c8549e0c09f8f 0015-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
|
9fa42ba8374b8e47cb3d96315d783c990cf35075354869f5657383908c4d5f143ee94d1f7f86f52140a974f5fc872b22bcaec1f732ebc249357a86ad9e781d4e 0015-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
|
||||||
4fd357f4f24899f742e19680db543647dea556e3144744ac990474ee01f32d28e1724f6f56dac4ba2ce2491aae88ffea16b6f7c33b74132deb2f932d550f119a 0016-add-fortify-headers-paths.patch
|
05e1e06a6e33958ec5c22b26919fe142153c9605173ad90c770a32d7d48dfb5df421553f3030b6d979f34acbd3614d0e32c86c3cb0b819f3fbaa054f2962ff20 0016-add-fortify-headers-paths.patch
|
||||||
dd028aeb2e8a32157a419f4450fa70a96522ce2de88febfac374d11f1340660584c7547eaa287715f585289aa313b17918a52b64bc758778833f387c0e3c3506 0017-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
|
784d488cf55fafa259d3aa874f4230453b4d3aeb94158d0c96caf26524b8b7f8cea12367a72fa4616389dfcb877c4a1c4fe9d1cb57a67c0329bbad61e91ee423 0017-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
|
||||||
47eb31a354177f4abd699e6bcb29ba688eeb51511b27969a88e25a0153108023ceb3d821fe3ffca0491dafec5341a3186b813519b9d043450eeec990bfc7d7d4 0018-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
|
18c1092273005f4fcaec36830a2cbfbf5e2a2e4e82cf5f7f4f7f3141dbbe2731db2f47a9869f271b4ee337835962c7dfbf009165f2988a14ff40d6c6935986ce 0018-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
|
||||||
b77e98c45d28e42ec9f9842b5aab3fd69b8696ea69376a049e7792bd5cef98c730ab5a458406084fb7be2f3c361962c407b72dde3dd27857f55433f3fc749b3c 0019-aarch64-disable-multilib-support.patch
|
4bbce70032f125002aa857b0561c80e15588847282c2ab2851c3c507a48d22613ef3affb288c33da461688890c7ce265c6175fb1580194669621653788172d1b 0019-aarch64-disable-multilib-support.patch
|
||||||
79b3a8ea1fe452a2f8fdf2b15b75754ed00f2993120596e7870622d4d608edf8c3ddc31181dafa40815fdfe277a10d539830484f09a57c3b0ee5677785224e04 0020-s390x-disable-multilib-support.patch
|
d4bf0a7add6d531871324c36004f7d92eea9ad7042d567e43377e5bdde7dce8d87c649c3c4bdf0144b82d2607b46fab4eb821cf9a82ee4eddb003601b331e395 0020-s390x-disable-multilib-support.patch
|
||||||
d250d791dd9d5190eee9fc54326830b0e19d9986e801d0576199808c6e211f5137ce71b92e0dbfb1ab910c22311b4b48dbbd63fa9390c2e2491dce80062e5f51 0021-ppc64-le-disable-multilib-support.patch
|
e0002f9aea22c923530591f97cfb29953cd924a78b3c7ae5d15ccaae46491c1f40b03a5dc5fc17a286299b82ef48248a9ecbf6eea9bbd2058189a697e9e2ffe8 0021-ppc64-le-disable-multilib-support.patch
|
||||||
51206e8132e93bb79f891f0f69461982435fa4212b1bf91c75b9bb9ee7fd25106d53fad21470f4706b5d258fbe1715ef7524d6c2bb94813b7d4a48d949a176f7 0022-x86_64-disable-multilib-support.patch
|
28b6e2f1574611964f8e2effa57dcb6efff5d562ec5f923abfa9ddeaf4a09b0c6941d1406b02d113f950113b7239dcc8dd6b14d06ade3b2f4dbdb7f6d5560bed 0022-x86_64-disable-multilib-support.patch
|
||||||
b774c6a750077a546d1cef0b31812d5d68cf64a8abdd47a30180fb6f3a848941e7986f4a587da9a6ab034e5083068723620319e3f821f0db3ff66dc4c33faf06 0023-riscv-disable-multilib-support.patch
|
6955ea39199f258340b69c8aa7021c65fc15179323f50be08952a302b77cec1a720b99ada60bf2a07594ba536a50b682d06290497fc9d4553c8e11e2f536a606 0023-riscv-disable-multilib-support.patch
|
||||||
1b6ed17c5798d8fd80826188c35232d0f90843d6cba060ea784fdfa5b5cb2490ac4507ce9802f7f6f50ccb7fe5db34cd6860c256e9da311710c95b1d4870fc1c 0024-always-build-libgcc_eh.a.patch
|
46bfcfc122a29060d6ff1fb52b509251ba44357df67f81be1c274fdfe9b80099b1a5ad64f7d40d8412bb437e6147cb404448b8e067989018bdaf2df5cdfabaef 0024-always-build-libgcc_eh.a.patch
|
||||||
4b9f4446254720e692478fb016798b44c6ebc021816dff49fe32b6eac4f4da091c47adf46f040df603ee74f4986a832257eaad4d3c594b6d50a23e447c755586 0025-ada-libgnarl-compatibility-for-musl.patch
|
07b4028c8d8c7b8bc71c0fb4e31669fb2066aefdded556d0a65773fa93db097a55e9bfa9ac9ee10fbc82e4ba21aa84738e91c331b768cf7d067407934fc30064 0025-ada-libgnarl-compatibility-for-musl.patch
|
||||||
fbc903ca64f8a17ea8ffce4cb882dd53713dee3b24b729ab81741a8133802b9c95619596829706fcfe26350a33e8558dc9b9edf92802170041c3f4f831b2ff2c 0026-ada-musl-support-fixes.patch
|
7201a76ac033bd4f7532600d7a975f2aa9f93692cec42e28323e6e8e27f7357e0cb1497c12503829a41ed025e9c7953bf4738ad0d980687a774088fabaf08cdf 0026-ada-musl-support-fixes.patch
|
||||||
8d3f37bd75a9fea17c277b380aa943ad44989c65e6aabbf09f9c3f35acb1f048dbe361bc788b6ef2133dee3b9f646c56637811fe33171a50a2a024fe9d78e6ef 0027-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
|
f3974d1a693c0e382fa78ae94ebf768c6a1ca0ee631b478cf52a366537edae373cd0ab31369ef1ae0627d2834bcacfb94c9a4d01505c91eaac9d228a5933d0ae 0027-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
|
||||||
04a07053c82842f1ec5ec58723c0801659f8174318e32d1e966411422bfa9665f259ba9025d030e0e298608d6eeff423cbe5ed9981717d691a49de8806ead7aa 0028-configure-fix-detection-of-atomic-builtins-in-libato.patch
|
8f77c3a908ec92966fb1697fd40cc936d4dca2624f6f14b199ba154f8c46be773548a571b41a1cf537134b011e3426deb443e4a13e49fb763c91c821ca1bae63 0028-configure-fix-detection-of-atomic-builtins-in-libato.patch
|
||||||
3398fcb9273e5d76006b2c2c0215cf9ead757faa4751f7a55cf7bc687894ac38da47e76700860ea3c7f8feb18361e4ce8ce6b16a365fdfe4c61032bd53da56e7 0029-libstdc-do-not-throw-exceptions-for-non-C-locales-on.patch
|
8cd10e3d10e3da0505cb4c09c4448335e5bbd18fe6e2c47cfa1257df3d83234983d71b1fdb0b4bfc76b24d477fd6e2d771b8eefacbb61e0ca1df105b980dbd4a 0029-libstdc-do-not-throw-exceptions-for-non-C-locales-on.patch
|
||||||
ac86593db92aca836a91dd7ad3060e6c1d92b1b7c685a6fa1b51281f76b091fb07058d8d53f16f7df18eb148fde0526723c6cf6fc4c38471399dc7fde8892307 0030-gdc-unconditionally-link-libgphobos-against-libucont.patch
|
e026f1e20b78328b55b92a5fdf8f9d1d761176d2eea90556d7be8e2bae72d0dc52fd482d1eac8ab623e98653ca56d39b18fd2139ff99d420994b10c36f266ca6 0030-gdc-unconditionally-link-libgphobos-against-libucont.patch
|
||||||
e2f8901bf30494563373a24cb632a251056cb99dbb9cce789817f12016da323f702d981ce4ba9d7d52eefc33f257568509d391776fd022b012e589b43857c696 0031-druntime-link-against-libucontext-on-all-platforms.patch
|
80b41cf68a7e56bef50c05073cc79b9eafbd37535f6360deac16dfe5498ac041aaf91c3cc1bc6e323d574cd1da65aab22df32a03e39f606bff41a103063aafef 0031-druntime-link-against-libucontext-on-all-platforms.patch
|
||||||
434d3739d7e6ecc5017c29711c3a7c207e7c673d2a535607dea78a5a5d265d8efb74b7f726c18efc13e9c80c29385ce1b4e3b53c7d1c9d55bb1b8a217425f3ea 0032-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
|
b4917017c45d170c6878c7744c1ecababef4346903ee1f684d5a59d65255a5576d16d40137f7dbfe46144907c6389035966813e9024c9a4f499e963ed533947a 0032-libgnat-time_t-is-always-64-bit-on-musl-libc.patch
|
||||||
8a56a2a1d1c60894ab429ecc8fa3ddbfdd6c7e3cc9f764b4f260695a2cd54442668e9b4c7ba62d833e5dbc05548586aefc344caf9ea87cdf6de60ce3c30f9da9 0033-libphobos-do-not-use-LFS64-symbols.patch
|
1cc7a5ef067bf543f6c1fa14dedc6378750a43be1649b18605699dffdc1ebce8b88405d3f12dd57e3d821c7d457d861ee0a54138c037917d6365b0bf69526e85 0033-libphobos-do-not-use-LFS64-symbols.patch
|
||||||
|
77a1426e316b96b51edef9a35a64565d5f84b94d46a2fd7293ea406ede473b449613969f9e29cae44f8fbfbc767a27cef01b36392cf8ffb3f618c0df4e217c71 0034-libgo-fix-lfs64-use.patch
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 75e758609803afe6ced6cd7799b4159f3848a8d5 Mon Sep 17 00:00:00 2001
|
From 47b4bd4deb2c356bb07d2a96f22127aefafec3a4 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Fri, 26 Jan 2018 20:32:50 +0000
|
Date: Fri, 26 Jan 2018 20:32:50 +0000
|
||||||
Subject: [PATCH 01/33] posix_memalign
|
Subject: [PATCH 01/34] posix_memalign
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/i386/pmm_malloc.h | 9 +++++----
|
gcc/config/i386/pmm_malloc.h | 9 +++++----
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 447c2a21d1fa8c2c3b216102a808834d86f12104 Mon Sep 17 00:00:00 2001
|
From 4fa620d8c3e6730211bfb071eb4c817320491bd0 Mon Sep 17 00:00:00 2001
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
Date: Fri, 29 Mar 2013 08:59:00 +0400
|
Date: Fri, 29 Mar 2013 08:59:00 +0400
|
||||||
Subject: [PATCH 02/33] gcc: poison-system-directories
|
Subject: [PATCH 02/34] gcc: poison-system-directories
|
||||||
|
|
||||||
Add /sw/include and /opt/include based on the original
|
Add /sw/include and /opt/include based on the original
|
||||||
zecke-no-host-includes.patch patch. The original patch checked for
|
zecke-no-host-includes.patch patch. The original patch checked for
|
||||||
|
@ -120,7 +120,7 @@ index 09082e8ccae..5504bf6eb01 100644
|
||||||
AC_SUBST(subdirs)
|
AC_SUBST(subdirs)
|
||||||
AC_SUBST(srcdir)
|
AC_SUBST(srcdir)
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index b61ecfc1bc8..b290908679e 100644
|
index af0e5933fdb..b6731a4673c 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -384,6 +384,7 @@ Objective-C and Objective-C++ Dialects}.
|
@@ -384,6 +384,7 @@ Objective-C and Objective-C++ Dialects}.
|
||||||
|
@ -131,7 +131,7 @@ index b61ecfc1bc8..b290908679e 100644
|
||||||
-Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls
|
-Wno-pragmas -Wno-prio-ctor-dtor -Wredundant-decls
|
||||||
-Wrestrict -Wno-return-local-addr -Wreturn-type
|
-Wrestrict -Wno-return-local-addr -Wreturn-type
|
||||||
-Wno-scalar-storage-order -Wsequence-point
|
-Wno-scalar-storage-order -Wsequence-point
|
||||||
@@ -8424,6 +8425,14 @@ made up of data only and thus requires no special treatment. But, for
|
@@ -8426,6 +8427,14 @@ made up of data only and thus requires no special treatment. But, for
|
||||||
most targets, it is made up of code and thus requires the stack to be
|
most targets, it is made up of code and thus requires the stack to be
|
||||||
made executable in order for the program to work properly.
|
made executable in order for the program to work properly.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b5c378c4c1e71b2dd8b4616d8f61530ee1a3ac98 Mon Sep 17 00:00:00 2001
|
From ff4dd4ce33133e675b7bedc86b73357c04631cb9 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:45:49 +0000
|
Date: Fri, 21 Aug 2020 06:45:49 +0000
|
||||||
Subject: [PATCH 03/33] specs: turn on -Wl,-z,now by default
|
Subject: [PATCH 03/34] specs: turn on -Wl,-z,now by default
|
||||||
|
|
||||||
Previously, we also used to turn on -z relro here, but we now build
|
Previously, we also used to turn on -z relro here, but we now build
|
||||||
binutils with --enable-relro, which is functionally equivalent.
|
binutils with --enable-relro, which is functionally equivalent.
|
||||||
|
@ -14,10 +14,10 @@ now by default.
|
||||||
2 files changed, 4 insertions(+)
|
2 files changed, 4 insertions(+)
|
||||||
|
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index b290908679e..cb34e6d40c9 100644
|
index b6731a4673c..f393c7846c6 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -17959,6 +17959,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
|
@@ -17961,6 +17961,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
|
||||||
linker. When using the GNU linker, you can also get the same effect with
|
linker. When using the GNU linker, you can also get the same effect with
|
||||||
@option{-Wl,-Map=output.map}.
|
@option{-Wl,-Map=output.map}.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From bb3ef1f5acfde9658c922d0aef9283fe60328c33 Mon Sep 17 00:00:00 2001
|
From 1b315235433701e4a974da259b8d651169ddc7ac Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:46:22 +0000
|
Date: Fri, 21 Aug 2020 06:46:22 +0000
|
||||||
Subject: [PATCH 04/33] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
|
Subject: [PATCH 04/34] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
|
||||||
ObjC, ObjC++, if the optimization level is > 0
|
ObjC, ObjC++, if the optimization level is > 0
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -25,10 +25,10 @@ index 5d64625fcd7..868d69506e4 100644
|
||||||
if (flag_gnu89_inline)
|
if (flag_gnu89_inline)
|
||||||
cpp_define (pfile, "__GNUC_GNU_INLINE__");
|
cpp_define (pfile, "__GNUC_GNU_INLINE__");
|
||||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||||
index cb34e6d40c9..7f1aa660285 100644
|
index f393c7846c6..ef3c14a189e 100644
|
||||||
--- a/gcc/doc/invoke.texi
|
--- a/gcc/doc/invoke.texi
|
||||||
+++ b/gcc/doc/invoke.texi
|
+++ b/gcc/doc/invoke.texi
|
||||||
@@ -11866,6 +11866,12 @@ also turns on the following optimization flags:
|
@@ -11868,6 +11868,12 @@ also turns on the following optimization flags:
|
||||||
Please note the warning under @option{-fgcse} about
|
Please note the warning under @option{-fgcse} about
|
||||||
invoking @option{-O2} on programs that use computed gotos.
|
invoking @option{-O2} on programs that use computed gotos.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 0727ad9e4a458d090be6fb0cfbe334d8496cd5e0 Mon Sep 17 00:00:00 2001
|
From 67c0f5789630b27149f60ff831999ef7c1dba5d5 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:46:56 +0000
|
Date: Fri, 21 Aug 2020 06:46:56 +0000
|
||||||
Subject: [PATCH 05/33] On linux targets pass --as-needed by default to the
|
Subject: [PATCH 05/34] On linux targets pass --as-needed by default to the
|
||||||
linker, but always link the sanitizer libraries with --no-as-needed.
|
linker, but always link the sanitizer libraries with --no-as-needed.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From dc3e2f629fe7f8df81c74162c66910339ec5d03d Mon Sep 17 00:00:00 2001
|
From bb25e8489384504cd59e4a2538720863da1fb29c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:47:43 +0000
|
Date: Fri, 21 Aug 2020 06:47:43 +0000
|
||||||
Subject: [PATCH 06/33] Enable -Wformat and -Wformat-security by default.
|
Subject: [PATCH 06/34] Enable -Wformat and -Wformat-security by default.
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/c-family/c.opt | 4 ++--
|
gcc/c-family/c.opt | 4 ++--
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From d25c373cf839df0720f8d345b5ad55147030515a Mon Sep 17 00:00:00 2001
|
From 4a728ad48a7b437cc6f2697e26603bf648149f86 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:48:24 +0000
|
Date: Fri, 21 Aug 2020 06:48:24 +0000
|
||||||
Subject: [PATCH 07/33] Enable -Wtrampolines by default.
|
Subject: [PATCH 07/34] Enable -Wtrampolines by default.
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/common.opt | 2 +-
|
gcc/common.opt | 2 +-
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From eb58983c3d3126caaab8ed174571b142a095c132 Mon Sep 17 00:00:00 2001
|
From 32f24560d0602f7735d5e9efd92fe3151bd72cea Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:49:40 +0000
|
Date: Fri, 21 Aug 2020 06:49:40 +0000
|
||||||
Subject: [PATCH 08/33] Disable ssp on -nostdlib, -nodefaultlibs and
|
Subject: [PATCH 08/34] Disable ssp on -nostdlib, -nodefaultlibs and
|
||||||
-ffreestanding Change the buffer size.
|
-ffreestanding Change the buffer size.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 823afef2053ca4f79ac13f2b0f52b132282ee705 Mon Sep 17 00:00:00 2001
|
From c7ec8da7280d7f97f5543eb9ddeca7600aafc43c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:50:33 +0000
|
Date: Fri, 21 Aug 2020 06:50:33 +0000
|
||||||
Subject: [PATCH 09/33] Ensure that msgfmt doesn't encounter problems during
|
Subject: [PATCH 09/34] Ensure that msgfmt doesn't encounter problems during
|
||||||
gcc bootstrapping.
|
gcc bootstrapping.
|
||||||
|
|
||||||
Solves error messages like the following:
|
Solves error messages like the following:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 702cbba342eae468e79d9b42e366b9699c158402 Mon Sep 17 00:00:00 2001
|
From aaa029bcee68298695b7c4278c90b6bc320d098c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:52:07 +0000
|
Date: Fri, 21 Aug 2020 06:52:07 +0000
|
||||||
Subject: [PATCH 10/33] Don't declare asprintf if defined as a macro.
|
Subject: [PATCH 10/34] Don't declare asprintf if defined as a macro.
|
||||||
|
|
||||||
---
|
---
|
||||||
include/libiberty.h | 3 +++
|
include/libiberty.h | 3 +++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 18f0ecbdab63b0ee590ef21650ac72879318a8be Mon Sep 17 00:00:00 2001
|
From 65e01e749205c9af218b01233cebd0077538d0ee Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:53:00 +0000
|
Date: Fri, 21 Aug 2020 06:53:00 +0000
|
||||||
Subject: [PATCH 11/33] libiberty: copy PIC objects during build process
|
Subject: [PATCH 11/34] libiberty: copy PIC objects during build process
|
||||||
|
|
||||||
---
|
---
|
||||||
libiberty/Makefile.in | 1 +
|
libiberty/Makefile.in | 1 +
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From e350a47267790a1a624032a645425b4018433e0c Mon Sep 17 00:00:00 2001
|
From 453a815bf2844971a91eaef800af188d9e86b784 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Sat, 24 Oct 2015 20:09:53 +0000
|
Date: Sat, 24 Oct 2015 20:09:53 +0000
|
||||||
Subject: [PATCH 12/33] libgcc_s
|
Subject: [PATCH 12/34] libgcc_s
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/i386/i386-expand.cc | 4 ++--
|
gcc/config/i386/i386-expand.cc | 4 ++--
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 6ed790bb2e5bf49d186885cad8fd7efc10d8fd36 Mon Sep 17 00:00:00 2001
|
From 7d7d12137c666761a8dd61179c9651b85dae9b41 Mon Sep 17 00:00:00 2001
|
||||||
From: Szabolcs Nagy <nsz@port70.net>
|
From: Szabolcs Nagy <nsz@port70.net>
|
||||||
Date: Sat, 7 Nov 2015 02:08:05 +0000
|
Date: Sat, 7 Nov 2015 02:08:05 +0000
|
||||||
Subject: [PATCH 13/33] nopie
|
Subject: [PATCH 13/34] nopie
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/configure | 27 +++++++++++++++++++++++++++
|
gcc/configure | 27 +++++++++++++++++++++++++++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From c7398885b5c2cd91a3ad1a56fde272b719d17ff5 Mon Sep 17 00:00:00 2001
|
From dd5bb97c31a9f57034c70a7a18ba6e2e133084c7 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:59:16 +0000
|
Date: Fri, 21 Aug 2020 06:59:16 +0000
|
||||||
Subject: [PATCH 14/33] ada: fix shared linking
|
Subject: [PATCH 14/34] ada: fix shared linking
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/link.c | 12 ++++++------
|
gcc/ada/link.c | 12 ++++++------
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From c2861147eacede8c97dbb8d251f7d30ac2116481 Mon Sep 17 00:00:00 2001
|
From 6bb5b7d9161d05f31b001d8211a9c63caf63fd2f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 06:59:43 +0000
|
Date: Fri, 21 Aug 2020 06:59:43 +0000
|
||||||
Subject: [PATCH 15/33] build: fix CXXFLAGS_FOR_BUILD passing
|
Subject: [PATCH 15/34] build: fix CXXFLAGS_FOR_BUILD passing
|
||||||
|
|
||||||
---
|
---
|
||||||
Makefile.in | 1 +
|
Makefile.in | 1 +
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 736fd338aaa6d0686b15beabac687a20cfb29c27 Mon Sep 17 00:00:00 2001
|
From f0d9e00cac06689f64b214de7aee80d7116ef084 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:01:06 +0000
|
Date: Fri, 21 Aug 2020 07:01:06 +0000
|
||||||
Subject: [PATCH 16/33] add fortify-headers paths
|
Subject: [PATCH 16/34] add fortify-headers paths
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/config/linux.h | 2 ++
|
gcc/config/linux.h | 2 ++
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f71fef0a3d527ba84faaf63cee2a5ecb2322412e Mon Sep 17 00:00:00 2001
|
From 857db04f4f1a06e866551b4172fe8f27363f4a92 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
|
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
|
||||||
Date: Fri, 21 Aug 2020 07:03:00 +0000
|
Date: Fri, 21 Aug 2020 07:03:00 +0000
|
||||||
Subject: [PATCH 17/33] Alpine musl package provides libssp_nonshared.a. We
|
Subject: [PATCH 17/34] Alpine musl package provides libssp_nonshared.a. We
|
||||||
link to it unconditionally, as otherwise we get link failures if some objects
|
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.
|
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
|
This seems to be the common case when bootstrapping gcc, the piepatches do
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 06624ddc7dfd4dcfb4e41f4549ffcacfbc43b315 Mon Sep 17 00:00:00 2001
|
From 5a8347e23ab13912b6edec2c6c6e3a101b017c79 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:03:42 +0000
|
Date: Fri, 21 Aug 2020 07:03:42 +0000
|
||||||
Subject: [PATCH 18/33] DP: Use --push-state/--pop-state for gold as well when
|
Subject: [PATCH 18/34] DP: Use --push-state/--pop-state for gold as well when
|
||||||
linking libtsan.
|
linking libtsan.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From cbc762f2d4c8ae714f7a0c762d90453607a5c2e5 Mon Sep 17 00:00:00 2001
|
From 41d00a2eb0754acf71958808bd17dbebeb517b84 Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:12:55 +0000
|
Date: Thu, 6 Jan 2022 03:12:55 +0000
|
||||||
Subject: [PATCH 19/33] aarch64: disable multilib support
|
Subject: [PATCH 19/34] aarch64: disable multilib support
|
||||||
|
|
||||||
multilib is unsupported on Alpine GCC
|
multilib is unsupported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f820b730e48421ab03e5742dc06e83570690078e Mon Sep 17 00:00:00 2001
|
From 85b42bfbba71616831d14360b16998acb28790fd Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:13:59 +0000
|
Date: Thu, 6 Jan 2022 03:13:59 +0000
|
||||||
Subject: [PATCH 20/33] s390x: disable multilib support
|
Subject: [PATCH 20/34] s390x: disable multilib support
|
||||||
|
|
||||||
multilib is not supported on Alpine GCC at present
|
multilib is not supported on Alpine GCC at present
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 40c3d28f4d090fcd3486ca2a88d0c7618fdb03ed Mon Sep 17 00:00:00 2001
|
From 7b53df284242638e940c0155b6c21e88cea1f55b Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:14:33 +0000
|
Date: Thu, 6 Jan 2022 03:14:33 +0000
|
||||||
Subject: [PATCH 21/33] ppc64[le]: disable multilib support
|
Subject: [PATCH 21/34] ppc64[le]: disable multilib support
|
||||||
|
|
||||||
multilib is not presently supported on Alpine GCC
|
multilib is not presently supported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 05cf20eb11b3013c2fbb26c841485f675811058c Mon Sep 17 00:00:00 2001
|
From 96e7e1e9a899d9bb5fcbdf788bd529d0390c626f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Thu, 6 Jan 2022 03:14:54 +0000
|
Date: Thu, 6 Jan 2022 03:14:54 +0000
|
||||||
Subject: [PATCH 22/33] x86_64: disable multilib support
|
Subject: [PATCH 22/34] x86_64: disable multilib support
|
||||||
|
|
||||||
multilib is not presently supported on Alpine GCC
|
multilib is not presently supported on Alpine GCC
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 0920d23e3a345bc17675b9bebc52644c238123e2 Mon Sep 17 00:00:00 2001
|
From b26224acf342eacb33491f6ea0da1faf73d35715 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Mon, 3 Jan 2022 07:14:48 +0100
|
Date: Mon, 3 Jan 2022 07:14:48 +0100
|
||||||
Subject: [PATCH 23/33] riscv: disable multilib support
|
Subject: [PATCH 23/34] riscv: disable multilib support
|
||||||
MIME-Version: 1.0
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 5c955776d65f5a018375652904b088a37203899d Mon Sep 17 00:00:00 2001
|
From a72e0613f79f6b6867819317accb7a714031a08c Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:05:41 +0000
|
Date: Fri, 21 Aug 2020 07:05:41 +0000
|
||||||
Subject: [PATCH 24/33] always build libgcc_eh.a
|
Subject: [PATCH 24/34] always build libgcc_eh.a
|
||||||
|
|
||||||
highly inspired by:
|
highly inspired by:
|
||||||
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
|
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From ac6202d063308fbf67e4b617b768536e66a44519 Mon Sep 17 00:00:00 2001
|
From 3ee8cbc1cad261b30d4a7a66d31496d5f243ce2f Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:06:30 +0000
|
Date: Fri, 21 Aug 2020 07:06:30 +0000
|
||||||
Subject: [PATCH 25/33] ada: libgnarl compatibility for musl
|
Subject: [PATCH 25/34] ada: libgnarl compatibility for musl
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
|
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b7404c39a6a76ebe382caa2b9da16006413b21b9 Mon Sep 17 00:00:00 2001
|
From 3df4788c79c7429b196c7b284af2b4cf9a4b4f8d Mon Sep 17 00:00:00 2001
|
||||||
From: Ariadne Conill <ariadne@dereferenced.org>
|
From: Ariadne Conill <ariadne@dereferenced.org>
|
||||||
Date: Fri, 21 Aug 2020 07:07:48 +0000
|
Date: Fri, 21 Aug 2020 07:07:48 +0000
|
||||||
Subject: [PATCH 26/33] ada: musl support fixes
|
Subject: [PATCH 26/34] ada: musl support fixes
|
||||||
|
|
||||||
---
|
---
|
||||||
gcc/ada/Makefile.rtl | 10 +++++-----
|
gcc/ada/Makefile.rtl | 10 +++++-----
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From 401ac3feeea049a8035bf916f550ce6f4e859cba Mon Sep 17 00:00:00 2001
|
From 7b50823d8a4131e5a55d2499a0f5a52b3d91eed2 Mon Sep 17 00:00:00 2001
|
||||||
From: Drew DeVault <sir@cmpwn.com>
|
From: Drew DeVault <sir@cmpwn.com>
|
||||||
Date: Wed, 9 Dec 2020 07:42:06 +0000
|
Date: Wed, 9 Dec 2020 07:42:06 +0000
|
||||||
Subject: [PATCH 27/33] configure: Add --enable-autolink-libatomic, use in
|
Subject: [PATCH 27/34] configure: Add --enable-autolink-libatomic, use in
|
||||||
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
|
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
|
||||||
|
|
||||||
This fixes issues with RISC-V.
|
This fixes issues with RISC-V.
|
||||||
|
@ -166,10 +166,10 @@ index 57268319de1..56bcaa87620 100644
|
||||||
# Checks for other programs
|
# Checks for other programs
|
||||||
# -------------------------
|
# -------------------------
|
||||||
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
|
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
|
||||||
index 928fc6b6d4b..81a677014df 100644
|
index b30d3691fe6..ccc8e5dbb00 100644
|
||||||
--- a/gcc/doc/install.texi
|
--- a/gcc/doc/install.texi
|
||||||
+++ b/gcc/doc/install.texi
|
+++ b/gcc/doc/install.texi
|
||||||
@@ -2374,6 +2374,14 @@ files, but these changed header paths may conflict with some compilation
|
@@ -2377,6 +2377,14 @@ files, but these changed header paths may conflict with some compilation
|
||||||
environments. Enabled by default, and may be disabled using
|
environments. Enabled by default, and may be disabled using
|
||||||
@option{--disable-canonical-system-headers}.
|
@option{--disable-canonical-system-headers}.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From cd46156af13743fe93c48d00b0661add2c319226 Mon Sep 17 00:00:00 2001
|
From 5bbbd320e54ab5341cfba83e8af98685131caba1 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
|
||||||
Date: Sun, 29 Aug 2021 12:23:34 +0200
|
Date: Sun, 29 Aug 2021 12:23:34 +0200
|
||||||
Subject: [PATCH 28/33] configure: fix detection of atomic builtins in
|
Subject: [PATCH 28/34] configure: fix detection of atomic builtins in
|
||||||
libatomic configure script
|
libatomic configure script
|
||||||
|
|
||||||
Alpine's --enable-autolink-libatomic (which is enabled for riscv64 by
|
Alpine's --enable-autolink-libatomic (which is enabled for riscv64 by
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From f0f2cad36cd4796426ce1c25a6cec7c70a56741e Mon Sep 17 00:00:00 2001
|
From 430c701a3cefbe09a9c7c8a2f5bbe957f9b2ecb2 Mon Sep 17 00:00:00 2001
|
||||||
From: Samuel Holland <samuel@sholland.org>
|
From: Samuel Holland <samuel@sholland.org>
|
||||||
Date: Thu, 30 Jun 2022 16:44:51 +0000
|
Date: Thu, 30 Jun 2022 16:44:51 +0000
|
||||||
Subject: [PATCH 29/33] libstdc++: do not throw exceptions for non-C locales on
|
Subject: [PATCH 29/34] libstdc++: do not throw exceptions for non-C locales on
|
||||||
musl targets
|
musl targets
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
From b474c9688ebda225ced95ecea0219312110d9c9e Mon Sep 17 00:00:00 2001
|
From 05f0043755f341a2ff4f845379327076b3e0203d Mon Sep 17 00:00:00 2001
|
||||||
From: Mathias LANG <pro.mathias.lang@gmail.com>
|
From: Mathias LANG <pro.mathias.lang@gmail.com>
|
||||||
Date: Mon, 17 Jan 2022 03:49:21 +0000
|
Date: Mon, 17 Jan 2022 03:49:21 +0000
|
||||||
Subject: [PATCH 30/33] gdc: unconditionally link libgphobos against
|
Subject: [PATCH 30/34] gdc: unconditionally link libgphobos against
|
||||||
libucontext
|
libucontext
|
||||||
|
|
||||||
ref: alpine/aports#13422
|
ref: alpine/aports#13422
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue