From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 96C2813888F for ; Thu, 22 Oct 2015 16:05:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BD4EE0882; Thu, 22 Oct 2015 16:05:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D59DCE0882 for ; Thu, 22 Oct 2015 16:05:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC60734016B for ; Thu, 22 Oct 2015 16:05:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 137C4DFB for ; Thu, 22 Oct 2015 16:05:09 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1445529895.9e7f85087d04f931cba57ba019a8842a8af9470b.vapier@gentoo> Subject: [gentoo-commits] data/gentoo-news:master commit in: 2015-10-22-gcc-5-new-c++11-abi/ X-VCS-Repository: data/gentoo-news X-VCS-Files: 2015-10-22-gcc-5-new-c++11-abi/2015-10-22-gcc-5-new-c++11-abi.en.txt X-VCS-Directories: 2015-10-22-gcc-5-new-c++11-abi/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 9e7f85087d04f931cba57ba019a8842a8af9470b X-VCS-Branch: master Date: Thu, 22 Oct 2015 16:05:09 +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: 817bb33d-7835-442c-933c-a844ec9a0061 X-Archives-Hash: 57bdf7c9a92c40d713046e76558a650b commit: 9e7f85087d04f931cba57ba019a8842a8af9470b Author: Mike Frysinger gentoo org> AuthorDate: Thu Oct 22 13:56:54 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Oct 22 16:04:55 2015 +0000 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=9e7f8508 gcc-5: news item about C++ ABI breakage .../2015-10-22-gcc-5-new-c++11-abi.en.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/2015-10-22-gcc-5-new-c++11-abi/2015-10-22-gcc-5-new-c++11-abi.en.txt b/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 0000000..5f6ffbb --- /dev/null +++ b/2015-10-22-gcc-5-new-c++11-abi/2015-10-22-gcc-5-new-c++11-abi.en.txt @@ -0,0 +1,21 @@ +Title: GCC 5 Defaults to the New C++11 ABI +Author: Mike Frysinger +Content-Type: text/plain +Posted: 2015-10-22 +Revision: 1 +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) like so: +# 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/