digitalmars.D - New Linker Mold Version 1.0 released [1] expieriences?
- Martin Tschierschke (5/5) Dec 21 2021 Just want to ask if anybody is using mold as an replacement for
- max haughton (7/12) Dec 21 2021 1. You should be using LLD wherever possible. It's the fastest of
- Martin Tschierschke (3/6) Dec 22 2021 That's a good hint, thank you!
- M.M. (4/9) Dec 21 2021 here a version in English:
- FeepingCreature (5/10) Dec 21 2021 Well, there's https://issues.dlang.org/show_bug.cgi?id=22483 . On
- FeepingCreature (3/15) Dec 25 2021 Fresh update: #126 is fixed!
- =?ISO-8859-1?Q?Lu=EDs?= Ferreira (8/25) Dec 27 2021 r-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.html
- Atila Neves (4/9) Dec 23 2021 On a work project, it reduced link time from 1.2s to 0.8s.
- Bruce Carneal (4/15) Dec 23 2021 Was the crash with ldc, gdc, dmd? I ask because from this
- Atila Neves (7/26) Dec 24 2021 I didn't investigate. As soon as things didn't work I typed `sudo
- =?ISO-8859-1?Q?Lu=EDs?= Ferreira (14/21) Dec 24 2021 in-als-GNU-Gold-und-lld-von-LLVM-6302178.html
Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? [Mold on Github](https://github.com/rui314/mold) [1] https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.html
Dec 21 2021
On Tuesday, 21 December 2021 at 13:01:20 UTC, Martin Tschierschke wrote:Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? [Mold on Github](https://github.com/rui314/mold) [1] https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.html1. You should be using LLD wherever possible. It's the fastest of the stable linkers - Gold isn't too bad compared to ld but lld is really speedy. 2. We tried mold at symmetry and it blew up, however it's been a little while since then so maybe it's time to try again.
Dec 21 2021
On Tuesday, 21 December 2021 at 13:23:25 UTC, max haughton wrote: [...]1. You should be using LLD wherever possible. It's the fastest of the stable linkers - Gold isn't too bad compared to ld but lld is really speedy.That's a good hint, thank you!
Dec 22 2021
On Tuesday, 21 December 2021 at 13:01:20 UTC, Martin Tschierschke wrote:Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? [Mold on Github](https://github.com/rui314/mold) [1] https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.htmlhere a version in English: https://www.phoronix.com/scan.php?page=news_item&px=Mold-1.0-Released
Dec 21 2021
On Tuesday, 21 December 2021 at 13:01:20 UTC, Martin Tschierschke wrote:Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? [Mold on Github](https://github.com/rui314/mold) [1] https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.htmlWell, there's https://issues.dlang.org/show_bug.cgi?id=22483 . On the mold side, afaik https://github.com/rui314/mold/issues/126 is also still open.
Dec 21 2021
On Tuesday, 21 December 2021 at 15:00:05 UTC, FeepingCreature wrote:On Tuesday, 21 December 2021 at 13:01:20 UTC, Martin Tschierschke wrote:Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? [Mold on Github](https://github.com/rui314/mold) [1] https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.htmlWell, there's https://issues.dlang.org/show_bug.cgi?id=22483 . On the mold side, afaik https://github.com/rui314/mold/issues/126 is also still open.
Dec 25 2021
On Sat, 2021-12-25 at 15:03 +0000, FeepingCreature via Digitalmars-d wrote:On Tuesday, 21 December 2021 at 15:00:05 UTC, FeepingCreature=20 wrote:r-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.htmlOn Tuesday, 21 December 2021 at 13:01:20 UTC, Martin=20 Tschierschke wrote:Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? =20 [Mold on Github](https://github.com/rui314/mold) =20 [1]=20 https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schnelle==20=20 Well, there's https://issues.dlang.org/show_bug.cgi?id=3D22483=C2=A0.=Great! --=20 Sincerely, Lu=C3=ADs Ferreira lsferreira.netOn the mold side, afaik=20 https://github.com/rui314/mold/issues/126=C2=A0is also still open.=20
Dec 27 2021
On Tuesday, 21 December 2021 at 13:01:20 UTC, Martin Tschierschke wrote:Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? [Mold on Github](https://github.com/rui314/mold) [1] https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.htmlOn a work project, it reduced link time from 1.2s to 0.8s. On dmd/druntime/phobos - crash.
Dec 23 2021
On Thursday, 23 December 2021 at 12:38:05 UTC, Atila Neves wrote:On Tuesday, 21 December 2021 at 13:01:20 UTC, Martin Tschierschke wrote:Was the crash with ldc, gdc, dmd? I ask because from this https://issueexplorer.com/issue/rui314/mold/126 I gather that others believe DMD is out of spec.Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? [Mold on Github](https://github.com/rui314/mold) [1] https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.htmlOn a work project, it reduced link time from 1.2s to 0.8s. On dmd/druntime/phobos - crash.
Dec 23 2021
On Thursday, 23 December 2021 at 21:50:07 UTC, Bruce Carneal wrote:On Thursday, 23 December 2021 at 12:38:05 UTC, Atila Neves wrote:I didn't investigate. As soon as things didn't work I typed `sudo ln -sf /usr/bin/ld.lld /usr/bin/ld` and carried on with my life. lld at one point produced crashing binaries with D code but that got fixed. I can't remember if it involved changing dmd or not, but I think so.On Tuesday, 21 December 2021 at 13:01:20 UTC, Martin Tschierschke wrote:Was the crash with ldc, gdc, dmd? I ask because from this https://issueexplorer.com/issue/rui314/mold/126 I gather that others believe DMD is out of spec.Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? [Mold on Github](https://github.com/rui314/mold) [1] https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-sein-als-GNU-Gold-und-lld-von-LLVM-6302178.htmlOn a work project, it reduced link time from 1.2s to 0.8s. On dmd/druntime/phobos - crash.
Dec 24 2021
On Tue, 2021-12-21 at 13:01 +0000, Martin Tschierschke via Digitalmars- d wrote:Just want to ask if anybody is using mold as an replacement for GNU gold or an other linker? =20 [Mold on Github](https://github.com/rui314/mold) =20 [1]=20 https://www.heise.de/news/Linux-Linker-Alternative-Mold-will-schneller-se=in-als-GNU-Gold-und-lld-von-LLVM-6302178.html Seems a good project to try out, but I recently discovered that LLD is speedy and stable on huge projects. It could also be a blocker for some due to lack of LTO support. - gold for GCC+LTO bytecode - lld for pretty much anything else For now LLD only supports Itanium or plain C mangled names, but I'm going to soon add a patch to LLD to make it use of the D demangler and print pritty names for D symbols :) --=20 Sincerely, Lu=C3=ADs Ferreira lsferreira.net
Dec 24 2021