[Bug 231] Some template mixins symbols get defined in output object files, although they shouldn't

Johannes Pfau via D.gnu d.gnu at puremagic.com
Wed Jan 25 01:30:18 PST 2017


Am Wed, 25 Jan 2017 04:10:49 +0000
schrieb dan <dan.hitt at gmail.com>:

> On Saturday, 1 October 2016 at 09:35:22 UTC, Johannes Pfau wrote:
> > http://bugzilla.gdcproject.org/show_bug.cgi?id=231
> >
> > Johannes Pfau <johannespfau at gmail.com> changed:
> >
> >            What    |Removed                     |Added
> > ----------------------------------------------------------------------------
> >          Resolution|---                         |FIXED
> >              Status|NEW                         |RESOLVED
> >
> > --- Comment #3 from Johannes Pfau <johannespfau at gmail.com> ---
> > https://github.com/D-Programming-GDC/GDC/commit/ef3141dcf92fc10e5f18eceff9207e39b75035b6  
> 
> Hi Johannes,
> 
> This bug does not seem to be fixed for me, but maybe i'm not 
> reading the fine print correctly (or maybe i'm just doing 
> something wrong somewhere along the line).
> 
> My setup is xubuntu 16.10, and i'm using the packaged gdc there.
> 
> If you do 'gdc -v -c empty_file.d' where empty_file.d is some 
> empty file, then it reveals the version of gdc to be v2.068.2.
> 
> That version was apparently released Christmas 2016, according to
> https://github.com/D-Programming-GDC/GDC/releases
> so it should have the fix picked up, i think.
> 
> Nevertheless, when i type 'make' to gtkd version 3.3.0, when it 
> tries to link it has these multiple definition errors.
> 
> This is on a fresh vm so hopefully there's no way any old 
> versions of gdc i have on the host could leak in.
> 
> Thanks for your work on this issue!!
> 
> And thanks for any clarification (like maybe somehow the fix 
> didn't make it into the release?).
> 
> dan

It is somewhat difficult to find the exact GDC version used by the
debian/ubuntu packages but
http://packages.ubuntu.com/yakkety/all/gcc-6-source/filelist suggests
a source version from 20160822. This version does not yet include the
fix for the GTK bug.

-- Johannes



More information about the D.gnu mailing list