The current ldc2.conf uses the --no-warn-mismatch linker flag. This matches what is found in the current 1.18.0 upstream binary package, but has been dropped in more recent releases.
Unfortunately this clashes with the use of lld as linker, since it does not support that flag.