FS#37466 - Build binary packages with link-time optimization

Attached to Project: Arch Linux
Opened by Ruben Van Boxem (rubenvb) - Thursday, 24 October 2013, 08:53 GMT
Last edited by Allan McRae (Allan) - Thursday, 24 October 2013, 13:58 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Link-time optimization is a general optimization that GCC/ld can perform to increase exectution speed and optimize binary size by inlining/removing code when linking. It has been in GCC since version 4.5, so stability should not be an issue.
It should provide significant runtime improvements in various libraries, with a slight increase in compile time.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 24 October 2013, 13:58 GMT
Reason for closing:  Won't implement
Comment by Allan McRae (Allan) - Thursday, 24 October 2013, 13:58 GMT
LTO is not stable. And it makes debugging very difficult:

"Link-time optimization does not work well with generation of debugging information. Combining -flto with -g is currently experimental and expected to produce wrong results."

Loading...