Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] Profile 17.0, PIE, USE="pic", C(XX)FLAGS "-fpic", "-fPIC"?
Date: Tue, 09 Jan 2018 05:34:58
If you execute...

grep ":pic " /usr/portage/profiles/use.local.desc'll get multiple listings that mention...
- disable optimized assembly code that is not PIC friendly
- Force shared libraries to be built as PIC (this is slower)

  Question: does PIE imply pic/PIC?  I.e does a PIE build also require
USE="pic" and CFLAGS/CXXFLAGS="-fpic -fPIC"?  If so, is there a way to
disable PIE in profile 17.0?

Walter Dnes <waltdnes@××××××××.org>
I don't run "desktop environments"; I run useful applications


Subject Author
[gentoo-user] Re: Profile 17.0, PIE, USE="pic", C(XX)FLAGS "-fpic", "-fPIC"? Martin Vaeth <martin@×××××.de>