Just want to ask if anybody is using mold as an replacement for
GNU gold or an other linker?
Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
December 21, 2021 New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
December 21, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Tschierschke | 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
|
December 21, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Tschierschke | 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 here a version in English: https://www.phoronix.com/scan.php?page=news_item&px=Mold-1.0-Released |
December 21, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Tschierschke | 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 Well, 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. |
December 22, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to max haughton | On Tuesday, 21 December 2021 at 13:23:25 UTC, max haughton wrote:
That's a good hint, thank you! |
December 23, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Tschierschke | 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 On a work project, it reduced link time from 1.2s to 0.8s. On dmd/druntime/phobos - crash. |
December 23, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | 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: >Just want to ask if anybody is using mold as an replacement for On a work project, it reduced link time from 1.2s to 0.8s. On dmd/druntime/phobos - crash. 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. |
December 24, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruce Carneal | 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: >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 On a work project, it reduced link time from 1.2s to 0.8s. On dmd/druntime/phobos - crash. 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. I didn't investigate. As soon as things didn't work I typed 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. |
December 25, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Tschierschke Attachments:
| 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? > > [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 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 :) -- Sincerely, Luís Ferreira @ lsferreira.net |
December 25, 2021 Re: New Linker Mold Version 1.0 released [1] expieriences? | ||||
---|---|---|---|---|
| ||||
Posted in reply to FeepingCreature | 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 Well, 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. Fresh update: #126 is fixed! |