Gentoo Archives: gentoo-dev

From: "Paweł Hajdan
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] gcc-5 news item wrt C++ ABI
Date: Mon, 05 Oct 2015 18:45:50
Message-Id: 5612C550.50602@gentoo.org
In Reply to: [gentoo-dev] gcc-5 news item wrt C++ ABI by Mike Frysinger
1 On 10/3/15 4:13 AM, Mike Frysinger wrote:
2 > Title: GCC 5 Defaults to the New C++11 ABI
3 > Author: Mike Frysinger <vapier@g.o>
4 > Content-Type: text/plain
5 > Posted: 2015-10-02
6 > Revision: 1
7 > News-Item-Format: 1.0
8 > Display-If-Installed: >=sys-devel/gcc-5
9 >
10 > GCC 5 uses the new C++ ABI by default. When building new code, you might run
11 > into link time errors like:
12 > ...: undefined reference to '_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'
13 > Or you might see linkage failures with "std::__cxx11::string" in the output.
14 >
15 > These are signs that you need to rebuild packages using the new C++ ABI.
16 > You can quickly do so by using revdep-rebuild like so:
17 > # revdep-rebuild --library 'libstdc\+\+\.so\.6'
18 >
19 > For more details, feel free to peruse:
20 > https://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/
21 > https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/
22
23 Curious, can one reasonably easy downgrade from GCC 5 back to GCC 4?
24
25 Are there any instructions for that? Is it sufficient to do a similar
26 revdep-rebuild command?
27
28 In case the downgrade would horribly break systems or be otherwise
29 highly nontrivial, I'd recommend some note for that.
30
31 Paweł

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI "Jason A. Donenfeld" <zx2c4@g.o>
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI Mike Frysinger <vapier@g.o>