News for hackers. Stuff that matters.
Re:Rpath, or why lld doesn’t work on NixOS by higherhalf on Tuesday March 15, 2022 @06:31PM (#30692808)
Speaking of significantly faster linkers, I personally use mold[1], including when writing in Rust.

[1]: https://github.com/rui314/mold

Re:Rpath, or why lld doesn’t work on NixOS by saghm on Tuesday March 15, 2022 @09:30PM (#30694204)
I'm super interested in trying out mold, but I was a bit taken about seeing that it's AGPL licensed; I have no idea what the implications of that license for a linker would be. Would using it to link into a final binary require sharing the source of the binary when its distributed? What about if its used to link statically into a library, and then that library is linked into another binary?
Re:Rpath, or why lld doesn’t work on NixOS by rkangel on Wednesday March 16, 2022 @06:27AM (#30697127)
You're running the tool not embedding or linking against its source code. An equivalent example might be if Libreoffice was under the GPL licence[1] - that licence wouldn't have any implications for a spreadsheet you created using it.

[1] It's not - it's MPL

Re:Rpath, or why lld doesn’t work on NixOS by moonchild on Tuesday March 15, 2022 @09:36PM (#30694242)
No more than would using a GPL-licensed linker, such as gnu ld or gold.
Re:Rpath, or why lld doesn’t work on NixOS by FL33TW00D on Wednesday March 16, 2022 @06:11AM (#30697039)
Really looking forward to MacOS support on Mold!