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 assumptions
> regarding symbol interposition (which affect inter-procedural analysis). 
> The latter even affects Fedora because PIE does not turn off these
> optimizations.

Then use -fno-semantic-interposition.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to