Use fat-lto-objects to avoid rebuild on LTO failure #114
Labels
No Label
blocked upstream
bug
build-failure
duplicate
enhancement
help wanted
informational
invalid
invalid/corrupt package
packaging issue
priority: high
question
support
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ALHP/ALHP.GO#114
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As far as I understand we currently rebuild packages if the LTO-Build fails, right?
If we set
-ffat-lto-objects
while compiling we could do LTO linking and normal linking.I think we would also need to set
-flinker-output=rel
. Docs:This would increase overall build time, not sure that tradeoff is worth, especially since detecting LTO build failures is a one-off thing.
Not sure it would really increase the build time that much. As that's just a little bit more data beeing stored on disk which are in memory anyway. So it's more a temporary diskspace thing.
The advantage would be, that we can do LTO-detection on each version, so if a program improves and it can just be linked via LTO it would be done, else a normal linking would take place without the need for rebuilding it completly.