commit: 8b3934067086c1c581d2a27f8f0a5cc75dff1066 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Fri May 31 21:54:18 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Fri May 31 21:54:18 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=8b393406
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 <AT> gentoo.org> 4.8.5/gentoo/98_all_asan-signal_h.patch | 15 +++++++++++++++ 4.8.5/gentoo/README.history | 2 ++ 2 files changed, 17 insertions(+) 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
