diff options
author | 2018-10-20 10:38:59 +0100 | |
---|---|---|
committer | 2018-10-20 10:38:59 +0100 | |
commit | a265fe145a8bd064404ab8bf88980478b54bdd04 (patch) | |
tree | ee5b9359374100cc62a321b20103e9453aaa2c5b /7.3.0 | |
parent | 8.2.0: drop libstdc++ libking against libvtv (diff) | |
download | gcc-patches-a265fe145a8bd064404ab8bf88980478b54bdd04.tar.gz gcc-patches-a265fe145a8bd064404ab8bf88980478b54bdd04.tar.bz2 gcc-patches-a265fe145a8bd064404ab8bf88980478b54bdd04.zip |
7.3.0: pull in vtv RPATH patch
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '7.3.0')
-rw-r--r-- | 7.3.0/gentoo/108_all_libstdcxx-no-vtv.patch | 61 | ||||
-rw-r--r-- | 7.3.0/gentoo/README.history | 1 |
2 files changed, 62 insertions, 0 deletions
diff --git a/7.3.0/gentoo/108_all_libstdcxx-no-vtv.patch b/7.3.0/gentoo/108_all_libstdcxx-no-vtv.patch new file mode 100644 index 0000000..68508bd --- /dev/null +++ b/7.3.0/gentoo/108_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/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history index 1a482bc..9f0506b 100644 --- a/7.3.0/gentoo/README.history +++ b/7.3.0/gentoo/README.history @@ -6,6 +6,7 @@ + 105_all_libatomic-Werror.patch + 106_all_libbacktrace-Werror.patch + 107_all_libsanitizer-libbacktrace-Werror.patch + + 108_all_libstdcxx-no-vtv.patch 1.7 23 Sep 2018 + 98_all_msp430-partial-int.patch |