Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] Profile 17 and -fPIC
Date: Tue, 05 Dec 2017 00:52:32
1 Possibly due to messing around with hardened in the past, i'm finding that
2 many packages are reporting that they need -fPIC now that i'm on 17.0 (and
3 gcc 7.2 FWIW). I've added it to CFLAGs, as manually adding to each failed
4 package via package.env was getting non-trivial.
6 From the GCC man page it sounds like;
7 fPIE = make executables position independent, and
8 fPIC = make everything position independent
10 Is there a downside to adding -fPIC to CFLAGs? It seems to allow everything
11 to build and the system is working.


Subject Author
Re: [gentoo-user] Profile 17 and -fPIC Walter Dnes <waltdnes@××××××××.org>