dmd -> ldmd2: /usr/bin/ld.gold: error: <source>.o: multiple definition of 'bool ldc.attributes...

Preetpal preetpal.sohal at gmail.com
Sun Mar 7 01:29:50 UTC 2021


On Saturday, 6 March 2021 at 22:14:26 UTC, kdevel wrote:
> After replacing dmd with ldmd2 (LDC 1.25.1) I get tons of link 
> errors all of
> the form mentioned in the subject. Any idea what can be done 
> about it?
>
> (With a handcrafted single compile/link statement using ldc2 
> everything compiles
> but ideally I want to reuse my Makefile).

Can you post more information? Like the full error that you are 
seeing, the command you are forced to use to allow everything to 
compile, the platform that you are on (Mac, BSD, Linux, etc.).


More information about the Digitalmars-d-learn mailing list