summaryrefslogtreecommitdiffstats
path: root/patches/sys-libs/compiler-rt-sanitizers/fix-compile-with-glibc-2.31.patch
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2020-05-05 15:42:49 -0500
committerKyle K <kylek389@gmail.com>2020-05-05 15:42:49 -0500
commitad7023b421f7f0422a2dd9396f5c71c2db3101f2 (patch)
tree6b679857788e11112b0fe4eeea071ec2eeb08731 /patches/sys-libs/compiler-rt-sanitizers/fix-compile-with-glibc-2.31.patch
parent04aa4a341c4512d48dec2d17252a6e49ef932d56 (diff)
downloadgentoox-ad7023b421f7f0422a2dd9396f5c71c2db3101f2.tar.gz
gentoox-ad7023b421f7f0422a2dd9396f5c71c2db3101f2.tar.bz2
gentoox-ad7023b421f7f0422a2dd9396f5c71c2db3101f2.zip
drop AVX cpu flag, make python3_7 default, drop gst patches they are not needed anymore, add compiler-rt-sanitizers-9.0.1 build fix: gentoo bug #708430
Diffstat (limited to 'patches/sys-libs/compiler-rt-sanitizers/fix-compile-with-glibc-2.31.patch')
-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);