summaryrefslogtreecommitdiff
path: root/metadata/news/2015-10-22-gcc-5-new-c++11-abi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /metadata/news/2015-10-22-gcc-5-new-c++11-abi
reinit the tree, so we can have metadata
Diffstat (limited to 'metadata/news/2015-10-22-gcc-5-new-c++11-abi')
-rw-r--r--metadata/news/2015-10-22-gcc-5-new-c++11-abi/2015-10-22-gcc-5-new-c++11-abi.en.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/metadata/news/2015-10-22-gcc-5-new-c++11-abi/2015-10-22-gcc-5-new-c++11-abi.en.txt b/metadata/news/2015-10-22-gcc-5-new-c++11-abi/2015-10-22-gcc-5-new-c++11-abi.en.txt
new file mode 100644
index 000000000000..9760753cee3c
--- /dev/null
+++ b/metadata/news/2015-10-22-gcc-5-new-c++11-abi/2015-10-22-gcc-5-new-c++11-abi.en.txt
@@ -0,0 +1,26 @@
+Title: GCC 5 Defaults to the New C++11 ABI
+Author: Mike Frysinger <vapier@gentoo.org>
+Content-Type: text/plain
+Posted: 2015-10-22
+Revision: 2
+News-Item-Format: 1.0
+Display-If-Installed: >=sys-devel/gcc-5
+
+GCC 5 uses the new C++ ABI by default. When building new code, you might run
+into link time errors that include lines similar to:
+...: undefined reference to '_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'
+
+Or you might see linkage failures with "std::__cxx11::string" in the output.
+
+These are signs that you need to rebuild packages using the new C++ ABI.
+You can quickly do so by using revdep-rebuild (from gentoolkit).
+
+For gentoolkit-0.3.1 or higher:
+# revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
+
+For previous versions of gentoolkit:
+# revdep-rebuild --library 'libstdc\+\+\.so\.6' -- --exclude gcc
+
+For more details, feel free to peruse:
+https://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/
+https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/