commit: 47a9739ebedfacef2c4b9b154e6a4017a9e6ff77 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Mon Oct 1 06:40:50 2018 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Mon Oct 1 06:40:50 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=47a9739e
8.2.0: drop -Werror on 110_all_libsanitizer Reported-by: Jeroen Roovers Bug: https://bugs.gentoo.org/667104 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> 8.2.0/gentoo/110_all_libsanitizer-Werror.patch | 17 +++++++++++++++++ 8.2.0/gentoo/README.history | 1 + 2 files changed, 18 insertions(+) diff --git a/8.2.0/gentoo/110_all_libsanitizer-Werror.patch b/8.2.0/gentoo/110_all_libsanitizer-Werror.patch new file mode 100644 index 0000000..0e484a4 --- /dev/null +++ b/8.2.0/gentoo/110_all_libsanitizer-Werror.patch @@ -0,0 +1,17 @@ +libsanitizer does not respect --disable-werror + +https://bugs.gentoo.org/667104 +--- a/libsanitizer/libbacktrace/Makefile.am ++++ b/libsanitizer/libbacktrace/Makefile.am +@@ -37,3 +37,3 @@ AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \ + WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \ +- -Wcast-qual -Werror ++ -Wcast-qual + C_WARN_FLAGS = $(WARN_FLAGS) -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition +--- a/libsanitizer/libbacktrace/Makefile.in ++++ b/libsanitizer/libbacktrace/Makefile.in +@@ -297,3 +297,3 @@ AM_CPPFLAGS = -I $(top_srcdir)/../include -I $(top_srcdir)/../libgcc \ + WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \ +- -Wcast-qual -Werror ++ -Wcast-qual + diff --git a/8.2.0/gentoo/README.history b/8.2.0/gentoo/README.history index 7257433..dece58a 100644 --- a/8.2.0/gentoo/README.history +++ b/8.2.0/gentoo/README.history @@ -4,6 +4,7 @@ + 107_all_libitm-Werror.patch + 108_all_libatomic-Werror.patch + 109_all_libbacktrace-Werror.patch + + 110_all_libsanitizer-Werror.patch 1.3 23 Sep 2018 + 101_all_x32-fix-eh-return-address.patch
