Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] gcc-5 news item wrt C++ ABI
Date: Sat, 03 Oct 2015 02:13:22
Message-Id: 20151003021309.GB4308@vapier.lan
In Reply to: [gentoo-dev] moving gcc-5.2 to unstable by Mike Frysinger
1 Title: GCC 5 Defaults to the New C++11 ABI
2 Author: Mike Frysinger <vapier@g.o>
3 Content-Type: text/plain
4 Posted: 2015-10-02
5 Revision: 1
6 News-Item-Format: 1.0
7 Display-If-Installed: >=sys-devel/gcc-5
8
9 GCC 5 uses the new C++ ABI by default. When building new code, you might run
10 into link time errors like:
11 ...: undefined reference to '_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'
12 Or you might see linkage failures with "std::__cxx11::string" in the output.
13
14 These are signs that you need to rebuild packages using the new C++ ABI.
15 You can quickly do so by using revdep-rebuild like so:
16 # revdep-rebuild --library 'libstdc\+\+\.so\.6'
17
18 For more details, feel free to peruse:
19 https://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/
20 https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: gcc-5 news item wrt C++ ABI Ryan Hill <rhill@g.o>
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI Jason Zaman <perfinion@g.o>
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI hasufell <hasufell@g.o>
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI "Paweł Hajdan
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI "Anthony G. Basile" <blueness@g.o>
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI Mike Gilbert <floppym@g.o>