diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-05-31 22:54:18 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-05-31 22:54:18 +0100 |
commit | 8b3934067086c1c581d2a27f8f0a5cc75dff1066 (patch) | |
tree | ada2558229bbe534cc0c272c8e0cd0af8d38f9e0 | |
parent | 4.5.4: queue 103_all_gcc-gperf-gnu-inline.patch (diff) | |
download | gcc-patches-8b3934067086c1c581d2a27f8f0a5cc75dff1066.tar.gz gcc-patches-8b3934067086c1c581d2a27f8f0a5cc75dff1066.tar.bz2 gcc-patches-8b3934067086c1c581d2a27f8f0a5cc75dff1066.zip |
4.8.5: backport 98_all_asan-signal_h.patch
It's not enough yet to build libsanitizer against
glibc-2.28/.29 but it's a start.
Reported-by: Guilherme Amadio
Bug: https://bugs.gentoo.org/671568
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r-- | 4.8.5/gentoo/98_all_asan-signal_h.patch | 15 | ||||
-rw-r--r-- | 4.8.5/gentoo/README.history | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/4.8.5/gentoo/98_all_asan-signal_h.patch b/4.8.5/gentoo/98_all_asan-signal_h.patch new file mode 100644 index 0000000..8711d53 --- /dev/null +++ b/4.8.5/gentoo/98_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/4.8.5/gentoo/README.history b/4.8.5/gentoo/README.history index 41965ea..65f15cc 100644 --- a/4.8.5/gentoo/README.history +++ b/4.8.5/gentoo/README.history @@ -1,6 +1,8 @@ 1.5 TODO + 96_all_stage1-ldflags.patch + 97_all_libjava-ucontext.patch + + 98_all_asan-signal_h.patch + 1.4 23 Sep 2018 U 09_all_default-ssp.patch + 34_all_libjava-classpath-locale-sort.patch |