aboutsummaryrefslogtreecommitdiff
path: root/packages/gcc
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-05-22 18:06:03 +1200
committerChris Packham <judge.packham@gmail.com>2022-05-23 20:51:45 +1200
commit23580a86aaabe601539cb1470bdfbca5513a1ac4 (patch)
tree3991cea57428e536d48a23c6089f1af88b627018 /packages/gcc
parentdb6f703f52e33a5791c5c2728fa1e3a330a08e98 (diff)
downloadcrosstool-ng-23580a86aaabe601539cb1470bdfbca5513a1ac4.tar.gz
crosstool-ng-23580a86aaabe601539cb1470bdfbca5513a1ac4.tar.bz2
crosstool-ng-23580a86aaabe601539cb1470bdfbca5513a1ac4.zip
gcc: drop libsanitizer patch for GCC12
For some reason GCC 12 ends up hitting the _MIPS_SIM_NABI32 case for Linux's arch/mips/include/uapi/asm/stat.h when building libsanitizer. This is basically the opposite of the problem from commit 1b6ad7cd ("gcc: Bring in fix for libsanitizer on mips64"). Dropping the patch resolves the issue for GCC 12. Fixes #1741 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc')
-rw-r--r--packages/gcc/12.1.0/0005-libsanitizer-mips64-Set-struct_kernel_stat_sz-to-mat.patch26
-rw-r--r--packages/gcc/12.1.0/0005-sh-Avoid-mb-m1-multilib-combination.patch (renamed from packages/gcc/12.1.0/0006-sh-Avoid-mb-m1-multilib-combination.patch)0
2 files changed, 0 insertions, 26 deletions
diff --git a/packages/gcc/12.1.0/0005-libsanitizer-mips64-Set-struct_kernel_stat_sz-to-mat.patch b/packages/gcc/12.1.0/0005-libsanitizer-mips64-Set-struct_kernel_stat_sz-to-mat.patch
deleted file mode 100644
index cccc6569..00000000
--- a/packages/gcc/12.1.0/0005-libsanitizer-mips64-Set-struct_kernel_stat_sz-to-mat.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From ac6e15a2776e8fffdbd108213e8690c9f30a7380 Mon Sep 17 00:00:00 2001
-From: Chris Packham <chris.packham@alliedtelesis.co.nz>
-Date: Mon, 16 May 2022 20:55:36 +1200
-Subject: [PATCH] libsanitizer: mips64: Set struct_kernel_stat_sz to match the
- kernel
-
-The kernel's struct stat is 104 bytes when compiling for
-_MIPS_SIM_ABI64. Set struct_kernel_stat_sz to match.
-
-Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
-Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105614
----
- libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
-+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
-@@ -83,7 +83,7 @@
- #elif defined(__mips__)
- const unsigned struct_kernel_stat_sz = SANITIZER_ANDROID
- ? FIRST_32_SECOND_64(104, 128)
-- : FIRST_32_SECOND_64(144, 216);
-+ : FIRST_32_SECOND_64(144, 104);
- const unsigned struct_kernel_stat64_sz = 104;
- #elif defined(__s390__) && !defined(__s390x__)
- const unsigned struct_kernel_stat_sz = 64;
diff --git a/packages/gcc/12.1.0/0006-sh-Avoid-mb-m1-multilib-combination.patch b/packages/gcc/12.1.0/0005-sh-Avoid-mb-m1-multilib-combination.patch
index 981f20db..981f20db 100644
--- a/packages/gcc/12.1.0/0006-sh-Avoid-mb-m1-multilib-combination.patch
+++ b/packages/gcc/12.1.0/0005-sh-Avoid-mb-m1-multilib-combination.patch