diff options
author | 2018-10-27 20:10:49 +0100 | |
---|---|---|
committer | 2018-10-27 20:10:49 +0100 | |
commit | 969a97bb015e65c8a867f695e2fe753bd228dee0 (patch) | |
tree | a4309fa3b48a9493ec6c785737204bfad4527441 /5.4.0 | |
parent | 6.5.0: cut 1.0 patchset, a copy of 6.4.0-1.8 patchset (diff) | |
download | gcc-patches-969a97bb015e65c8a867f695e2fe753bd228dee0.tar.gz gcc-patches-969a97bb015e65c8a867f695e2fe753bd228dee0.tar.bz2 gcc-patches-969a97bb015e65c8a867f695e2fe753bd228dee0.zip |
5.4.0: pull in vtv RPATH patch
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '5.4.0')
-rw-r--r-- | 5.4.0/gentoo/106_all_libstdcxx-no-vtv.patch | 61 | ||||
-rw-r--r-- | 5.4.0/gentoo/README.history | 3 |
2 files changed, 63 insertions, 1 deletions
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 |