Special behaviour for _Dmodule_ref and _d_run_main?

David Nadlinger code at klickverbot.at
Mon May 11 11:08:51 UTC 2020


On 11 May 2020, at 10:52, Denis Feklushkin via digitalmars-d-ldc wrote:
> ld.lld: error: undefined symbol: _Dmodule_ref
>>>> referenced by app.d
>>>>               lto.tmp:(.text._D3app16__moduleinfoCtorZ+0x0)
>>>> referenced by app.d
>>>>               lto.tmp:(_D3app16__moduleinfoCtorZ)

Which version of LDC/druntime are you trying to use? _Dmodule_ref 
shouldn't have been in use on x86(_64) Linux for a few years now.

  — David


More information about the digitalmars-d-ldc mailing list