summarylogtreecommitdiffstats
path: root/0000-gcc-4.8.ucontext.patch
diff options
context:
space:
mode:
authorChris Severance2017-09-13 10:45:58 -0400
committerChris Severance2017-09-13 10:45:58 -0400
commite44c369edbcdd3320ae6e9cd1cf63c98d4fdd21d (patch)
tree9a44ebc4e019b882c31a06448d03e935fc62914b /0000-gcc-4.8.ucontext.patch
parent25ef28c7c965a42bb721da61a684fd179d09f8fb (diff)
downloadaur-e44c369edbcdd3320ae6e9cd1cf63c98d4fdd21d.tar.gz
Update to glibc 2.26
Diffstat (limited to '0000-gcc-4.8.ucontext.patch')
-rw-r--r--0000-gcc-4.8.ucontext.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/0000-gcc-4.8.ucontext.patch b/0000-gcc-4.8.ucontext.patch
new file mode 100644
index 000000000000..9dee742d6e3b
--- /dev/null
+++ b/0000-gcc-4.8.ucontext.patch
@@ -0,0 +1,37 @@
+--- libsanitizer/tsan/tsan_interceptors.cc.orig 2013-02-13 05:46:01.000000000 -0500
++++ libsanitizer/tsan/tsan_interceptors.cc 2017-09-13 02:02:06.696946391 -0400
+@@ -19,26 +19,27 @@
+ #include "tsan_interface.h"
+ #include "tsan_platform.h"
+ #include "tsan_rtl.h"
+ #include "tsan_mman.h"
+ #include "tsan_fd.h"
++#include <sys/ucontext.h>
+
+ using namespace __tsan; // NOLINT
+
+ const int kSigCount = 128;
+
+ struct my_siginfo_t {
+ int opaque[128];
+ };
+
+-struct sigset_t {
+- u64 val[1024 / 8 / sizeof(u64)];
+-};
+-
+-struct ucontext_t {
+- uptr opaque[117];
+-};
++//struct sigset_t {
++// u64 val[1024 / 8 / sizeof(u64)];
++//};
++
++//struct ucontext_t {
++// uptr opaque[117];
++//};
+
+ extern "C" int pthread_attr_init(void *attr);
+ extern "C" int pthread_attr_destroy(void *attr);
+ extern "C" int pthread_attr_getdetachstate(void *attr, int *v);
+ extern "C" int pthread_attr_setstacksize(void *attr, uptr stacksize);