GDC bug? duplicates symbols when using mixin and interface
Daniel Kozak
kozzi11 at gmail.com
Thu Oct 24 11:08:50 UTC 2019
On Thursday, 24 October 2019 at 11:05:21 UTC, Daniel Kozak wrote:
>
>
> ld: c.o: in function `_DT16_D1b1B8__mixin24getSMFZPv':
> c.d:(.text+0x27): multiple definition of
> `_DT16_D1b1B8__mixin24getSMFZPv'; b.o:b.d:(.text+0x38): first
> defined here
BTW. DMD does not includes those _DT16_D1b1B8__mixin24getSMFZPv
symbols (ddemangle even could not decode them) in obj files and
ldc does include tham but with small differecies in name and have
defined them as W (weak reference) not T(text/code) as gdc does
More information about the D.gnu
mailing list