Florian Weimer wrote:
* Kevin Kofler:
> As I wrote elsewhere in this huge thread: just turn the program into a
> library with a dummy main program.
That requires manual work, so it's unclear how to do this for large
parts of the distribution.
I would not do this for large parts of the distribution, but only for the
handful programs where it makes sense. It is surely not worth doubling the
distribution's size to have ls run maybe 1% faster on some computers.
And people will worry about PIC-related losses, or due to
regarding symbol interposition (which affect inter-procedural analysis).
The latter even affects Fedora because PIE does not turn off these
Then use -fno-semantic-interposition.