Regression 19701 - LLD fails to link

Andre Pany andre at s-e-a-p.de
Thu May 16 05:43:47 UTC 2019


Hi,

could someone look at this regression, started with ~ 2.084
https://issues.dlang.org/show_bug.cgi?id=19701

LLD fails to link, in case you use dflags -Xfdocs.json
Kinke was kind and already analyzed the cause.

> The object files differ. With `-Df`, there's an external 
> reference to
> _D6object__T6hashOfTxaZQlFNaNbNiNfKxaZm, while it's
> _D4core8internal4hash__T6hashOfTaZQkFNaNbNiNexaZm without that 
> switch.
> 
> Looking at object.d, that's because -Df defines 
> `version=D_Ddoc`, so that object.hashOf isn't an alias, but a 
> wrapper: 
> https://github.com/dlang/druntime/blob/58dcda229e0658451325b70243fb5cb67c6cda46/src/object.d#L4080-L4115

Kind regards
André


More information about the Digitalmars-d mailing list