1 |
commit: f696831884a2c0ed929bc70a336f53369ec0ccac |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 18 21:03:44 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 18 21:03:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f6968318 |
7 |
|
8 |
7.3.0: pull in all -Werror patches from 8.2.0 |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
7.3.0/gentoo/102_all_libgfortran-Werror.patch | 20 ++++++++++++++++++++ |
13 |
7.3.0/gentoo/103_all_libgomp-Werror.patch | 20 ++++++++++++++++++++ |
14 |
7.3.0/gentoo/104_all_libitm-Werror.patch | 19 +++++++++++++++++++ |
15 |
7.3.0/gentoo/105_all_libatomic-Werror.patch | 19 +++++++++++++++++++ |
16 |
7.3.0/gentoo/106_all_libbacktrace-Werror.patch | 17 +++++++++++++++++ |
17 |
.../107_all_libsanitizer-libbacktrace-Werror.patch | 17 +++++++++++++++++ |
18 |
7.3.0/gentoo/README.history | 6 ++++++ |
19 |
7 files changed, 118 insertions(+) |
20 |
|
21 |
diff --git a/7.3.0/gentoo/102_all_libgfortran-Werror.patch b/7.3.0/gentoo/102_all_libgfortran-Werror.patch |
22 |
new file mode 100644 |
23 |
index 0000000..f6c26bf |
24 |
--- /dev/null |
25 |
+++ b/7.3.0/gentoo/102_all_libgfortran-Werror.patch |
26 |
@@ -0,0 +1,20 @@ |
27 |
+libgfortran does not respect --disable-werror |
28 |
+ |
29 |
+https://bugs.gentoo.org/433435 |
30 |
+http://gcc.gnu.org/PR54724 |
31 |
+ |
32 |
+ |
33 |
+--- a/libgfortran/configure.ac |
34 |
++++ b/libgfortran/configure.ac |
35 |
+@@ -140,3 +140,3 @@ AM_PROG_CC_C_O |
36 |
+ if test "x$GCC" = "xyes"; then |
37 |
+- AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring" |
38 |
++ AM_FCFLAGS="-I . -Wall -fimplicit-none -fno-repack-arrays -fno-underscoring" |
39 |
+ ## We like to use C11 and C99 routines when available. This makes |
40 |
+--- a/libgfortran/configure |
41 |
++++ b/libgfortran/configure |
42 |
+@@ -5764,3 +5764,3 @@ fi |
43 |
+ # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC. |
44 |
+ if test "x$GCC" = "xyes"; then |
45 |
+- AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring" |
46 |
++ AM_FCFLAGS="-I . -Wall -fimplicit-none -fno-repack-arrays -fno-underscoring" |
47 |
|
48 |
diff --git a/7.3.0/gentoo/103_all_libgomp-Werror.patch b/7.3.0/gentoo/103_all_libgomp-Werror.patch |
49 |
new file mode 100644 |
50 |
index 0000000..416808a |
51 |
--- /dev/null |
52 |
+++ b/7.3.0/gentoo/103_all_libgomp-Werror.patch |
53 |
@@ -0,0 +1,20 @@ |
54 |
+libgomp does not respect --disable-werror |
55 |
+ |
56 |
+https://bugs.gentoo.org/229059 |
57 |
+http://gcc.gnu.org/PR38436 |
58 |
+--- a/libgomp/configure.ac |
59 |
++++ b/libgomp/configure.ac |
60 |
+@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" |
61 |
+ # Add -Wall -Werror if we are using GCC. |
62 |
+ if test "x$GCC" = "xyes"; then |
63 |
+- XCFLAGS="$XCFLAGS -Wall -Werror" |
64 |
++ XCFLAGS="$XCFLAGS -Wall" |
65 |
+ fi |
66 |
+--- a/libgomp/configure |
67 |
++++ b/libgomp/configure |
68 |
+@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" |
69 |
+ # Add -Wall -Werror if we are using GCC. |
70 |
+ if test "x$GCC" = "xyes"; then |
71 |
+- XCFLAGS="$XCFLAGS -Wall -Werror" |
72 |
++ XCFLAGS="$XCFLAGS -Wall" |
73 |
+ fi |
74 |
|
75 |
diff --git a/7.3.0/gentoo/104_all_libitm-Werror.patch b/7.3.0/gentoo/104_all_libitm-Werror.patch |
76 |
new file mode 100644 |
77 |
index 0000000..27181e0 |
78 |
--- /dev/null |
79 |
+++ b/7.3.0/gentoo/104_all_libitm-Werror.patch |
80 |
@@ -0,0 +1,19 @@ |
81 |
+libitm does not respect --disable-werror |
82 |
+ |
83 |
+https://bugs.gentoo.org/475350 |
84 |
+--- a/libitm/configure.ac |
85 |
++++ b/libitm/configure.ac |
86 |
+@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" |
87 |
+ # Add -Wall -Werror if we are using GCC. |
88 |
+ if test "x$GCC" = "xyes"; then |
89 |
+- XCFLAGS="$XCFLAGS -Wall -Werror" |
90 |
++ XCFLAGS="$XCFLAGS -Wall" |
91 |
+ fi |
92 |
+--- a/libitm/configure |
93 |
++++ b/libitm/configure |
94 |
+@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" |
95 |
+ # Add -Wall -Werror if we are using GCC. |
96 |
+ if test "x$GCC" = "xyes"; then |
97 |
+- XCFLAGS="$XCFLAGS -Wall -Werror" |
98 |
++ XCFLAGS="$XCFLAGS -Wall" |
99 |
+ fi |
100 |
|
101 |
diff --git a/7.3.0/gentoo/105_all_libatomic-Werror.patch b/7.3.0/gentoo/105_all_libatomic-Werror.patch |
102 |
new file mode 100644 |
103 |
index 0000000..0550722 |
104 |
--- /dev/null |
105 |
+++ b/7.3.0/gentoo/105_all_libatomic-Werror.patch |
106 |
@@ -0,0 +1,19 @@ |
107 |
+libatomic does not respect --disable-werror |
108 |
+ |
109 |
+https://bugs.gentoo.org/475350 |
110 |
+--- a/libatomic/configure.ac |
111 |
++++ b/libatomic/configure.ac |
112 |
+@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" |
113 |
+ # Add -Wall -Werror if we are using GCC. |
114 |
+ if test "x$GCC" = "xyes"; then |
115 |
+- XCFLAGS="$XCFLAGS -Wall -Werror" |
116 |
++ XCFLAGS="$XCFLAGS -Wall" |
117 |
+ fi |
118 |
+--- a/libatomic/configure |
119 |
++++ b/libatomic/configure |
120 |
+@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS" |
121 |
+ # Add -Wall -Werror if we are using GCC. |
122 |
+ if test "x$GCC" = "xyes"; then |
123 |
+- XCFLAGS="$XCFLAGS -Wall -Werror" |
124 |
++ XCFLAGS="$XCFLAGS -Wall" |
125 |
+ fi |
126 |
|
127 |
diff --git a/7.3.0/gentoo/106_all_libbacktrace-Werror.patch b/7.3.0/gentoo/106_all_libbacktrace-Werror.patch |
128 |
new file mode 100644 |
129 |
index 0000000..57dd284 |
130 |
--- /dev/null |
131 |
+++ b/7.3.0/gentoo/106_all_libbacktrace-Werror.patch |
132 |
@@ -0,0 +1,17 @@ |
133 |
+libbacktrace does not respect --disable-werror |
134 |
+ |
135 |
+https://bugs.gentoo.org/667104 |
136 |
+--- a/libbacktrace/configure |
137 |
++++ b/libbacktrace/configure |
138 |
+@@ -11634,3 +11634,3 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
139 |
+ if test -n "${with_target_subdir}"; then |
140 |
+- WARN_FLAGS="$WARN_FLAGS -Werror" |
141 |
++ WARN_FLAGS="$WARN_FLAGS" |
142 |
+ fi |
143 |
+--- a/libbacktrace/configure.ac |
144 |
++++ b/libbacktrace/configure.ac |
145 |
+@@ -138,3 +138,3 @@ ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \ |
146 |
+ if test -n "${with_target_subdir}"; then |
147 |
+- WARN_FLAGS="$WARN_FLAGS -Werror" |
148 |
++ WARN_FLAGS="$WARN_FLAGS" |
149 |
+ fi |
150 |
|
151 |
diff --git a/7.3.0/gentoo/107_all_libsanitizer-libbacktrace-Werror.patch b/7.3.0/gentoo/107_all_libsanitizer-libbacktrace-Werror.patch |
152 |
new file mode 100644 |
153 |
index 0000000..46a219a |
154 |
--- /dev/null |
155 |
+++ b/7.3.0/gentoo/107_all_libsanitizer-libbacktrace-Werror.patch |
156 |
@@ -0,0 +1,17 @@ |
157 |
+libsanitizer/libbacktrace does not respect --disable-werror |
158 |
+ |
159 |
+https://bugs.gentoo.org/667104 |
160 |
+--- a/libsanitizer/libbacktrace/Makefile.am |
161 |
++++ b/libsanitizer/libbacktrace/Makefile.am |
162 |
+@@ -37,3 +37,3 @@ AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \ |
163 |
+ WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \ |
164 |
+- -Wcast-qual -Werror |
165 |
++ -Wcast-qual |
166 |
+ C_WARN_FLAGS = $(WARN_FLAGS) -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition |
167 |
+--- a/libsanitizer/libbacktrace/Makefile.in |
168 |
++++ b/libsanitizer/libbacktrace/Makefile.in |
169 |
+@@ -293,3 +293,3 @@ AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \ |
170 |
+ WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \ |
171 |
+- -Wcast-qual -Werror |
172 |
++ -Wcast-qual |
173 |
+ |
174 |
|
175 |
diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history |
176 |
index 97821a1..1a482bc 100644 |
177 |
--- a/7.3.0/gentoo/README.history |
178 |
+++ b/7.3.0/gentoo/README.history |
179 |
@@ -1,5 +1,11 @@ |
180 |
1.8 TODO |
181 |
+ 101_all_remove-lieee.patch |
182 |
+ + 102_all_libgfortran-Werror.patch |
183 |
+ + 103_all_libgomp-Werror.patch |
184 |
+ + 104_all_libitm-Werror.patch |
185 |
+ + 105_all_libatomic-Werror.patch |
186 |
+ + 106_all_libbacktrace-Werror.patch |
187 |
+ + 107_all_libsanitizer-libbacktrace-Werror.patch |
188 |
|
189 |
1.7 23 Sep 2018 |
190 |
+ 98_all_msp430-partial-int.patch |