[Bug 231] Some template mixins symbols get defined in output object files, although they shouldn't
Sebastien Alaiwan via D.gnu
d.gnu at puremagic.com
Tue Jan 24 22:13:40 PST 2017
On Wednesday, 25 January 2017 at 04:10:49 UTC, dan wrote:
> 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
Hi,
I just tried again, and I confirm I'm able to successfully
compile GtkD with gdc.
I used to get those multiply defined template symbols, but the
issue is now fixed, at least for me.
I'm using latest Debian Testing gdc (6.2.1 20161124, v2.68.2) +
current GtkD from git.
However, please note that I had to manually specify "-no-pie" to
link the examples (but it's a totally separate issue).
More information about the D.gnu
mailing list