Gentoo Archives: gentoo-dev

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: c++14 global USE flag
Date: Sat, 25 Apr 2015 14:08:43
Message-Id: 553BA02E.7000805@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: c++14 global USE flag by Ian Stakenvicius
1 On 04/24/15 14:56, Ian Stakenvicius wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA256
4 >
5 > On 24/04/15 02:42 PM, Ciaran McCreesh wrote:
6 >> On Fri, 24 Apr 2015 21:12:32 +0300 Maxim Koltsov
7 >> <maksbotan@g.o> wrote:
8 >>> Hello. My previous email was sent from the wrong address and it
9 >>> seems it did not make it into the list. Sending again from the
10 >>> right address...
11 >>>
12 >>> I'm introducing "c++14" use flag to every package in
13 >>> app-leechcraft catherogy via leechcraft.eclass. I need to put USE
14 >>> description somewhere. I propose / ask for permission to do it in
15 >>> global use.desc. Putting this flag to every single metadata.xml
16 >>> feels just wrong --- there are 72 of them now.
17 >>>
18 >>> Proposed description: "Build using C++ 14 standard"
19 >>>
20 >>> Looking forward for comments.
21 >> This isn't going to be sustainable... What's the long-term plan
22 >> for dealing with this?
23 >>
24 > Sounds like we need to go through the archives and revisit the
25 > conversations about how to integrate c++11 , again..
26
27 Yes, this is going to be a perpetual problem in Gentoo. So right now,
28 c++03 is stable and its abi is not going to change. c++11 is stable in
29 gcc 5 and c++14 is experimental. Next will come c++17. The way gcc is
30 dealing with this is that it is NOT bumping the soname so we can get
31 libraries linking aginst libstdc++.so with the wrong abi and you get
32 breakage. I wrote a blog entry [1] and opened a tracker [2]. That bug
33 currently reads "[TRACKER] c++11 abi incompatibility" but we could
34 expand it to include c++14 and beyond.
35
36 I'm not sure how to solve this one, but a USE flag isn't going to work,
37 at least not in the long run.
38
39 Ref.
40 [1]
41 https://blogs.gentoo.org/blueness/2015/03/10/the-c11-abi-incompatibility-problem-in-gentoo/
42 [2] https://bugs.gentoo.org/show_bug.cgi?id=542482
43
44 >
45 > -----BEGIN PGP SIGNATURE-----
46 > Version: GnuPG v2
47 >
48 > iF4EAREIAAYFAlU6kfYACgkQ2ugaI38ACPCDuQEAhAv0boCkTU3RvT5d/fX3la7V
49 > 8so0wqnPtHKI4fSqEwgA+wXmVlB14ykbTQ1VnrRR5WrEPRjMbm9V1MSXAA6MnC43
50 > =i/3U
51 > -----END PGP SIGNATURE-----
52 >
53
54
55 --
56 Anthony G. Basile, Ph.D.
57 Gentoo Linux Developer [Hardened]
58 E-Mail : blueness@g.o
59 GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
60 GnuPG ID : F52D4BBA

Replies

Subject Author
Re: [gentoo-dev] RFC: c++14 global USE flag Peter Stuge <peter@×××××.se>
Re: [gentoo-dev] RFC: c++14 global USE flag Matthias Maier <tamiko@g.o>