summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/patchsets/gcc/5.4.0/gentoo/92_all_asan-signal_h.patch15
-rw-r--r--src/patchsets/gcc/5.4.0/gentoo/README.history3
2 files changed, 17 insertions, 1 deletions
diff --git a/src/patchsets/gcc/5.4.0/gentoo/92_all_asan-signal_h.patch b/src/patchsets/gcc/5.4.0/gentoo/92_all_asan-signal_h.patch
new file mode 100644
index 0000000000..8711d53dcb
--- /dev/null
+++ b/src/patchsets/gcc/5.4.0/gentoo/92_all_asan-signal_h.patch
@@ -0,0 +1,15 @@
+Fix error: ‘SIGSEGV’ was not declared in this scope
+
+https://bugs.gentoo.org/629502#c9
+https://patchwork.ozlabs.org/patch/725596/
+
+--- a/libsanitizer/asan/asan_linux.cc
++++ b/libsanitizer/asan/asan_linux.cc
+@@ -29,6 +29,7 @@
+ #include <dlfcn.h>
+ #include <fcntl.h>
+ #include <pthread.h>
++#include <signal.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <unwind.h>
diff --git a/src/patchsets/gcc/5.4.0/gentoo/README.history b/src/patchsets/gcc/5.4.0/gentoo/README.history
index e7981dcb88..21bbb7a031 100644
--- a/src/patchsets/gcc/5.4.0/gentoo/README.history
+++ b/src/patchsets/gcc/5.4.0/gentoo/README.history
@@ -1,6 +1,7 @@
+1.5 24 Oct 2017
+ + 92_all_asan-signal_h.patch
1.4 06 Aug 2017
+ 91_all_compatibility_fix_with_perl_5.26.patch
-
1.3 01 Feb 2017
+ 71_all_gcc-5-march-native-pr67310.patch
+ 78_all_gcc-5-pr71442