Hi,

One of the differences between gentoo standard and hardened profiles is
the pic use flag.

I wonder what it does and if it has any meaning these days. From what I
understand in any modern-day Linux system position independent code
(pic) is always used, as we have ASLR and pie executables (in Gentoo
since 17.0 profiles).

In many cases it seems to disable assembly optimizations, often with
comments indicating that the assembly is not "pic friendly" (e.g. gzip
useflag description says "disable optimized assembly code that is not
PIC friendly").

If the flag just disables assembly optimizations then I wonder if it
should be renamed (or if we need it at all - in case these assembly
optimizations have no downsides).


-- 
Hanno Böck
https://hboeck.de/

mail/jabber: ha...@hboeck.de
GPG: FE73757FA60E4E21B937579FA5880072BBB51E42

Reply via email to