Originally posted by atomsymbol
Announcement
Collapse
No announcement yet.
At Least 27% Of Gentoo's Portage Can Be Easily LTO Optimized For Better Performance
Collapse
X
-
Originally posted by atomsymbol
I am a Gentoo user and I don't see how LTO can be made stable on a rolling release Linux distribution without detailed records about what gets inlined where by the compiler during LTO. If A is using library B and B is using C, it means that the internal code from B and C might end up in A. If the user updates library C, the package manager must be able to detect that it needs to rebuild A and B depending on where the compiler decided to inline C into. The most pessimistic approach (without any tracking of what the compiler actually inlines where) is for rebuild_C to always trigger rebuild_B and rebuild_A. There can be longer dependency chains like A -> B -> C -> D -> E. This also implies that upgrade_GCC should automatically trigger rebuild_allpackages.
I don't see any indication that GentooLTO is a serious mathematically correct attempt to automate handling of LTO dependencies by tracking the inlining of code&data in a rolling release Linux distribution. If somebody was able to find such an indication, please post it here.
- Likes 6
Comment
-
Originally posted by atomsymbol
I am a Gentoo user and I don't see how LTO can be made stable on a rolling release Linux distribution without detailed records about what gets inlined where by the compiler during LTO. If A is using library B and B is using C, it means that the internal code from B and C might end up in A. If the user updates library C, the package manager must be able to detect that it needs to rebuild A and B depending on where the compiler decided to inline C into. The most pessimistic approach (without any tracking of what the compiler actually inlines where) is for rebuild_C to always trigger rebuild_B and rebuild_A. There can be longer dependency chains like A -> B -> C -> D -> E. This also implies that upgrade_GCC should automatically trigger rebuild_allpackages.
I don't see any indication that GentooLTO is a serious mathematically correct attempt to automate handling of LTO dependencies by tracking the inlining of code&data in a rolling release Linux distribution. If somebody was able to find such an indication, please post it here.
Comment
-
Originally posted by FireBurn View Post
You're a Gentoo user, you should be recompiling everything anyway when you get a new version of GCC #gccChristmas## VGA ##
AMD: X1950XTX, HD3870, HD5870
Intel: GMA45, HD3000 (Core i5 2500K)
- Likes 2
Comment
Comment