On Tue, 09 May 2017 18:13:06 -0500 Matthias Maier <tam...@gentoo.org> wrote:
> > For a transition we can probably build everything with -fPIE but not > > link with -pie. If we want that to happen fast, gcc-6 might do that > > and gcc-7 add the -pie option. > > I am not entirely convinced that a transition period of one gcc > version is enough for a smooth transition [1]. In theory, a transition period won't help. It'll probably mitigate the user issues by a lot though. Note that by being a source based rolling distro we're quite different than e.g. fedora rebuilding all their repo at each release. [...] > Related to that > > - for which architectures shall we unmask the use flag? Keep in mind that if the performance implications are almost inexistent for amd64, pie might have serious implications on other arches. x86 eating one register for pie/pic and lacking an easy way to write pic safe asm is a very well known problematic arch. Which raises the question: What happens for multilib amd64 ? [...] > [3] The fallout I currently see due to enabled USE=pie is noticeably > but by no stretch crazy bad. After all, static linkage is rarely used > (with the exception of some languages). After only a few days in ~arch and no tinderbox run I'd say that's pretty normal :) static linkage is more present than one would like though; and it's not only -static, but also libs that do not make sense or break when shared (libfl comes to mind) Alexis.