From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 98B58138334 for ; Sat, 27 Oct 2018 19:12:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5AD5E09CD; Sat, 27 Oct 2018 19:12:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DFF9E09CD for ; Sat, 27 Oct 2018 19:12:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4072E335C7B for ; Sat, 27 Oct 2018 19:12:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 961F243D for ; Sat, 27 Oct 2018 19:12:02 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1540667449.969a97bb015e65c8a867f695e2fe753bd228dee0.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 5.4.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch 5.4.0/gentoo/README.history X-VCS-Directories: 5.4.0/gentoo/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 969a97bb015e65c8a867f695e2fe753bd228dee0 X-VCS-Branch: master Date: Sat, 27 Oct 2018 19:12:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 523d0be9-50f8-437d-a8d6-0057a0a5ecb2 X-Archives-Hash: 88b8a7d604c0d3b08c04392c34fb6d23 commit: 969a97bb015e65c8a867f695e2fe753bd228dee0 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Oct 27 19:10:49 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Oct 27 19:10:49 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=969a97bb 5.4.0: pull in vtv RPATH patch Signed-off-by: Sergei Trofimovich gentoo.org> 5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch | 61 +++++++++++++++++++++++++++++ 5.4.0/gentoo/README.history | 3 +- 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch b/5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch new file mode 100644 index 0000000..68508bd --- /dev/null +++ b/5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch @@ -0,0 +1,61 @@ +Final libstdc++.so should not contain rpath to make libvtv usable. +It's up to final binaries to link against proper libvtv. + +Bug: https://bugs.gentoo.org/582524 +Bug: https://gcc.gnu.org/PR85884 +--- a/libstdc++-v3/src/Makefile.am ++++ b/libstdc++-v3/src/Makefile.am +@@ -217,7 +217,6 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + + # Symbol versioning for shared libraries. +--- a/libstdc++-v3/src/Makefile.in ++++ b/libstdc++-v3/src/Makefile.in +@@ -511,7 +511,6 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + + @ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep) +--- a/libstdc++-v3/src/c++11/Makefile.am ++++ b/libstdc++-v3/src/c++11/Makefile.am +@@ -204,5 +204,4 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX --tag disable-shared \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ +--- a/libstdc++-v3/src/c++11/Makefile.in ++++ b/libstdc++-v3/src/c++11/Makefile.in +@@ -496,7 +496,6 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX --tag disable-shared \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + + all: all-am +--- a/libstdc++-v3/src/c++98/Makefile.am ++++ b/libstdc++-v3/src/c++98/Makefile.am +@@ -273,5 +273,4 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX --tag disable-shared \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ +--- a/libstdc++-v3/src/c++98/Makefile.in ++++ b/libstdc++-v3/src/c++98/Makefile.in +@@ -500,7 +500,6 @@ CXXLINK = \ + $(LIBTOOL) --tag CXX --tag disable-shared \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CXX) \ +- $(VTV_CXXLINKFLAGS) \ + $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ + + all: all-am diff --git a/5.4.0/gentoo/README.history b/5.4.0/gentoo/README.history index e57705f..d6a6946 100644 --- a/5.4.0/gentoo/README.history +++ b/5.4.0/gentoo/README.history @@ -1,11 +1,12 @@ 1.11 TODO + + 99_all_remove-lieee.patch + 100_all_libgfortran-Werror.patch + 101_all_libgomp-Werror.patch + 102_all_libitm-Werror.patch + 103_all_libatomic-Werror.patch + 104_all_libbacktrace-Werror.patch + 105_all_libsanitizer-libbacktrace-Werror.patch - + 99_all_remove-lieee.patch + + 106_all_libstdcxx-no-vtv.patch 1.10 23 Sep 2018 + 98_all_respect-build-cxxflags.patch