summaryrefslogtreecommitdiffstats
path: root/patches/sys-libs
diff options
context:
space:
mode:
Diffstat (limited to 'patches/sys-libs')
-rw-r--r--patches/sys-libs/compiler-rt-sanitizers/fix-compile-with-glibc-2.31.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/sys-libs/compiler-rt-sanitizers/fix-compile-with-glibc-2.31.patch b/patches/sys-libs/compiler-rt-sanitizers/fix-compile-with-glibc-2.31.patch
new file mode 100644
index 0000000..358f020
--- /dev/null
+++ b/patches/sys-libs/compiler-rt-sanitizers/fix-compile-with-glibc-2.31.patch
@@ -0,0 +1,11 @@
+--- compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc.orig 2020-03-11 20:35:37.099808821 +0100
++++ compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc 2020-03-11 20:36:08.279808758 +0100
+@@ -1128,7 +1128,7 @@
+ CHECK_SIZE_AND_OFFSET(ipc_perm, cgid);
+ #if !defined(__aarch64__) || !SANITIZER_LINUX || __GLIBC_PREREQ (2, 21)
+ /* On aarch64 glibc 2.20 and earlier provided incorrect mode field. */
+-CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
++//CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
+ #endif
+
+ CHECK_TYPE_SIZE(shmid_ds);