1 |
commit: 8b3934067086c1c581d2a27f8f0a5cc75dff1066 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 31 21:54:18 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 31 21:54:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=8b393406 |
7 |
|
8 |
4.8.5: backport 98_all_asan-signal_h.patch |
9 |
|
10 |
It's not enough yet to build libsanitizer against |
11 |
glibc-2.28/.29 but it's a start. |
12 |
|
13 |
Reported-by: Guilherme Amadio |
14 |
Bug: https://bugs.gentoo.org/671568 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
4.8.5/gentoo/98_all_asan-signal_h.patch | 15 +++++++++++++++ |
18 |
4.8.5/gentoo/README.history | 2 ++ |
19 |
2 files changed, 17 insertions(+) |
20 |
|
21 |
diff --git a/4.8.5/gentoo/98_all_asan-signal_h.patch b/4.8.5/gentoo/98_all_asan-signal_h.patch |
22 |
new file mode 100644 |
23 |
index 0000000..8711d53 |
24 |
--- /dev/null |
25 |
+++ b/4.8.5/gentoo/98_all_asan-signal_h.patch |
26 |
@@ -0,0 +1,15 @@ |
27 |
+Fix error: ‘SIGSEGV’ was not declared in this scope |
28 |
+ |
29 |
+https://bugs.gentoo.org/629502#c9 |
30 |
+https://patchwork.ozlabs.org/patch/725596/ |
31 |
+ |
32 |
+--- a/libsanitizer/asan/asan_linux.cc |
33 |
++++ b/libsanitizer/asan/asan_linux.cc |
34 |
+@@ -29,6 +29,7 @@ |
35 |
+ #include <dlfcn.h> |
36 |
+ #include <fcntl.h> |
37 |
+ #include <pthread.h> |
38 |
++#include <signal.h> |
39 |
+ #include <stdio.h> |
40 |
+ #include <unistd.h> |
41 |
+ #include <unwind.h> |
42 |
|
43 |
diff --git a/4.8.5/gentoo/README.history b/4.8.5/gentoo/README.history |
44 |
index 41965ea..65f15cc 100644 |
45 |
--- a/4.8.5/gentoo/README.history |
46 |
+++ b/4.8.5/gentoo/README.history |
47 |
@@ -1,6 +1,8 @@ |
48 |
1.5 TODO |
49 |
+ 96_all_stage1-ldflags.patch |
50 |
+ 97_all_libjava-ucontext.patch |
51 |
+ + 98_all_asan-signal_h.patch |
52 |
+ |
53 |
1.4 23 Sep 2018 |
54 |
U 09_all_default-ssp.patch |
55 |
+ 34_all_libjava-classpath-locale-sort.patch |