Gentoo Archives: gentoo-user

From: "Holger Hoffstätte" <holger.hoffstaette@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: testing system + gcc-5.2 anyone?
Date: Wed, 12 Aug 2015 10:35:37
Message-Id: pan.2015.08.12.10.35.15@googlemail.com
In Reply to: Re: [gentoo-user] Re: testing system + gcc-5.2 anyone? by covici@ccs.covici.com
1 On Wed, 12 Aug 2015 05:18:54 -0400, covici wrote:
2
3 > Holger Hoffstätte wrote:
4 >
5 >> On Tue, 11 Aug 2015 12:01:50 +0200, Helmut Jarausch wrote:
6 >>
7 >> > On 08/10/2015 05:29:04 PM, James wrote:
8 >> >> Hello,
9 >> >>
10 >> >> Just for grins, I'm thinking about installing a gentoo system that
11 >> >> is (~) testing and newer codes and setting gcc-.5.2 as the default
12 >> >> compiler. Anyone doing this yet? Will it mostly work or should I
13 >> >> wait? Workstation with lxqt-0.9x.
14 >> >
15 >> > I don't use lxqt here, but ...
16 >> > I'm using gcc-5.2.0 very successfully here. I am not aware of a
17 >> > single package which doesn't compile with this version.
18 >> > And the kernel itself compiles just fine (currentlich running
19 >> > 4.2.0-rc6 compiled with gcc-5.2.0)
20 >>
21 >> +1
22 >>
23 >> I just updated all my ~amd64 multilib systems to 5.2 and everything
24 >> still works without a hitch, including acroread & skype. 4.9.3 is gone.
25 >> :)
26 >>
27 >> > One caveat though when upgrading a system which has been built with
28 >> > gcc-x for x < 5.
29 >> > The (pure) C++ libraries aren't compatible with older versions so
30 >> > that all packages which link to libstdc++ or libsupc++ have to be
31 >> > rebuilt. Packages which just use C aren't effected at all.
32 >>
33 >> Interestingly I didn't have to rebuild anything (yet), which I find
34 >> surprising given the changes in the ABI and std::string. I expected at
35 >> least a few problems,
36 >> but so far - nothing.
37 >
38 > I can't even emerge gcc-5.2.0 because of missing keyword, as of a sync
39 > of yesterday, so what is happening with that?
40
41 The ebuild currently doesn't have any keywords, so enable them:
42
43 $grep gcc /etc/portage/profile/package.accept_keywords
44 >=sys-devel/gcc-5.2.0 ** (or your specific arch instead of **)
45
46 Enjoy. :)
47
48 -h

Replies

Subject Author
Re: [gentoo-user] Re: testing system + gcc-5.2 anyone? covici@××××××××××.com