I tried to compile tango unit tests with
rebuild -debug -w -d -g -L-ldl -L-lz -L-lbz2 -d-debug=UnitTest -full -clean -unittest -d-version=UnitTest runUnitTest_ldc.d
and ldc did not stop writing debug output.
with
rebuild -L-ldl -L-lz -L-lbz2 -d-debug=UnitTest -full -clean -unittest runUnitTest_ldc.d
the output was more reasonable, it almost succeded, but gave an error on the main module:
runUnitTest_ldc.d: Error: module runUnitTest_ldc invalid linkage type for global declaration
[1 x %object.Interface]* @_D5tango4core7Variant12__unittest67FZv1B16__interfaceInfosZ
invalid linkage type for global declaration
[1 x %object.Interface]* @_D5tango4core7Variant12__unittest67FZv1C16__interfaceInfosZ
invalid linkage type for global declaration
[1 x %object.Interface]* @_D5tango4core7Variant12__unittest67FZv1J16__interfaceInfosZ
Broken module found, compilation terminated.
recompiling just that without -unittest succeded
rebuild -L-ldl -L-lz -L-lbz2 -d-debug=UnitTest runUnitTest_ldc.d
the module runUnitTest_ldc.d (which I attach) which imports pretty much all tango modules...