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 BDDFA1384B4 for ; Sun, 20 Dec 2015 21:32:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5355321C073; Sun, 20 Dec 2015 21:32:14 +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 F3DB9E088C for ; Sun, 20 Dec 2015 21:32:12 +0000 (UTC) Received: from mail-io0-f176.google.com (mail-io0-f176.google.com [209.85.223.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 94A0E33FEB1 for ; Sun, 20 Dec 2015 21:32:11 +0000 (UTC) Received: by mail-io0-f176.google.com with SMTP id q126so137628441iof.2 for ; Sun, 20 Dec 2015 13:32:11 -0800 (PST) X-Received: by 10.107.167.18 with SMTP id q18mr15400626ioe.141.1450647129598; Sun, 20 Dec 2015 13:32:09 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.107.38.146 with HTTP; Sun, 20 Dec 2015 13:31:50 -0800 (PST) In-Reply-To: <20151003021309.GB4308@vapier.lan> References: <20151001134947.GM5374@vapier.lan> <20151003021309.GB4308@vapier.lan> From: Mike Gilbert Date: Sun, 20 Dec 2015 16:31:50 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] gcc-5 news item wrt C++ ABI To: Gentoo Dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 71652111-b39c-4f45-bfdf-6d71829fe7b3 X-Archives-Hash: 9a96d3ae90ea4e0711be3d5011466701 On Fri, Oct 2, 2015 at 10:13 PM, Mike Frysinger wrote: > Title: GCC 5 Defaults to the New C++11 ABI > Author: Mike Frysinger > Content-Type: text/plain > Posted: 2015-10-02 > 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 like: > ...: 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 like so: > # revdep-rebuild --library 'libstdc\+\+\.so\.6' > > 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/ Just a heads-up: the python-based revdep-rebuild which is included with gentoolkit-0.3.1 requires slightly different syntax: # revdep-rebuild --library 'libstdc++.so.6' I pushed a revision to the news item with updated instructions.