Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/5.4.0/gentoo: 92_all_asan-signal_h.patch README.history
Date: Tue, 24 Oct 2017 07:23:52
Message-Id: 20171024072347.F0F56824@oystercatcher.gentoo.org
1 slyfox 17/10/24 07:23:47
2
3 Modified: README.history
4 Added: 92_all_asan-signal_h.patch
5 Log:
6 gcc/5.4.0: add missing <signal.h> inclusion to asan
7
8 Without this patch glibc-2.25-r8 (ppc and ppc64) gcc build fails as:
9 .../portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/libsanitizer/asan/asan_linux.cc: In function 'bool __asan::AsanInterceptsSignal(int)':
10 .../portage/sys-devel/gcc-5.4.0-r3/work/gcc-5.4.0/libsanitizer/asan/asan_linux.cc:222:20: error: 'SIGSEGV' was not declared in this scope
11 return signum == SIGSEGV && common_flags()->handle_segv;
12 ^
13
14 Reported-by: Andreas K. Hüttel
15 Bug: https://bugs.gentoo.org/629502#c9
16
17 Revision Changes Path
18 1.6 src/patchsets/gcc/5.4.0/gentoo/README.history
19
20 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.4.0/gentoo/README.history?rev=1.6&view=markup
21 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.4.0/gentoo/README.history?rev=1.6&content-type=text/plain
22 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.4.0/gentoo/README.history?r1=1.5&r2=1.6
23
24 Index: README.history
25 ===================================================================
26 RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/5.4.0/gentoo/README.history,v
27 retrieving revision 1.5
28 retrieving revision 1.6
29 diff -u -r1.5 -r1.6
30 --- README.history 6 Aug 2017 14:51:39 -0000 1.5
31 +++ README.history 24 Oct 2017 07:23:47 -0000 1.6
32 @@ -1,6 +1,7 @@
33 +1.5 24 Oct 2017
34 + + 92_all_asan-signal_h.patch
35 1.4 06 Aug 2017
36 + 91_all_compatibility_fix_with_perl_5.26.patch
37 -
38 1.3 01 Feb 2017
39 + 71_all_gcc-5-march-native-pr67310.patch
40 + 78_all_gcc-5-pr71442
41
42
43
44 1.1 src/patchsets/gcc/5.4.0/gentoo/92_all_asan-signal_h.patch
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.4.0/gentoo/92_all_asan-signal_h.patch?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.4.0/gentoo/92_all_asan-signal_h.patch?rev=1.1&content-type=text/plain
48
49 Index: 92_all_asan-signal_h.patch
50 ===================================================================
51 Fix error: ‘SIGSEGV’ was not declared in this scope
52
53 https://bugs.gentoo.org/629502#c9
54 https://patchwork.ozlabs.org/patch/725596/
55
56 --- a/libsanitizer/asan/asan_linux.cc
57 +++ b/libsanitizer/asan/asan_linux.cc
58 @@ -29,6 +29,7 @@
59 #include <dlfcn.h>
60 #include <fcntl.h>
61 #include <pthread.h>
62 +#include <signal.h>
63 #include <stdio.h>
64 #include <unistd.h>
65 #include <unwind.h>