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
Message-Id: 20180109053448.GB13745@waltdnes.org
1 If you execute...
2
3 grep ":pic " /usr/portage/profiles/use.local.desc
4
5 ...you'll get multiple listings that mention...
6 - disable optimized assembly code that is not PIC friendly
7 - Force shared libraries to be built as PIC (this is slower)
8
9 Question: does PIE imply pic/PIC? I.e does a PIE build also require
10 USE="pic" and CFLAGS/CXXFLAGS="-fpic -fPIC"? If so, is there a way to
11 disable PIE in profile 17.0?
12
13 --
14 Walter Dnes <waltdnes@××××××××.org>
15 I don't run "desktop environments"; I run useful applications

Replies

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