Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o, "Andreas K. Huettel" <dilfridge@g.o>
Cc: llvm@g.o, qa@g.o, haskell@g.o, williamh@g.o, ml@g.o, longlene@×××××.com, toolchain@g.o
Subject: Re: [gentoo-dev] New 17.0 release profiles
Date: Thu, 08 Jun 2017 18:54:09
Message-Id: 1496948033.3570.3.camel@gentoo.org
In Reply to: Re: [gentoo-dev] New 17.0 release profiles by Sergei Trofimovich
1 On śro, 2017-06-07 at 23:05 +0100, Sergei Trofimovich wrote:
2 > On Wed, 07 Jun 2017 22:44:31 +0200
3 > "Andreas K. Huettel" <dilfridge@g.o> wrote:
4 >
5 > > 2) Switch GCC from default-non-PIE to default-PIE executables.
6 >
7 > Yay \o/. It's a major change though. Will qa@ write us some docs
8 > on the topic? Landing page:
9 > https://wiki.gentoo.org/wiki/Project:Quality_Assurance#Documentation
10 >
11 > Currently we have scarce mention of PIC-related problems:
12 > https://wiki.gentoo.org/wiki/Hardened/Position_Independent_Code_internals
13 > https://wiki.gentoo.org/wiki/Project:AMD64/Fixing_-fPIC_Errors_Guide
14 >
15 > We will have a bit more more of those problems. Recent example:
16 > https://bugs.gentoo.org/show_bug.cgi?id=618366
17 > I'm personally interested in how to filter out '-pie' in dosemu.
18 > What is the canonical way to detect '-pie' / '-no-pie' support
19 > in toolchain and flip it?
20 >
21 > A quick poll:
22 >
23 > How about other toolchains?
24 >
25 > A few examples that will have (perhaps minor) troubles doing that:
26 >
27 > - sys-devel/clang will need to be defaulting to pie. llvm@
28 > llvm is especially touchy as otherwise it's easy to have static library mix.
29 >
30
31 I think it would also be reasonable to have clang default to the same
32 C++ standard for better interoperability.
33
34 Sadly, unless I'm mistaken changing the defaults for both will require
35 patching the code.
36
37 --
38 Best regards,
39 Michał Górny

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] New 17.0 release profiles "Andreas K. Huettel" <dilfridge@g.o>