Linker error with dmd

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 2 07:03:07 PDT 2015


On Friday, 2 October 2015 at 09:43:54 UTC, Chris wrote:
> Why do I get this error msg with dmd 2.067.1 and 2.068.0 in 
> release mode:
>
> $ dub --build=release
>
> (.data._D65TypeInfo_xC3std5range10interfaces18__T10InputRangeTiZ10InputRange6__initZ+0x10): undefined reference to `_D64TypeInfo_C3std5range10interfaces18__T10InputRangeTiZ10InputRange6__initZ'
> collect2: error: ld returned 1 exit status
> --- errorlevel 1
> dmd failed with exit code 1.
>
> It works fine with the latest version of ldc2.

What is it that you are building?


More information about the Digitalmars-d-learn mailing list