Gentoo Archives: gentoo-dev

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: stable gcc 5.4.0 ??
Date: Thu, 20 Apr 2017 22:18:09
Message-Id: 20170420221753.GB28261@waltdnes.org
In Reply to: Re: [gentoo-dev] Re: stable gcc 5.4.0 ?? by Tomas Mozes
1 On Thu, Apr 20, 2017 at 07:36:03AM +0200, Tomas Mozes wrote
2 >
3 > The default is new:
4 > https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html
5
6 And the news item says...
7
8 > Display-If-Installed: >=sys-devel/gcc-5
9
10 ...which means that people like me, who currently have 4.9.4, won't know
11 about it until after the fact. Then they'd have to...
12
13 [i660][waltdnes][~] emerge -pve @world
14 Total: 529 packages (3 upgrades, 526 reinstalls), Size of downloads: 10,360 KiB
15
16 ...fun !NOT. If you're doing a fresh install, ***WITH A GCC5-BUILT
17 INSTALL CD AND STAGE 3***, then yes, go for it. But changing horses in
18 mid-stream can be painfull. Would it hurt to stay with 4.9.4 for the
19 time being, assuming that you're not using prebuilt stuff like
20 firefox-bin or libreoffice-bin? What would be the best way to go about
21 it?
22
23 A) Would 5.4.0 be slotted separately, and 4.9.4 left as the default?
24
25 B) Add "-D_GLIBCXX_USE_CXX11_ABI=0" to CFLAGS and CXXFLAGS
26
27 C) Mask out ">sys-devel/gcc-4.99"
28
29 D) Allow "--with-default-libstdcxx-abi=gcc4-compatible" via a USE flag?
30
31 Whatever option is selected, people need to be warned about it *NOW*,
32 not after gcc-5.4.0 has been installed. I wonder if it's going to be
33 worth it to go to 5.4. Looking at https://gcc.gnu.org/ today, I see...
34
35 GCC 5.4 Status: 2016-06-03 (regression fixes & docs only).
36
37 GCC 6.3 Status: 2016-12-21 (regression fixes & docs only).
38
39 GCC 7.1 Status: 2017-04-20 (frozen, all changes require RM approval).
40
41 Development: GCC 8.0 Status: 2017-04-20 (regression fixes & docs only).
42
43 Maybe we should what many enterprises do with Windows; i.e. skip a
44 version and go straight to gcc-6.
45
46 --
47 Walter Dnes <waltdnes@××××××××.org>
48 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-dev] Re: stable gcc 5.4.0 ?? Mart Raudsepp <leio@g.o>
Re: [gentoo-dev] Re: stable gcc 5.4.0 ?? Matthias Maier <tamiko@g.o>