Walter Dnes <waltd...@waltdnes.org> wrote:
>   Question: does PIE imply pic/PIC?

The code is somewhat different, but in principle yes.

> I.e does a PIE build also require USE="pic"

Assembler code which breaks pic will also break pie,
so better do not use that code.

> and CFLAGS/CXXFLAGS="-fpic -fPIC"?

These are usually added for libraries anyway.
They do not belong into your "manual" configuration file.

> If so, is there a way to disable PIE in profile 17.0?

If you want to switch it off for a particular binary,
there are -fno-PIE -no-pie.
Ebuilds should add it automatically if needed.
So far, I only needed it for clisp:
https://bugs.gentoo.org/show_bug.cgi?id=618170


Reply via email to