[Issue 17767] Dmd can't link recast.d, Gdc can't compile it and Ldc can perfectly compile it.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 21 15:21:00 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17767

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to ecstatic.coder from comment #3)
> Please could you simply download the latest file from Github and compile
> locally with your own version of gdc.
> 
> https://github.com/senselogic/RECAST/blob/master/recast.d
> 
> If it compiles fine with your version, then I know it's just a compiler
> version problem, not a compiler bug, and this will eventually be solved once
> I will be able to use the same version as you :)

I initially got a link error, but when pushing out phobos 2.076 it worked fine.

The internal error in both places seem to suggest a bug in earlier versions of
the front-end, in particular, a bogus Dsymbol was passed to the backend.

You're going to have to try multiple versions of dmd here, possible starting
from 2.066 or 2.068, and noting any differences between versions.

What I expect you to find is, that 2.066 ICE'd, 2.071 works, 2.075 regressed
and has linker errors, and 2.076 is fine again.

--


More information about the Digitalmars-d-bugs mailing list