https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95184
Bug ID: 95184 Summary: GDC reporting multiple definitions of functions where DMD and LDC do not Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: oss at cogitri dot dev Target Milestone: --- Created attachment 48556 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48556&action=edit Full build log When compiling glibd 2.1.0 with gir-to-d 0.21 with gdc 9.3.0 it errors out, complaining about multiple definitions of functions: /usr/lib/gcc/x86_64-alpine-linux-musl/9.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: glibd-2.0@sha/output_generated_gio_DataInputStream.d.o: in function `_DT56_D3gio19BufferedInputStream19BufferedInputStream9__mixin1517getSeekableStructMFbZPS3gio1c5types9GSeekable': DataInputStream.d:(.text+0x1be4): multiple definition of `_DT56_D3gio19BufferedInputStream19BufferedInputStream9__mixin1517getSeekableStructMFbZPS3gio1c5types9GSeekable'; glibd-2.0@sha/output_generated_gio_BufferedInputStream.d.o:BufferedInputStream.d:(.text+0x10c): first defined here Since the source is generated via gir-to-d I don't think providing the source makes much sense here, if you need assistance in building glibd I can help