>From what I can tell here, pic is nearly built in to amd64.  It should
be used by default on amd64 and I think it has to be explicitly
disabled (ffmpeg).  So, you can run -pic on all amd64 and get nearly
the same result as +pic on amd64.

-- Prometheanfire

On Mon, Feb 28, 2011 at 15:39, Daniel Reidy <dub...@gmail.com> wrote:
> On Sun, Feb 27, 2011 at 5:58 PM,  <pagee...@freemail.hu> wrote:
>> that's actually not the intended use of the PIC USE flag, we wanted it 
>> originally
>> to enable configuring/compiling position independent code for packages where 
>> one
>> wanted to make a tradeoff between speed/security (i think php was one such 
>> app,
>> even without any hand written asm code).
>>
>> so with USE=pic you were supposed to get a textrel free, but potentially 
>> slower
>> binary (partly because of the PIC overhead on i386 and partly because 
>> sometimes
>> it meant using the C implementation of some algo instead of hand written 
>> asm).
>
> So if I understand this correctly, we should now be turning off PIC on
> Gentoo-Hardened systems running on AMD64.  What about the non-hardened
> variety, such as my desktop, that is only running a "stock" version of
> Gentoo Sources without hardened features?
>
> -dan
>
>

Reply via email to