1 |
On Fri, 2 Oct 2015 22:13:09 -0400 |
2 |
Mike Frysinger <vapier@g.o> wrote: |
3 |
|
4 |
> Title: GCC 5 Defaults to the New C++11 ABI |
5 |
> Author: Mike Frysinger <vapier@g.o> |
6 |
> Content-Type: text/plain |
7 |
> Posted: 2015-10-02 |
8 |
> Revision: 1 |
9 |
> News-Item-Format: 1.0 |
10 |
> Display-If-Installed: >=sys-devel/gcc-5 |
11 |
> |
12 |
> GCC 5 uses the new C++ ABI by default. When building new code, you might run |
13 |
> into link time errors like: |
14 |
> ...: undefined reference to '_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17' |
15 |
> Or you might see linkage failures with "std::__cxx11::string" in the output. |
16 |
> |
17 |
> These are signs that you need to rebuild packages using the new C++ ABI. |
18 |
> You can quickly do so by using revdep-rebuild like so: |
19 |
> # revdep-rebuild --library 'libstdc\+\+\.so\.6' |
20 |
> |
21 |
> For more details, feel free to peruse: |
22 |
> https://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/ |
23 |
> https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/ |
24 |
> |
25 |
|
26 |
LGTM. |
27 |
|
28 |
-- |
29 |
Ryan Hill psn: dirtyepic_sk |
30 |
gcc-porting/toolchain/wxwidgets @ gentoo.org |
31 |
|
32 |
47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463 |