public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/95184] New: GDC reporting multiple definitions of functions where DMD and LDC do not
@ 2020-05-18  7:51 oss at cogitri dot dev
  2020-05-18  8:32 ` [Bug d/95184] " ibuclaw at gdcproject dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: oss at cogitri dot dev @ 2020-05-18  7:51 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug d/95184] GDC reporting multiple definitions of functions where DMD and LDC do not
  2020-05-18  7:51 [Bug d/95184] New: GDC reporting multiple definitions of functions where DMD and LDC do not oss at cogitri dot dev
@ 2020-05-18  8:32 ` ibuclaw at gdcproject dot org
  2020-05-18  9:07 ` oss at cogitri dot dev
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2020-05-18  8:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95184

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Could this be a duplicate of PR d/92216?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug d/95184] GDC reporting multiple definitions of functions where DMD and LDC do not
  2020-05-18  7:51 [Bug d/95184] New: GDC reporting multiple definitions of functions where DMD and LDC do not oss at cogitri dot dev
  2020-05-18  8:32 ` [Bug d/95184] " ibuclaw at gdcproject dot org
@ 2020-05-18  9:07 ` oss at cogitri dot dev
  2020-05-18  9:20 ` ibuclaw at gdcproject dot org
  2020-05-18 13:21 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: oss at cogitri dot dev @ 2020-05-18  9:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95184

Rasmus Thomsen <oss at cogitri dot dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Rasmus Thomsen <oss at cogitri dot dev> ---
Yes, the patch mentioned in that bug fixed it, thanks!

*** This bug has been marked as a duplicate of bug 92216 ***

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug d/95184] GDC reporting multiple definitions of functions where DMD and LDC do not
  2020-05-18  7:51 [Bug d/95184] New: GDC reporting multiple definitions of functions where DMD and LDC do not oss at cogitri dot dev
  2020-05-18  8:32 ` [Bug d/95184] " ibuclaw at gdcproject dot org
  2020-05-18  9:07 ` oss at cogitri dot dev
@ 2020-05-18  9:20 ` ibuclaw at gdcproject dot org
  2020-05-18 13:21 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2020-05-18  9:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95184

Iain Buclaw <ibuclaw at gdcproject dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |FIXED

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
OK, I'll prep a backport then.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug d/95184] GDC reporting multiple definitions of functions where DMD and LDC do not
  2020-05-18  7:51 [Bug d/95184] New: GDC reporting multiple definitions of functions where DMD and LDC do not oss at cogitri dot dev
                   ` (2 preceding siblings ...)
  2020-05-18  9:20 ` ibuclaw at gdcproject dot org
@ 2020-05-18 13:21 ` ibuclaw at gdcproject dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ibuclaw at gdcproject dot org @ 2020-05-18 13:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95184

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Done in r9-8603.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-18 13:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-18  7:51 [Bug d/95184] New: GDC reporting multiple definitions of functions where DMD and LDC do not oss at cogitri dot dev
2020-05-18  8:32 ` [Bug d/95184] " ibuclaw at gdcproject dot org
2020-05-18  9:07 ` oss at cogitri dot dev
2020-05-18  9:20 ` ibuclaw at gdcproject dot org
2020-05-18 13:21 ` ibuclaw at gdcproject dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).