error: symbol (longsymbol) is already defined

Johannes Pfau via D.gnu d.gnu at puremagic.com
Fri Nov 13 09:21:04 PST 2015


Am Fri, 13 Nov 2015 03:28:01 +0000
schrieb Ellery Newcomer <ellery-newcomer at utulsa.edu>:

> On Wednesday, 11 November 2015 at 13:48:16 UTC, Johannes Pfau 
> wrote:
> > Am Tue, 10 Nov 2015 05:14:48 +0000
> > schrieb Ellery Newcomer <ellery-newcomer at utulsa.edu>:
> >  
> >> On Monday, 9 November 2015 at 08:53:30 UTC, Iain Buclaw wrote:  
> >> >
> >> > Instead of funneling blame, this could be resolved in the 
> >> > move
> >> > to 2.067
> >> > (maybe just skipping to 2.068).  The complete  
> >> 
> >> 
> >> The warning still appears in dmd 2.069. Do you recommend 
> >> filing a bug with dmd?  
> >
> > Yes, please file a bug report.  
> 
> https://issues.dlang.org/show_bug.cgi?id=15324

Thanks. I've uploaded a reduced example.

Iain, could you please comment on the bug report about this:

The symbol GDC emits is actually marked weak. Does the assembler always
complain if a weak symbol is defined twice in one source file or is it
just complaining because of the size mismatch?


More information about the D.gnu mailing list