Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] gcc-5 news item wrt C++ ABI
Date: Sat, 03 Oct 2015 23:53:33
Message-Id: 56106A6A.4090707@gentoo.org
In Reply to: Re: [gentoo-dev] gcc-5 news item wrt C++ ABI by hasufell
1 On 10/3/15 7:16 PM, hasufell wrote:
2 > On 10/03/2015 04:13 AM, Mike Frysinger wrote:
3 >> Title: GCC 5 Defaults to the New C++11 ABI
4 >> Author: Mike Frysinger <vapier@g.o>
5 >> Content-Type: text/plain
6 >> Posted: 2015-10-02
7 >> Revision: 1
8 >> News-Item-Format: 1.0
9 >> Display-If-Installed: >=sys-devel/gcc-5
10 >>
11 >> GCC 5 uses the new C++ ABI by default. When building new code, you might run
12 >> into link time errors like:
13 >> ...: undefined reference to '_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17'
14 >> Or you might see linkage failures with "std::__cxx11::string" in the output.
15 >>
16 >> These are signs that you need to rebuild packages using the new C++ ABI.
17 >> You can quickly do so by using revdep-rebuild like so:
18 >> # revdep-rebuild --library 'libstdc\+\+\.so\.6'
19 >>
20 > We shouldn't assume a particular PM/toolset in news items, IMO. Just
21 > saying that people might have to rebuild packages linked against
22 > libstdc++.so.6 should be enough.
23 >
24 > They can read the docs if they don't know how.
25 >
26 Nothing precludes adding "see .... if you use paludis or clang."
27 However, I'd like to see the above in there.
28
29 --
30 Anthony G. Basile, Ph.D.
31 Gentoo Linux Developer [Hardened]
32 E-Mail : blueness@g.o
33 GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
34 GnuPG ID : F52D4BBA

Replies

Subject Author
[gentoo-dev] Re: gcc-5 news item wrt C++ ABI Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-dev] gcc-5 news item wrt C++ ABI Mike Frysinger <vapier@g.o>