This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/86450] Bootstrap failure due to -Wabi
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jul 2018 21:47:09 +0000
- Subject: [Bug libstdc++/86450] Bootstrap failure due to -Wabi
- Auto-submitted: auto-generated
- References: <bug-86450-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86450
--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Because we haven't decided what the fix is.
Something like this seems better than dealing with each warning one by one
every time this happens:
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -144,7 +144,8 @@ AC_DEFUN([GLIBCXX_CHECK_COMPILER_FEATURES], [
if test x"$USE_MAINTAINER_MODE" = xno; then
WERROR=''
else
- WERROR='-Werror'
+ # -Werror breaks the build too often, don't enable it.
+ WERROR=''
fi
# Check for -ffunction-sections -fdata-sections