On Friday, 10 July 2020 at 07:06:44 UTC, Stefan Koch wrote: > On Friday, 10 July 2020 at 05:45:03 UTC, zoujiaqing wrote: >> [...] > > I think the answer is use lld instead of gnu ld He's running macOS, which doesn't use GNU ld. LLD does not work for D programs on macOS. At least not when compiling them using LDC. -- /Jacob Carlborg