LDC 0.16.0 alpha3 is out! Get it, test it, give feedback!

John Colvin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Sep 17 08:19:05 PDT 2015


On Thursday, 17 September 2015 at 15:15:33 UTC, Jack Stouffer 
wrote:
> My dub build is failing with LDC but working with DMD. All I 
> get is this unhelpful error message
>
> $ dub build --compiler=ldc2
> Target derelict-util 2.0.3 is up to date. Use --force to 
> rebuild.
> Building derelict-sdl2 1.9.7 configuration "library", build 
> type debug.
> Running ldc2...
> Target derelict-gl3 1.0.15 is up to date. Use --force to 
> rebuild.
> Building dgame 0.6.3 configuration "lib", build type debug.
> Running ldc2...
> Building dungeon ~master configuration "application", build 
> type debug.
> Running ldc2...
> FAIL 
> .dub/build/application-debug-posix.osx-x86_64-ldc_0-C7E5B672CD1184CE7A0D4F80B1606A44/ dungeon executable
> Error executing command build:
> ldc2 failed with exit code -11.
>
> How does one debug dub builds?

dub build --compiler=ldc2 -v

will sometimes let you see more clearly when/where things went 
wrong.


More information about the Digitalmars-d-announce mailing list