1 |
commit: 47a9739ebedfacef2c4b9b154e6a4017a9e6ff77 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 1 06:40:50 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 1 06:40:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=47a9739e |
7 |
|
8 |
8.2.0: drop -Werror on 110_all_libsanitizer |
9 |
|
10 |
Reported-by: Jeroen Roovers |
11 |
Bug: https://bugs.gentoo.org/667104 |
12 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
13 |
|
14 |
8.2.0/gentoo/110_all_libsanitizer-Werror.patch | 17 +++++++++++++++++ |
15 |
8.2.0/gentoo/README.history | 1 + |
16 |
2 files changed, 18 insertions(+) |
17 |
|
18 |
diff --git a/8.2.0/gentoo/110_all_libsanitizer-Werror.patch b/8.2.0/gentoo/110_all_libsanitizer-Werror.patch |
19 |
new file mode 100644 |
20 |
index 0000000..0e484a4 |
21 |
--- /dev/null |
22 |
+++ b/8.2.0/gentoo/110_all_libsanitizer-Werror.patch |
23 |
@@ -0,0 +1,17 @@ |
24 |
+libsanitizer does not respect --disable-werror |
25 |
+ |
26 |
+https://bugs.gentoo.org/667104 |
27 |
+--- a/libsanitizer/libbacktrace/Makefile.am |
28 |
++++ b/libsanitizer/libbacktrace/Makefile.am |
29 |
+@@ -37,3 +37,3 @@ AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \ |
30 |
+ WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \ |
31 |
+- -Wcast-qual -Werror |
32 |
++ -Wcast-qual |
33 |
+ C_WARN_FLAGS = $(WARN_FLAGS) -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition |
34 |
+--- a/libsanitizer/libbacktrace/Makefile.in |
35 |
++++ b/libsanitizer/libbacktrace/Makefile.in |
36 |
+@@ -297,3 +297,3 @@ AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \ |
37 |
+ WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \ |
38 |
+- -Wcast-qual -Werror |
39 |
++ -Wcast-qual |
40 |
+ |
41 |
|
42 |
diff --git a/8.2.0/gentoo/README.history b/8.2.0/gentoo/README.history |
43 |
index 7257433..dece58a 100644 |
44 |
--- a/8.2.0/gentoo/README.history |
45 |
+++ b/8.2.0/gentoo/README.history |
46 |
@@ -4,6 +4,7 @@ |
47 |
+ 107_all_libitm-Werror.patch |
48 |
+ 108_all_libatomic-Werror.patch |
49 |
+ 109_all_libbacktrace-Werror.patch |
50 |
+ + 110_all_libsanitizer-Werror.patch |
51 |
|
52 |
1.3 23 Sep 2018 |
53 |
+ 101_all_x32-fix-eh-return-address.patch |