Originally posted by NobodyXu
View Post
Announcement
Collapse
No announcement yet.
Mold 1.0 Released As A Modern High-Speed Linker Alternative To GNU Gold, LLVM LLD
Collapse
X
-
Originally posted by Mark625 View PostIf your linker output goes straight to /usr/bin or /usr/lib, you have bigger problems to worry about.Last edited by pal666; 23 December 2021, 07:53 AM.
Comment
-
Originally posted by pal666 View Postgcc has no lld, so lto can't depend on lld. you are confusing llvms's variant of lto with lto
To use this feature, you must be using gold as the linker and enable the use of the plugin by compiling with gcc -fuse-linker-plugin. This will shift the responsibility of driving the final stages of compilation from collect2 to gold via the linker plugin.
Last edited by NobodyXu; 25 December 2021, 07:30 PM.
Comment
-
Originally posted by NobodyXu View PostGcc is similar that it requires Gold compiler according to https://gcc.gnu.org/wiki/LinkTimeOptimization
Originally posted by NobodyXu View PostAnd lld being gold compatible, support loading gold ld’s linker plugins.
Comment
Comment