Re: GDC bug? duplicates symbols when using mixin and interface

2019-10-29 Thread Daniel Kozak via D.gnu
On Thursday, 24 October 2019 at 11:05:21 UTC, Daniel Kozak wrote: ld: c.o: in function `_DT16_D1b1B8__mixin24getSMFZPv': c.d:(.text+0x27): multiple definition of `_DT16_D1b1B8__mixin24getSMFZPv'; b.o:b.d:(.text+0x38): first defined here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92216

Re: GDC bug? duplicates symbols when using mixin and interface

2019-10-24 Thread Daniel Kozak via D.gnu
On Thursday, 24 October 2019 at 11:05:21 UTC, Daniel Kozak wrote: ld: c.o: in function `_DT16_D1b1B8__mixin24getSMFZPv': c.d:(.text+0x27): multiple definition of `_DT16_D1b1B8__mixin24getSMFZPv'; b.o:b.d:(.text+0x38): first defined here BTW. DMD does not includes those _DT16_D1b1B8__mixin24

GDC bug? duplicates symbols when using mixin and interface

2019-10-24 Thread Daniel Kozak via D.gnu
I have been trying to compile gtkd with gdc but without success. I always end up with some duplicates symbols when gdc try to link final binary [https://github.com/gtkd-developers/GtkD/issues/282] I have tried it with ldc and dmd too, and both are working fine. So I guess there is some symbolge

Re: GDCs emitted code is crazy fast

2019-08-20 Thread Daniel Kozak via D.gnu
On Monday, 19 August 2019 at 14:02:37 UTC, Iain Buclaw wrote: On Mon, 19 Aug 2019 at 15:30, Daniel Kozák via D.gnu wrote: On Monday, 19 August 2019 at 10:54:09 UTC, Iain Buclaw wrote: > > Optimal code sometimes needs a bit of coercing. You > shouldn't need to pass weird options though. Yes

Re: GDCs emitted code is crazy fast

2019-08-20 Thread Daniel Kozak via D.gnu
On Tuesday, 20 August 2019 at 02:18:42 UTC, James Blachly wrote: As a broader point, though, do you think it would help improve adoption of GDC (and perhaps the D ecosystem overall) if one could `tar xfvz gdc-9.tar.gz && export PATH gdc/bin` in the same way we do with DMD and LDC? Yes, I do

Re: GDCs emitted code is crazy fast

2019-08-19 Thread Daniel Kozak via D.gnu
On Monday, 19 August 2019 at 03:47:04 UTC, James Blachly wrote: I hope that there are plans for convenient binary installs (rather than through package managers which tend to be outdated, and cannot be installed on managed systems) as there are with DMD and LDC. Kudos to the GDC team. which

Re: GDCs emitted code is crazy fast

2019-08-19 Thread Daniel Kozak via D.gnu
On Monday, 19 August 2019 at 03:47:04 UTC, James Blachly wrote: I got around to finally compiling my project (processing high throughput sequencing data) and found GDC compiled code executed TWICE as fast as LDC compiled code, which itself was faster than DMD. I am truly surprised. Can't test

Re: gdc git compiling failed on ArchLinux amd64

2019-08-16 Thread Daniel Kozak via D.gnu
On Wednesday, 14 August 2019 at 05:34:48 UTC, dangbinghoo wrote: hi all, in Archlinux, I tried to build gdc-10(git version), but it failed: ... the gdc used to building GDC10-git is gdc-9.1.0 static version from Archlinux AUR package gdc-static. Thanks! --- binghoo dang Hi I am the one

new GDC compiler ignore immutable? (code gen)

2017-10-25 Thread Daniel Kozak via D.gnu
https://godbolt.org/g/tFU9v4