Faster linker

Atila Neves atila.neves at gmail.com
Fri Nov 9 15:11:16 UTC 2018


On Friday, 9 November 2018 at 15:08:19 UTC, Atila Neves wrote:
> On Friday, 9 November 2018 at 13:28:42 UTC, Joakim wrote:
>> On Friday, 9 November 2018 at 12:19:43 UTC, Atila Neves wrote:
>>> On Friday, 9 November 2018 at 03:47:09 UTC, Joakim wrote:
>>>> [...]
>>>
>>> lld mostly produces crashing binaries for me on Linux.
>>
>> I find that hard to believe, considering Android is switching 
>> to it:
>
> To the extent of my knowledge, Android doesn't link D binaries. 
> It may well work for C and C++.
>
> I tried symlinking /usr/bin/ld to /usr/bin/ld.lld, and... it 
> seems to work now. The last time I tried (6 to 12 months ago? I 
> don't remember) it produced crashing binaries most of the time 
> for D code.
>
> I guess I should switch for good now then!

I spoke too soon. The reggae unit tests crash if linked with lld. 
Every other project I tried worked though.



More information about the Digitalmars-d mailing list