1 |
Tja, |
2 |
|
3 |
schätze da hast'e wohl was vergessen zu Lesen und abzuarbeiten: |
4 |
|
5 |
eselect news read <Deine Nr.> |
6 |
2015-10-22-gcc-5-new-c++11-abi |
7 |
Title GCC 5 Defaults to the New C++11 ABI |
8 |
Author Mike Frysinger <vapier@g.o> |
9 |
Posted 2015-10-22 |
10 |
Revision 2 |
11 |
|
12 |
GCC 5 uses the new C++ ABI by default. When building new code, you |
13 |
might run into link time errors that include lines similar to: |
14 |
...: undefined reference to |
15 |
'_ZNSt6chrono12steady_clock3nowEv@GLIBCXX_3.4.17' |
16 |
|
17 |
Or you might see linkage failures with "std::__cxx11::string" in the |
18 |
output. |
19 |
|
20 |
These are signs that you need to rebuild packages using the new C++ ABI. |
21 |
You can quickly do so by using revdep-rebuild (from gentoolkit). |
22 |
|
23 |
For gentoolkit-0.3.1 or higher: |
24 |
# revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc |
25 |
|
26 |
For previous versions of gentoolkit: |
27 |
# revdep-rebuild --library 'libstdc\+\+\.so\.6' -- --exclude gcc |
28 |
|
29 |
For more details, feel free to peruse: |
30 |
https://developerblog.redhat.com/2015/02/05/gcc5-and-the-c11-abi/ |
31 |
https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/ |
32 |
|
33 |
Gruß und viel Erfolg, |
34 |
|
35 |
Andy. |
36 |
|
37 |
|
38 |
|
39 |
Am Sun, 28 May 2017 13:27:02 +0200 (CEST) |
40 |
schrieb Sebastian Kürschner <selist@×××××.de>: |
41 |
|
42 |
> Hallo, |
43 |
> |
44 |
> mein Gentoo verlangt nach ftgl kann es aber nicht bauen? |
45 |
> |
46 |
> Hier das Ende der Ausgabe: |
47 |
> |
48 |
> CXXTest-FTVector-Test.o: In function |
49 |
> `FTVectorTest::testConstructor()': |
50 |
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x49): |
51 |
> undefined reference to |
52 |
> `CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char, |
53 |
> std::char_traits<char>, std::allocator<char> > const&, int)' |
54 |
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x97): |
55 |
> undefined reference to |
56 |
> `CppUnit::Message::Message(std::__cxx11::basic_string<char, |
57 |
> std::char_traits<char>, std::allocator<char> > const&, |
58 |
> std::__cxx11::basic_string<char, std::char_traits<char>, |
59 |
> std::allocator<char> > const&)' |
60 |
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x12f): |
61 |
> undefined reference to |
62 |
> `CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char, |
63 |
> std::char_traits<char>, std::allocator<char> > const&, int)' |
64 |
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x17d): |
65 |
> undefined reference to |
66 |
> `CppUnit::Message::Message(std::__cxx11::basic_string<char, |
67 |
> std::char_traits<char>, std::allocator<char> > const&, |
68 |
> std::__cxx11::basic_string<char, std::char_traits<char>, |
69 |
> std::allocator<char> > const&)' |
70 |
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x215): |
71 |
> undefined reference to |
72 |
> `CppUnit::SourceLine::SourceLine(std::__cxx11::basic_string<char, |
73 |
> std::char_traits<char>, std::allocator<char> > const&, int)' |
74 |
> FTVector-Test.cpp:(.text._ZN12FTVectorTest15testConstructorEv[_ZN12FTVectorTest15testConstructorEv]+0x263): |
75 |
> undefined reference to |
76 |
> `CppUnit::Message::Message(std::__cxx11::basic_string<char, |
77 |
> std::char_traits<char>, std::allocator<char> > const&, |
78 |
> std::__cxx11::basic_string<char, std::char_traits<char>, |
79 |
> std::allocator<char> > const&)' |
80 |
> CXXTest-FTVector-Test.o:(.rodata._ZTV12FTVectorTest[_ZTV12FTVectorTest]+0x40): |
81 |
> undefined reference to `CppUnit::TestCase::getName[abi:cxx11]() |
82 |
> const' |
83 |
> CXXTest-FTVector-Test.o:(.rodata._ZTV12FTVectorTest[_ZTV12FTVectorTest]+0x48): |
84 |
> undefined reference to |
85 |
> `CppUnit::Test::findTestPath(std::__cxx11::basic_string<char, |
86 |
> std::char_traits<char>, std::allocator<char> > const&, |
87 |
> CppUnit::TestPath&) const' |
88 |
> CXXTest-FTVector-Test.o:(.rodata._ZTV12FTVectorTest[_ZTV12FTVectorTest]+0x58): |
89 |
> undefined reference to |
90 |
> `CppUnit::Test::findTest(std::__cxx11::basic_string<char, |
91 |
> std::char_traits<char>, std::allocator<char> > const&) const' |
92 |
> CXXTest-FTVector-Test.o:(.rodata._ZTV12FTVectorTest[_ZTV12FTVectorTest]+0x60): |
93 |
> undefined reference to |
94 |
> `CppUnit::Test::resolveTestPath(std::__cxx11::basic_string<char, |
95 |
> std::char_traits<char>, std::allocator<char> > const&) const' |
96 |
> CXXTest-FTVector-Test.o:(.rodata._ZTVN7CppUnit10TestCallerI12FTVectorTestEE[_ZTVN7CppUnit10TestCallerI12FTVectorTestEE]+0x40): |
97 |
> undefined reference to `CppUnit::TestCase::getName[abi:cxx11]() |
98 |
> const' |
99 |
> CXXTest-FTVector-Test.o:(.rodata._ZTVN7CppUnit10TestCallerI12FTVectorTestEE[_ZTVN7CppUnit10TestCallerI12FTVectorTestEE]+0x48): |
100 |
> undefined reference to |
101 |
> `CppUnit::Test::findTestPath(std::__cxx11::basic_string<char, |
102 |
> std::char_traits<char>, std::allocator<char> > const&, |
103 |
> CppUnit::TestPath&) const' |
104 |
> CXXTest-FTVector-Test.o:(.rodata._ZTVN7CppUnit10TestCallerI12FTVectorTestEE[_ZTVN7CppUnit10TestCallerI12FTVectorTestEE]+0x58): |
105 |
> undefined reference to |
106 |
> `CppUnit::Test::findTest(std::__cxx11::basic_string<char, |
107 |
> std::char_traits<char>, std::allocator<char> > const&) const' |
108 |
> CXXTest-FTVector-Test.o:(.rodata._ZTVN7CppUnit10TestCallerI12FTVectorTestEE[_ZTVN7CppUnit10TestCallerI12FTVectorTestEE]+0x60): |
109 |
> undefined reference to |
110 |
> `CppUnit::Test::resolveTestPath(std::__cxx11::basic_string<char, |
111 |
> std::char_traits<char>, std::allocator<char> > const&) const' |
112 |
> collect2: error: ld returned 1 exit status make[2]: *** |
113 |
> [Makefile:486: CXXTest] Error 1 make[2]: Leaving directory |
114 |
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/work/ftgl-2.1.3~rc5/test' |
115 |
> make[1]: *** [Makefile:503: all-recursive] Error 1 make[1]: Leaving |
116 |
> directory |
117 |
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/work/ftgl-2.1.3~rc5' |
118 |
> make: *** [Makefile:412: all] Error 2 ESC[31;01m*ESC[0m ERROR: |
119 |
> media-libs/ftgl-2.1.3_rc5::gentoo failed (compile phase): |
120 |
> ESC[31;01m*ESC[0m emake failed ESC[31;01m*ESC[0m ESC[31;01m*ESC[0m If |
121 |
> you need support, post the output of `emerge --info |
122 |
> '=media-libs/ftgl-2.1.3_rc5::gentoo'`, ESC[31;01m*ESC[0m the complete |
123 |
> build log and the output of `emerge -pqv |
124 |
> '=media-libs/ftgl-2.1.3_rc5::gentoo'`. ESC[31;01m*ESC[0m The complete |
125 |
> build log is located at |
126 |
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/temp/build.log'. |
127 |
> ESC[31;01m*ESC[0m The ebuild environment file is located at |
128 |
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/temp/environment'. |
129 |
> ESC[31;01m*ESC[0m Working directory: |
130 |
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/work/ftgl-2.1.3~rc5' |
131 |
> ESC[31;01m*ESC[0m S: |
132 |
> '/var/tmp/portage/media-libs/ftgl-2.1.3_rc5/work/ftgl-2.1.3~rc5' (END) |
133 |
> |
134 |
> |
135 |
> Gruß |
136 |
> |
137 |
> Sebastian |