From: | Sergei Trofimovich <slyfox@g.o> | ||
---|---|---|---|
To: | "Andreas K. Huettel" <dilfridge@g.o> | ||
Cc: | gentoo-dev@l.g.o, 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: | Wed, 07 Jun 2017 22:05:44 | ||
Message-Id: | 20170607230520.10db9857@sf | ||
In Reply to: | [gentoo-dev] New 17.0 release profiles by "Andreas K. Huettel" |
1 | On Wed, 07 Jun 2017 22:44:31 +0200 |
2 | "Andreas K. Huettel" <dilfridge@g.o> wrote: |
3 | |
4 | > 2) Switch GCC from default-non-PIE to default-PIE executables. |
5 | |
6 | Yay \o/. It's a major change though. Will qa@ write us some docs |
7 | on the topic? Landing page: |
8 | https://wiki.gentoo.org/wiki/Project:Quality_Assurance#Documentation |
9 | |
10 | Currently we have scarce mention of PIC-related problems: |
11 | https://wiki.gentoo.org/wiki/Hardened/Position_Independent_Code_internals |
12 | https://wiki.gentoo.org/wiki/Project:AMD64/Fixing_-fPIC_Errors_Guide |
13 | |
14 | We will have a bit more more of those problems. Recent example: |
15 | https://bugs.gentoo.org/show_bug.cgi?id=618366 |
16 | I'm personally interested in how to filter out '-pie' in dosemu. |
17 | What is the canonical way to detect '-pie' / '-no-pie' support |
18 | in toolchain and flip it? |
19 | |
20 | A quick poll: |
21 | |
22 | How about other toolchains? |
23 | |
24 | A few examples that will have (perhaps minor) troubles doing that: |
25 | |
26 | - sys-devel/clang will need to be defaulting to pie. llvm@ |
27 | llvm is especially touchy as otherwise it's easy to have static library mix. |
28 | - dev-lang/ghc will need to be defaulted to pie. haskell@ |
29 | - dev-lang/go will need to be defaulted to pie. williamh@ |
30 | - dev-lang/ocaml will need to be defaulted to pie. ml@ |
31 | - dev-lang/crystal will need to be defaulted to pie. longlene@×××××.com |
32 | - others? |
33 | |
34 | [haskell@ hat on] |
35 | We are OK to invest some time and default to pie for dev-lang/ghc |
36 | produced binaries. Perhaps slightly after new profiles are introduced |
37 | into the tree as it will require merging a few patches upstream. |
38 | |
39 | -- |
40 | |
41 | Sergei |
Subject | Author |
---|---|
Re: [gentoo-dev] New 17.0 release profiles | Alexis Ballier <aballier@g.o> |
Re: [gentoo-dev] New 17.0 release profiles | "Michał Górny" <mgorny@g.o> |