Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Cc: PR Gentoo <pr@g.o>
Subject: [gentoo-dev] RFC: news item for the 17.0 profiles
Date: Mon, 09 Oct 2017 20:58:43
Message-Id: 1528131.eIYCIZq90I@pinacolada
1 =====================================
2 Title: New 17.0 profiles in the Gentoo repository
3 Author: Andreas K. Hüttel <dilfridge@g.o>
4 Posted: xxxxxxx
5 Revision: 1
6 News-Item-Format: 2.0
7 Display-If-Installed: >=sys-devel/gcc-6.4.0
8
9 We have just added a new set of profiles with release version 17.0
10 to the Gentoo repository. These bring two changes:
11 1) The default C++ language version for applications is now C++14.
12 This change is mostly relevant to Gentoo developers. It also
13 means, however, that compilers earlier than GCC 6 are masked
14 and not supported for use as a system compiler anymore. Feel
15 free to unmask them if you need them for specific applications.
16 2) Where supported, GCC will now build position-independent
17 executables (PIE) by default. This improves the overall
18 security fingerprint. The switch from non-PIE to PIE binaries,
19 however, requires some steps by users, as detailed below.
20
21 Please consider switching from your current 13.0 profile to the
22 corresponding 17.0 profile soon after GCC-6.4.0 has been
23 stabilized on your architecture. The 13.0 profiles will be deprecated
24 and removed in the near future.
25
26 Switching involves the following steps:
27 If not already done,
28 * Use gcc-config to select gcc-6.4.0 or later as system compiler
29 * Re-source /etc/profile:
30 . /etc/profile
31 * Re-emerge libtool
32 Then,
33 * Select the new profile with eselect
34 * Re-emerge, in this sequence, gcc, binutils, and glibc
35 emerge -1 sys-devel/gcc:6.4.0
36 emerge -1 sys-devel/binutils
37 emerge -1 sys-libs/glibc
38 * Rebuild your entire system
39 emerge -e world
40
41 If you do not follow these steps you may get spurious build
42 failures when the linker tries unsuccessfully to combine non-PIE
43 and PIE code.
44 =====================================
45
46 --
47 Andreas K. Hüttel
48 dilfridge@g.o
49 Gentoo Linux developer (council, perl, libreoffice)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies