Re: dead code removal

2014-11-30 Thread Iain Buclaw via D.gnu
On 30 Nov 2014 09:20, "Johannes Pfau via D.gnu" wrote: > > Am Sun, 30 Nov 2014 01:52:57 + > schrieb "Mike" : > > > This has been brought up before: > > [1] > > http://forum.dlang.org/post/cqzazaqxpwezignix...@forum.dlang.org > > [2] > > http://forum.dlang.org/post/zapxhodqmotriapue...@forum.dl

GDC Docker images now available

2014-12-16 Thread Iain Buclaw via D.gnu
Hi, Not wanting to waste unused CPU cycles on my new Laptop, I've gotten round to building and uploading docker images with GDC pre-installed. https://registry.hub.docker.com/u/ibuclaw/gdc/ Usage is the same as the GCC images, read the docs on that here: https://registry.hub.docker.com/_/gc

Re: RFC: Move runtime hook definitions to a .di file in druntime

2015-01-13 Thread Iain Buclaw via D.gnu
On 13 January 2015 at 10:17, Mike via D.gnu wrote: > On Saturday, 11 October 2014 at 08:15:55 UTC, Iain Buclaw via D.gnu wrote: > >>> So, I'm wondering if the compiler maintainers would entertain a change to >>> the GDC that moved the runtime declarations (i.e. _d_ne

Re: Removing RTTI from binaries

2015-01-14 Thread Iain Buclaw via D.gnu
On 14 January 2015 at 04:00, Mike via D.gnu wrote: > On Tuesday, 13 January 2015 at 14:36:15 UTC, Dicebot wrote: >> >> >> I remember speaking about it with Martin and Daniel during DConf 2014 and >> I think it was Daniel who mentioned that by default TypeInfo/ModuleInfo is >> emitted in some weird

Re: Removing RTTI from binaries

2015-01-14 Thread Iain Buclaw via D.gnu
On 14 January 2015 at 13:32, Mike via D.gnu wrote: > On Wednesday, 14 January 2015 at 09:04:50 UTC, Mike wrote: >> >> >> Ok, but I have a mess of classes generated by templates (and I love it). >> Their `name` properties [1] should go in .rodata, right? But why aren't >> they being put in their o

Re: 2.066 announce?

2015-01-24 Thread Iain Buclaw via D.gnu
On 24 Jan 2015 08:40, "Johannes Pfau via D.gnu" wrote: > > Am Sat, 24 Jan 2015 06:32:57 + (UTC) > schrieb ketmar : > > > i see that 2.066.1 is landed in GDC (heh, that was sudden! had to fix > > almost all my private patches...). is it still in testing stage, or > > it's already fully usable?

Re: 2.066 announce?

2015-01-24 Thread Iain Buclaw via D.gnu
On 24 Jan 2015 10:20, "Stefan Frijters via D.gnu" wrote: > > On Saturday, 24 January 2015 at 08:47:33 UTC, Iain Buclaw via D.gnu wrote: >> >> On 24 Jan 2015 08:40, "Johannes Pfau via D.gnu" wrote: >>> >>> >>> Am Sat, 24 Jan 20

Re: 2.066 announce?

2015-01-24 Thread Iain Buclaw via D.gnu
On 24 January 2015 at 11:08, ketmar via D.gnu wrote: > On Sat, 24 Jan 2015 08:47:25 +0000, Iain Buclaw via D.gnu wrote: > >> On 24 Jan 2015 08:40, "Johannes Pfau via D.gnu" >> wrote: >>> >>> Am Sat, 24 Jan 2015 06:32:57 + (UTC) >>> sch

Re: 2.066 announce?

2015-01-24 Thread Iain Buclaw via D.gnu
On 24 January 2015 at 12:33, Johannes Pfau via D.gnu wrote: > Am Sat, 24 Jan 2015 11:56:31 + > schrieb "Iain Buclaw via D.gnu" : > >> On 24 January 2015 at 11:08, ketmar via D.gnu >> wrote: >> > On Sat, 24 Jan 2015 08:47:25 +, Iain Buclaw via D.gn

Re: Undefined _D10TypeInfo_l6__initZ and _D15TypeInfo_Struct6__vtblZ added when instantiating template structs

2015-01-26 Thread Iain Buclaw via D.gnu
On 26 January 2015 at 17:50, Liran Zvibel via D.gnu wrote: > Hi, > > I would like to use some D code in a C binary > . > Part of the D functionality used is by instantiating templated structs. > > Even if I just try to compile the following simple code: > > extern (C) { > alias mytpye = BLA!(i

Re: How to regenerate gcc patches

2015-02-05 Thread Iain Buclaw via D.gnu
On 5 February 2015 at 13:14, Johannes Pfau via D.gnu wrote: > I think I've asked this before, but anyway: > > What's the exact command to generate the patches? I think we should > document this somewhere to make sure there are no format changes in the > patches which mess up git diffs. In more re

Re: DMD and GDC static libraries are incompatible on Linux?

2015-02-09 Thread Iain Buclaw via D.gnu
On 9 February 2015 at 17:56, Jeremy DeHaan via D.gnu wrote: > I'm pretty sure I already know the answer to this, however I just wanted to > ask to make sure. > > I was talking with someone the other day. They were using Linux and tried to > link static libraries built with DMD during a build with

Re: Using static immutable Exceptions (or other way for NON-GC exceptions)

2015-02-18 Thread Iain Buclaw via D.gnu
On 18 February 2015 at 11:57, Liran Zvibel via D.gnu wrote: > Hi, > > We would like to use exceptions in some cases, but we don't want to allocate > them when we send them. > What we do with dmd is create bunch of "static immutable Throwable" members > in our objects during creation (for every pos

Re: Using static immutable Exceptions (or other way for NON-GC exceptions)

2015-02-18 Thread Iain Buclaw via D.gnu
On 18 February 2015 at 12:34, Timo Sintonen via D.gnu wrote: > On Wednesday, 18 February 2015 at 12:12:04 UTC, Iain Buclaw wrote: > >> >> You can't throw without a GC allocation currently. I'm open to >> suggestions and patches welcome. >> >> See here: >> https://github.com/D-Programming-GDC/GDC/

Re: Using static immutable Exceptions (or other way for NON-GC exceptions)

2015-02-18 Thread Iain Buclaw via D.gnu
On 18 February 2015 at 13:38, Timo Sintonen via D.gnu wrote: > On Wednesday, 18 February 2015 at 13:07:12 UTC, Iain Buclaw wrote: >> >> On 18 February 2015 at 12:34, Timo Sintonen via D.gnu >> wrote: >>> >>> On Wednesday, 18 February 2015 at 12:12:04 UTC, Iain Buclaw wrote: >>> You can'

Re: Using static immutable Exceptions (or other way for NON-GC exceptions)

2015-02-18 Thread Iain Buclaw via D.gnu
On 18 February 2015 at 14:54, Liran Zvibel via D.gnu wrote: > On Wednesday, 18 February 2015 at 13:07:12 UTC, Iain Buclaw wrote: >> >> It may be a better solution to have a static TLS pointer that gets >> new'd upon thread start. Perhaps even make it a pre-allocated array >> so we might be able t

Re: DMD and GDC static libraries are incompatible on Linux?

2015-02-18 Thread Iain Buclaw via D.gnu
On 18 February 2015 at 22:13, Jeremy DeHaan via D.gnu wrote: > On Monday, 9 February 2015 at 19:24:22 UTC, Iain Buclaw wrote: >> >> GDC and DMD are not ABI compatible. There are many reasons why this >> is so, but the one that is likely affecting you is because DMD emits >> references to symbols

Re: DMD and GDC static libraries are incompatible on Linux?

2015-02-18 Thread Iain Buclaw via D.gnu
On 18 February 2015 at 22:31, ketmar via D.gnu wrote: > (ah, well, you can't even build shared phobos with GDC yet), and... > True story, GDC got there first with shared library support before D2 was released. *Then* D2 came out with TLS on by default for all static data. Shared libraries sudde

gdcproject.org down for maintenance

2015-03-07 Thread Iain Buclaw via D.gnu
Hi, Some aspects of gdcproject.org will be down for the next few hours. Should be all back up Sunday morning-ish time. This is due to work being done by the host providers that requires a reboot of the VM at a time when I will not be available to bring all services back up (unsociable hours

Re: gdcproject.org down for maintenance

2015-03-09 Thread Iain Buclaw via D.gnu
On 9 March 2015 at 10:16, Martin Nowak via D.gnu wrote: > On Saturday, 7 March 2015 at 23:40:38 UTC, Iain Buclaw wrote: >> >> Hi, >> >> Some aspects of gdcproject.org will be down for the next few hours. >> Should be all back up Sunday morning-ish time. This is due to work being >> done by the ho

Re: Why GCC 5.0 does not support GDC?

2015-04-08 Thread Iain Buclaw via D.gnu
On 8 Apr 2015 04:30, "zoujiaqing via D.gnu" wrote: > > GCC 5.0 was released, the full support golang 1.4.2, but why not support GDC? > > > Look GCC 5 Release Series Changes, New Features, and Fixes: > https://gcc.gnu.org/gcc-5/changes.html Go is the least interesting thing on that page, it took m

Re: Optimisation question

2015-04-10 Thread Iain Buclaw via D.gnu
On 10 April 2015 at 20:18, John Colvin via D.gnu wrote: > void mul(float[] a, float v) > { > if ((cast(size_t)a.ptr) % 32 == 0 > && a.length == 16) > { > foreach (ref el; a) > el *= v; > } > } > > with > -Ofast -march=broadwell -frelease > becomes > > void example.mul(float[],

Re: does gdc recognize @nogc?

2015-04-27 Thread Iain Buclaw via D.gnu
On 27 April 2015 at 15:15, drug via D.gnu wrote: > I download gdc from official gdc downloading page but it give me error > compiling this code: > ``` > class Foo > { > this(long timestamp) nothrow @nogc > { > ... > } > } > ``` > the error message is > ``` > error: user defined

Re: does gdc recognize @nogc?

2015-04-27 Thread Iain Buclaw via D.gnu
On 27 April 2015 at 16:22, drug via D.gnu wrote: > On 27.04.2015 16:43, Iain Buclaw via D.gnu wrote: >> >> On 27 April 2015 at 15:15, drug via D.gnu wrote: >>> >>> I download gdc from official gdc downloading page but it give me error >>>

Re: Build script for a cross compiler

2015-04-27 Thread Iain Buclaw via D.gnu
On 28 April 2015 at 07:00, Timo Sintonen via D.gnu wrote: > People have been asking a build script Here is one I have > written. This was originally ment to build gdc in a virtual > machine but I did not get this to work in a vm. There were always > missing something or some issues like 32/64 bit

Re: Removing RTTI from binaries

2015-05-10 Thread Iain Buclaw via D.gnu
On 10 May 2015 at 14:48, Mike via D.gnu wrote: > On Sunday, 10 May 2015 at 09:54:51 UTC, Mike wrote: > >> Looks like someone picked up on this and submitted a patch: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=192#c9 Cool!! But I still >> have yet to test it. > > > Damn! Didn't work. > No

Re: GDC generates invalid assembly around fiber yield operations (Not re-reading data from clobberedd memory to registers)

2015-05-15 Thread Iain Buclaw via D.gnu
On 15 May 2015 at 09:08, Johannes Pfau via D.gnu wrote: > Am Thu, 14 May 2015 19:02:48 +0200 > schrieb Johannes Pfau : > >> ... > > TLDR > As a workaround replace > > globalSum += otherFunc(); > > which GDC currently treats as > > globalSum = globalSum + otherFunc(); > > with > > globalSum = other

Re: GDC generates invalid assembly around fiber yield operations (Not re-reading data from clobberedd memory to registers)

2015-05-15 Thread Iain Buclaw via D.gnu
On 15 May 2015 at 09:13, Iain Buclaw wrote: > On 15 May 2015 at 09:08, Johannes Pfau via D.gnu wrote: >> Am Thu, 14 May 2015 19:02:48 +0200 >> schrieb Johannes Pfau : >> >>> ... >> >> TLDR >> As a workaround replace >> >> globalSum += otherFunc(); >> >> which GDC currently treats as >> >> globalS

Re: @forceInline can't inline when source code is available

2015-05-27 Thread Iain Buclaw via D.gnu
On 28 May 2015 04:15, "Mike via D.gnu" wrote: > > Consider this code > > testInline.d > > module testInline; > > import gcc.attribute; > > public enum inline = gcc.attribute.attribute("forceinline"); > > @inline int add(int a, int b) > { > return a + b; > } > > test.d > ** > i

Re: What gcc to use for gdc master?

2015-06-04 Thread Iain Buclaw via D.gnu
On 4 June 2015 at 15:49, Dan Olson via D.gnu wrote: > ketmar writes: > > > On Thu, 04 Jun 2015 00:15:37 -0700, Dan Olson wrote: > > > >> Starting a pull request for ARM and grabbed gdc master, but not sure > >> what gcc it likes. I tried gcc-5.1 but > >> > >> $ ./setup-gcc.sh ../gcc-5.1.0 found

Re: What gcc to use for gdc master?

2015-06-04 Thread Iain Buclaw via D.gnu
On 4 June 2015 at 17:33, Dan Olson via D.gnu wrote: > "Iain Buclaw via D.gnu" writes: > > > All PRs should be based on master, and they get trickled down to > > release branches as needed. > > > > Master only works (or at least, has been tested) wit

Re: What gcc to use for gdc master?

2015-06-06 Thread Iain Buclaw via D.gnu
On 5 June 2015 at 08:40, Dan Olson via D.gnu wrote: > > Sorry for a long chain on OSX. But one last unresolved symbol from make > check-d: "_d_osx_image_init". Is it just a placeholder or is it hidden > somewhere. Does gdc still need the code to set setup gc scanning? How > is TLS on OSX? - if

Re: What gcc to use for gdc master?

2015-06-06 Thread Iain Buclaw via D.gnu
On 5 Jun 2015 08:05, "Dan Olson via D.gnu" wrote: > > Dan Olson writes: > > > Looks like I need to track down missing symbols from rt.tlsgc now. I > > think it is becoming a fun puzzle :-) The arm stuff can wait. > > How do I tell gdc that OS X needs target specific underscore "_" prefix > added

Re: What gcc to use for gdc master?

2015-06-06 Thread Iain Buclaw via D.gnu
On 6 June 2015 at 16:53, Dan Olson via D.gnu wrote: > "Iain Buclaw via D.gnu" writes: > > > On 5 Jun 2015 08:05, "Dan Olson via D.gnu" > > wrote: > > > > That's interesting, it should do that for you automatically, there > > should b

Re: What gcc to use for gdc master?

2015-06-06 Thread Iain Buclaw via D.gnu
On 6 June 2015 at 18:18, Dan Olson via D.gnu wrote: > "Iain Buclaw via D.gnu" writes: > > > On 5 June 2015 at 08:40, Dan Olson via D.gnu > > wrote: > >> > >> Sorry for a long chain on OSX. But one last unresolved symbol from > > make > &g

Re: What gcc to use for gdc master?

2015-06-06 Thread Iain Buclaw via D.gnu
On 6 June 2015 at 18:33, Iain Buclaw wrote: > On 6 June 2015 at 18:18, Dan Olson via D.gnu wrote: > >> "Iain Buclaw via D.gnu" writes: >> >> > On 5 June 2015 at 08:40, Dan Olson via D.gnu >> > wrote: >> >> >> >> Sorry

Re: What gcc to use for gdc master?

2015-06-06 Thread Iain Buclaw via D.gnu
On 6 June 2015 at 18:54, Dan Olson via D.gnu wrote: > "Iain Buclaw via D.gnu" writes: > > > Alas, after looking at backend, it turns out that the answer is no. > > > > In the glue sources (d-decls.cc), replace 'set_user_assembler_name' > > wit

Re: What gcc to use for gdc master?

2015-06-06 Thread Iain Buclaw via D.gnu
On 6 June 2015 at 19:12, Dan Olson via D.gnu wrote: > "Iain Buclaw via D.gnu" writes: > > > On 6 June 2015 at 18:54, Dan Olson via D.gnu > > wrote: > > > > "Iain Buclaw via D.gnu" writes: > > > > > Alas, aft

Re: gdc master is broken for arm cross-compilers

2015-06-11 Thread Iain Buclaw via D.gnu
On 11 June 2015 at 20:27, Johannes Pfau via D.gnu wrote: > Some recent change in GDC broke ARM cross compiler builds. Same error > with gcc-5.1 and gcc-4.9: > > https://gist.github.com/jpf91/1de81d6ff55587d702ae > > I'm not sure if this only happens for ARM cross compilers or for all > cross comp

Re: gdc in raspbian stretch.

2015-06-16 Thread Iain Buclaw via D.gnu
On 17 Jun 2015 02:50, "Peter Green via D.gnu" wrote: > > I maintain raspbian, a project to rebuild Debian for the raspberry pi (and in principle other armv6 devices but the Pi seems to be the only armv6 device anyone cares about). We try to support as much of Debian as possible but as effectively

Re: gdc master is broken for arm cross-compilers

2015-06-18 Thread Iain Buclaw via D.gnu
On 18 June 2015 at 22:18, Johannes Pfau via D.gnu wrote: > Am Tue, 16 Jun 2015 22:05:44 +0200 > schrieb Johannes Pfau : > > > Am Thu, 11 Jun 2015 22:30:39 +0200 > > schrieb "Iain Buclaw via D.gnu" : > > > > > On 11 June 2015 at 20:27, Johannes P

Re: gdc in raspbian stretch.

2015-06-18 Thread Iain Buclaw via D.gnu
On 17 June 2015 at 08:10, Iain Buclaw wrote: > On 17 Jun 2015 02:50, "Peter Green via D.gnu" wrote: > > > > I maintain raspbian, a project to rebuild Debian for the raspberry pi > (and in principle other armv6 devices but the Pi seems to be the only armv6 > device anyone cares about). We try to

Re: gdc master is broken for arm cross-compilers

2015-06-18 Thread Iain Buclaw via D.gnu
On 18 June 2015 at 23:07, Iain Buclaw wrote: > On 18 June 2015 at 22:18, Johannes Pfau via D.gnu > wrote: > >> Am Tue, 16 Jun 2015 22:05:44 +0200 >> schrieb Johannes Pfau : >> >> > Am Thu, 11 Jun 2015 22:30:39 +0200 >> > schrieb "Iain Buclaw

[Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-22 Thread Iain Buclaw via D.gnu
As the autotester seems to be broken indefinitely for the time being, I've been playing around with Travis for builds. https://travis-ci.org/ibuclaw/GDC/branches A couple of show stoppers I've been running into: - Time to build, run testsuite, run unittests exceeds quota (50 minutes) - Memory

Re: [Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-22 Thread Iain Buclaw via D.gnu
On 22 June 2015 at 19:58, Johannes Pfau via D.gnu wrote: > Am Mon, 22 Jun 2015 08:56:53 + > schrieb "Iain Buclaw" : > >> As the autotester seems to be broken indefinitely for the time >> being, I've been playing around with Travis for builds. >> >> https://travis-ci.org/ibuclaw/GDC/branches >>

Re: [Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-23 Thread Iain Buclaw via D.gnu
On 23 June 2015 at 10:15, Marko Anastasov via D.gnu wrote: > On Monday, 22 June 2015 at 08:56:54 UTC, Iain Buclaw wrote: >> >> So, I'd be willing to hear of alternatives: >> >> https://semaphoreci.com - However CPU's given are 2, and time to build >> and run tests is limited to 60 minutes. > > >

Re: [Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-23 Thread Iain Buclaw via D.gnu
On 23 June 2015 at 12:31, Iain Buclaw wrote: > On 23 June 2015 at 10:15, Marko Anastasov via D.gnu > wrote: >> On Monday, 22 June 2015 at 08:56:54 UTC, Iain Buclaw wrote: >>> >>> So, I'd be willing to hear of alternatives: >>> >>> https://semaphoreci.com - However CPU's given are 2, and time to

Re: [Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-23 Thread Iain Buclaw via D.gnu
On 23 June 2015 at 16:57, Iain Buclaw wrote: > On 23 June 2015 at 12:31, Iain Buclaw wrote: >> On 23 June 2015 at 10:15, Marko Anastasov via D.gnu >> wrote: >>> On Monday, 22 June 2015 at 08:56:54 UTC, Iain Buclaw wrote: So, I'd be willing to hear of alternatives: https://se

Re: [Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-23 Thread Iain Buclaw via D.gnu
On 23 June 2015 at 17:28, Iain Buclaw wrote: > On 23 June 2015 at 16:57, Iain Buclaw wrote: >> On 23 June 2015 at 12:31, Iain Buclaw wrote: >>> On 23 June 2015 at 10:15, Marko Anastasov via D.gnu >>> wrote: On Monday, 22 June 2015 at 08:56:54 UTC, Iain Buclaw wrote: > > So, I'd be

Re: [Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-23 Thread Iain Buclaw via D.gnu
On 23 June 2015 at 18:40, Marko Anastasov via D.gnu wrote: > On Tuesday, 23 June 2015 at 14:57:55 UTC, Iain Buclaw wrote: > >> On 23 June 2015 at 12:31, Iain Buclaw wrote: >> >>> On 23 June 2015 at 10:15, Marko Anastasov via D.gnu >>> wrote: >>> On Monday, 22 June 2015 at 08:56:54 UTC, Iai

Re: [Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-23 Thread Iain Buclaw via D.gnu
On 23 June 2015 at 20:05, Marko Anastasov via D.gnu wrote: > On Tuesday, 23 June 2015 at 17:48:23 UTC, Iain Buclaw wrote: > >> >> So it is possible to manage the `.semaphore-cache` directory in a >> scriptable way then? I'm thinking in terms of checking whether a tarball >> exists either downloa

Re: [Testing] Using Travis CI (or better alternative) for master/branch/PR testing

2015-06-24 Thread Iain Buclaw via D.gnu
On 24 June 2015 at 08:32, Johannes Pfau via D.gnu wrote: > Am Tue, 23 Jun 2015 20:46:41 +0200 > schrieb "Iain Buclaw via D.gnu" : > >> @Johannes, I've created a GDC team on semaphoreci, will add you to it >> along with the build configuration I've set-up

Re: Restructuring the download archive

2015-07-10 Thread Iain Buclaw via D.gnu
On 10 July 2015 at 14:45, Johannes Pfau via D.gnu wrote: > I thinks it's time to push some new binary releases to gdcproject.org > (gcc-5, intrinsics for checkedint, ...). We should first get some structure > into our download archive though: ftp://ftp.gdcproject.org/binaries/ > > The first quest

Re: Restructuring the download archive

2015-07-11 Thread Iain Buclaw via D.gnu
On 11 July 2015 at 10:01, Johannes Pfau via D.gnu wrote: > Am Fri, 10 Jul 2015 16:26:35 +0200 > schrieb "Iain Buclaw via D.gnu" : > > > > Another question: DMD frontend sub-releases in one folder? > > > (2.061|2.061.1|2.061.2) > > > > > >

Re: Restructuring the download archive

2015-07-12 Thread Iain Buclaw via D.gnu
On 12 July 2015 at 10:33, Johannes Pfau via D.gnu wrote: > Am Sat, 11 Jul 2015 13:37:42 +0200 > schrieb "Iain Buclaw via D.gnu" : > > > On 11 July 2015 at 10:01, Johannes Pfau via D.gnu > > wrote: > > > > > > > > Isn't the frontend ver

GDC 2.067 -

2015-08-01 Thread Iain Buclaw via D.gnu
http://wiki.dlang.org/GDC/CurrentReleaseTasks There, just so there is a clear(-ish) goal of what should be done before the 2.067 merge should be considered complete. Regards Iain.

GDC Project site was down (now back up!)

2015-08-06 Thread Iain Buclaw via D.gnu
Hi, Apologies for the site being down for two days, this was due to a hardware defect on the host the site VM was running on, which required an immediate reboot of the system. I have gotten round to adding upstart scripts for both the gdcproject and explore sites, so at least having an autom

Re: Linker errors with i686-w64-mingw32 binaries

2015-08-10 Thread Iain Buclaw via D.gnu
On 6 August 2015 at 13:19, Mike Parker via D.gnu wrote: > On Thursday, 6 August 2015 at 11:07:33 UTC, Mike Parker wrote: > >> Haven't tried the 64-bit binaries yet, but any attempt to compile an >> executable with the 32-bit binaries results in this: >> > > OK, I've tried the x86_64-w64-mingw32 b

GDC site Updates / Upgrades

2015-08-10 Thread Iain Buclaw via D.gnu
Hi, You've probably noticed that I've upgraded our bugzilla to version 5.0. Along with it, there was a pending infrastructure update that did the go ahead on. The technical aspects are that the hosted VM has been migrated from Xen to KVM, whatever that means (hopefully no more downtime in

2.067 Current Release Tasks (Platform Testing)

2015-08-18 Thread Iain Buclaw via D.gnu
I've added a longer section for platform testing: http://wiki.dlang.org/GDC/CurrentReleaseTasks#Platform_Testing From the given link, I've gotten debian mips-linux installed in qemu. So if anyone wants to give any others on that list a try, be my guest. :-) Regards Iain

Re: Which version to use?

2015-09-26 Thread Iain Buclaw via D.gnu
On 27 Sep 2015 12:05 am, "Jeremy DeHaan via D.gnu" wrote: > > On Thursday, 24 September 2015 at 10:21:03 UTC, Johannes Pfau wrote: >> >> Am Thu, 24 Sep 2015 03:07:53 + >> schrieb Jeremy DeHaan : > > > Thanks for the info. That was pretty much what I thought. > > >> BTW: Shipping prebuilt D lib

Re: releases

2015-10-06 Thread Iain Buclaw via D.gnu
On 6 October 2015 at 17:23, Johannes Pfau via D.gnu wrote: > Am Tue, 06 Oct 2015 12:52:23 + > schrieb John Colvin : > > > http://gdcproject.org/downloads are all with gcc 5.2 > > > > https://github.com/D-Programming-GDC/GDC/releases/tag/v2.066.1_gcc5 > > is with gcc 5.1, as is the gdc-5 branc

Re: releases

2015-10-06 Thread Iain Buclaw via D.gnu
On 6 Oct 2015 11:50 pm, "Johannes Pfau via D.gnu" wrote: > > Am Tue, 6 Oct 2015 18:13:26 +0200 > schrieb "Iain Buclaw via D.gnu" : > > > > > I hope you are not backporting latest master to those branches > > too. ;-) > > > > I

Re: import problems

2015-10-14 Thread Iain Buclaw via D.gnu
On 15 Oct 2015 1:35 am, "John Colvin via D.gnu" wrote: > > On Wednesday, 14 October 2015 at 22:08:25 UTC, Johannes Pfau wrote: >> >> Am Tue, 13 Oct 2015 10:16:11 + >> schrieb John Colvin : >> >>> On Tuesday, 13 October 2015 at 10:09:03 UTC, John Colvin wrote: >>> > Where does the information >

Re: import problems

2015-10-15 Thread Iain Buclaw via D.gnu
On 15 October 2015 at 11:16, John Colvin via D.gnu wrote: > On Thursday, 15 October 2015 at 06:43:46 UTC, Iain Buclaw wrote: > >> >> Just packaging GDC? Or do you plan to have third party development >> libraries packaged too? >> > > just GDC for now, no plans for libs at the moment. > > The defa

Re: Does gdb support D enums?

2015-10-21 Thread Iain Buclaw via D.gnu
On 21 October 2015 at 10:45, drug via D.gnu wrote: > Using gdb `print` instead of enum value I see `incomplete type`. Did I > miss something? (I use gdb 7.10 from ttp://ftp.gnu.org/gnu/gdb/) > > Thanks > Depends what you mean by 'enum'. Only integral types are treated as enum in the C sense.

Re: Does gdb support D enums?

2015-10-21 Thread Iain Buclaw via D.gnu
On 21 October 2015 at 19:52, drug via D.gnu wrote: > 21.10.2015 19:31, Iain Buclaw via D.gnu пишет: > >> On 21 October 2015 at 10:45, drug via D.gnu > <mailto:d.gnu@puremagic.com>> wrote: >> >> Using gdb `print` instead of enum value I see `incomplete ty

Re: Phobos differences?

2015-10-23 Thread Iain Buclaw via D.gnu
On 23 Oct 2015 5:30 pm, "Alex Parrill via D.gnu" wrote: > > I've noticed that GDC's version of Phobos is missing some features from DMD's. Is there a place to report this, and is it possible to, in the meantime, use DMD's Phobos? > > Here's some of the things I've noticed in particular: > > * std.

Re: error: symbol (longsymbol) is already defined

2015-11-09 Thread Iain Buclaw via D.gnu
On 9 November 2015 at 00:42, Ellery Newcomer via D.gnu wrote: > Anybody have any idea what's going on here? > > https://travis-ci.org/ariovistus/pyd/jobs/90001785 > > basically, its running > > gdc -c temp.o (d files..) > > and its giving > > Error: symbol > `_D4util11multi_index276__T19MultiInde

Re: DMD to GDC option converter

2015-12-13 Thread Iain Buclaw via D.gnu
On 11 December 2015 at 18:58, Basile B. via D.gnu wrote: > On Friday, 11 December 2015 at 18:24:13 UTC, Johannes Pfau wrote: > >> Am Fri, 11 Dec 2015 17:54:38 + >> schrieb Basile B. : >> >> On Friday, 11 December 2015 at 17:51:52 UTC, Basile B. wrote: >>> > On Friday, 11 December 2015 at 17:3

Re: gdcproject.org is down

2015-12-27 Thread Iain Buclaw via D.gnu
On 27 December 2015 at 07:42, Vladimir Panteleev via D.gnu wrote: > http://gdcproject.org/ seems to be currently inaccessible worldwide. Hi, it's back online now in the last 20 minutes. Graphs seem to suggest network outage between 5.10am and 9.20am GMT. I'll raise a ticket to see what happened,

Re: gdcproject.org is down

2015-12-27 Thread Iain Buclaw via D.gnu
On 27 December 2015 at 10:40, Iain Buclaw wrote: > On 27 December 2015 at 07:42, Vladimir Panteleev via D.gnu > wrote: >> http://gdcproject.org/ seems to be currently inaccessible worldwide. > > Hi, it's back online now in the last 20 minutes. > > Graphs seem to suggest network outage between 5.1

Re: gdcproject.org is down

2015-12-27 Thread Iain Buclaw via D.gnu
On 27 December 2015 at 18:11, Vladimir Panteleev via D.gnu < d.gnu@puremagic.com> wrote: > On Sunday, 27 December 2015 at 12:51:21 UTC, Iain Buclaw wrote: > >> On 27 December 2015 at 10:40, Iain Buclaw wrote: >> >>> On 27 December 2015 at 07:42, Vladimir Panteleev via D.gnu < >>> d.gnu@puremagic.

Re: Build gdc on Windows

2016-02-02 Thread Iain Buclaw via D.gnu
On 3 Feb 2016 3:10 am, "Carl Sturtivant via D.gnu" wrote: > > I'd like to build gdc to be compatible with the Mingw-w64 64-bit gcc on Windows. (Building gdc to be compatible with the Mingw-w64 32-bit gcc on Windows also interests me.) > > Is this feasible right now, and if so, how should I proceed

Re: Build gdc on Windows

2016-02-03 Thread Iain Buclaw via D.gnu
On 3 Feb 2016 8:54 am, "Iain Buclaw" wrote: > > On 3 Feb 2016 3:10 am, "Carl Sturtivant via D.gnu" wrote: > > > > I'd like to build gdc to be compatible with the Mingw-w64 64-bit gcc on Windows. (Building gdc to be compatible with the Mingw-w64 32-bit gcc on Windows also interests me.) > > > > Is

Re: New GDC release?

2016-02-06 Thread Iain Buclaw via D.gnu
On 6 February 2016 at 16:00, John Colvin via D.gnu wrote: > I want to get gdc in to homebrew to make it readily available to a lot of > OS X users, I have got it working for me with the latest master & gdc-5 > branches, but I can't submit it because they won't accept anything that > doesn't have

Re: SIMD intrinsics in GDC

2016-02-13 Thread Iain Buclaw via D.gnu
On 14 Feb 2016 12:20 am, "WebFreak001 via D.gnu" wrote: > > On Wednesday, 11 April 2007 at 01:50:56 UTC, David Friedman wrote: >> >> Yes, these and other "target builtins" will be made available in the next release. > > > soo... when is it going to be released? Not knowing the context of his repl

Re: Inquiring about cross compilation

2016-02-29 Thread Iain Buclaw via D.gnu
On 29 February 2016 at 09:35, Adrian Matoga via D.gnu wrote: > On Saturday, 27 February 2016 at 16:27:31 UTC, Ken Burgett wrote: > >> I am looking at doing a D project and have installed the DMD compiler on >> my 64-bit Ubuntu dev system. My target architecture to ARM, as used in the >> Raspberr

Re: Building GDC

2016-03-02 Thread Iain Buclaw via D.gnu
On 2 Mar 2016 9:09 pm, "asdf via D.gnu" wrote: > > Are there build instructions that don't involve building the rest of GCC at the same time? I realize wrong version mismatches are bad but I'll redo it until it works lol! Sorry, no. GCC isn't a library that you can just link to. You need to bui

DMD 2.067.1 pulled into master

2016-03-06 Thread Iain Buclaw via D.gnu
Hi, https://github.com/D-Programming-GDC/GDC/pull/99 This is now in master. Outside of the D changelog the following command-line arguments have been added / deprecated. -fd-verbose: Deprecated in favour of --verbose (-v) -fd-vtls: Deprecated in favour of -ftransition=tls (equivalent to

Re: "GNU D Compiler" project for GSoC 2016

2016-03-07 Thread Iain Buclaw via D.gnu
On Saturday, 5 March 2016 at 19:46:34 UTC, Abhishek Kumar wrote: Hello I am Abhishek a computer science sophomore from India,I have interest in "GNU D Compiler" project for GSoC 2016.I have downloaded and built D compiler as instructed on documentation page and got familiar with D language.I h

Re: How to say there is a struct of this type at this memory location?

2016-03-08 Thread Iain Buclaw via D.gnu
On 8 Mar 2016 7:55 am, "Timo Sintonen via D.gnu" wrote: > > On Monday, 7 March 2016 at 21:12:02 UTC, Taylor Hillegeist wrote: >> >> I'm working on getting my FRDM-kl25z board up and running with d. whatever works at this point. >> >> The issue is when i try to specify hey this struct is over here!

Re: DMD 2.067.1 pulled into master

2016-03-23 Thread Iain Buclaw via D.gnu
On 23 March 2016 at 05:18, Jack Stouffer via D.gnu wrote: > On Sunday, 6 March 2016 at 16:41:03 UTC, Iain Buclaw wrote: > >> Hi, >> >> https://github.com/D-Programming-GDC/GDC/pull/99 >> >> This is now in master. Outside of the D changelog the following >> command-line arguments have been added

Re: DMD 2.067.1 pulled into master

2016-03-23 Thread Iain Buclaw via D.gnu
On 23 March 2016 at 14:35, Temtaime via D.gnu wrote: > On Wednesday, 23 March 2016 at 13:20:56 UTC, Jack Stouffer wrote: > >> On Wednesday, 23 March 2016 at 11:24:07 UTC, Temtaime wrote: >> >>> So GDC seems to be dead. That's a pity. >>> No one from GDC's team wanna join LDC's one ? >>> >> >> Eit

Re: Adding support for mingw-w64 and winpthread

2016-03-24 Thread Iain Buclaw via D.gnu
On 24 March 2016 at 10:52, Vincent R via D.gnu wrote: > Hi, > > I would like to generate gdc compiler on msys2/mingw-w64 platform. > The build system on msys2 uses archlinux build architecture and the build > file is here: > > https://github.com/vrichomme/MINGW-packages/blob/newfastrelease/mingw-

Re: Defuzzed: a fuzzer for D compilers

2016-04-02 Thread Iain Buclaw via D.gnu
On 2 Apr 2016 7:30 pm, "Sebastien Alaiwan via D.gnu" wrote: > > Hi guys, > > I just started a D fuzzer. The goal is to randomly generate input source files in an attempt to crash the compiler. It's in very early stage at this point (less than 300 loc), but it already can crash gdc. > > https://git

Re: 2.067 Current Release Tasks (Platform Testing)

2016-04-21 Thread Iain Buclaw via D.gnu
On 21 April 2016 at 19:38, David J. Kordsmeier via D.gnu wrote: > On Wednesday, 19 August 2015 at 06:43:35 UTC, Iain Buclaw wrote: >> >> I've added a longer section for platform testing: >> >> http://wiki.dlang.org/GDC/CurrentReleaseTasks#Platform_Testing >> >> From the given link, I've gotten deb

Re: command line option or other method for determining the front end version of gdc

2016-07-24 Thread Iain Buclaw via D.gnu
On 24 July 2016 at 19:00, dan via D.gnu wrote: > One of my machines (running ubuntu mate 16.04) did some update and gdc is no > longer able to compile a library that i like to use (gtkd). > > So i want to build a gdc using an earlier front-end to avoid the problem. > > However, i don't know what f

Nginx + Let's Encrypt!

2016-08-17 Thread Iain Buclaw via D.gnu
Hi, Small changes on server side. The one you won't notice is the web server has been switched over to nginx. The one you will notice is that with it I've made all sites hosted on gdcproject.org are now default ssl-enabled using let's encrypt. I'm probably the last one around here to hop on the

GDC and Codecov

2016-09-11 Thread Iain Buclaw via D.gnu
Hi, Mini-project for anyone wanting to contribute but doesn't want to deal with C/C++. Way back in June/July[1], I started looking at preliminarily at codecov for continuous coverage as well as the semaphore platform we use for builds[1]. After geting a fix in [2] that allows only scanning

Re: ICE when calling templated function from extern (C++) templated function?

2016-12-31 Thread Iain Buclaw via D.gnu
On 28 December 2016 at 07:51, Elronnd via D.gnu wrote: > Here's a minimal example: > > void r(T...)(T args) {} > > extern (C++) { > void s(T...)(T args) { r(args); } > } > > void main() { > s(0); > } > It seems the bug is also in dmd too? Unless it is fixed in maste

Re: ICE when calling templated function from extern (C++) templated function?

2017-01-08 Thread Iain Buclaw via D.gnu
On 8 January 2017 at 09:08, Elronnd via D.gnu wrote: > On Saturday, 31 December 2016 at 15:10:36 UTC, Iain Buclaw wrote: >> >> On 28 December 2016 at 07:51, Elronnd via D.gnu >> wrote: >> *snip* >> It seems the bug is also in dmd too? Unless it is fixed in master/latest >> release, in which case

Re: ICE when calling templated function from extern (C++) templated function?

2017-01-08 Thread Iain Buclaw via D.gnu
On 8 January 2017 at 11:06, Iain Buclaw wrote: > On 8 January 2017 at 09:08, Elronnd via D.gnu wrote: >> On Saturday, 31 December 2016 at 15:10:36 UTC, Iain Buclaw wrote: >>> >>> On 28 December 2016 at 07:51, Elronnd via D.gnu >>> wrote: >>> *snip* >>> It seems the bug is also in dmd too? Unles

Re: ICE when calling templated function from extern (C++) templated function?

2017-01-08 Thread Iain Buclaw via D.gnu
On 8 January 2017 at 16:42, Iain Buclaw wrote: > On 8 January 2017 at 11:06, Iain Buclaw wrote: >> On 8 January 2017 at 09:08, Elronnd via D.gnu wrote: >>> On Saturday, 31 December 2016 at 15:10:36 UTC, Iain Buclaw wrote: On 28 December 2016 at 07:51, Elronnd via D.gnu wrote: >>>

Re: ICE when calling templated function from extern (C++) templated function?

2017-01-08 Thread Iain Buclaw via D.gnu
On 8 January 2017 at 18:23, Iain Buclaw wrote: > On 8 January 2017 at 16:42, Iain Buclaw wrote: >> On 8 January 2017 at 11:06, Iain Buclaw wrote: >>> On 8 January 2017 at 09:08, Elronnd via D.gnu wrote: On Saturday, 31 December 2016 at 15:10:36 UTC, Iain Buclaw wrote: > > On 28 Dec

Re: (Token t) is not callable using argument types (Token): GDC bug or not?

2017-01-29 Thread Iain Buclaw via D.gnu
On 29 January 2017 at 17:59, Matthias Klumpp via D.gnu wrote: > Hi! > When compiling Dustmite on Debian with GDC, the build runs into the > following error on i386: > ``` > splitter.d:875:15: error: function > splitter.DSplitter.postProcessBlockStatements.consume (Token t) is not > callable using

Re: (Token t) is not callable using argument types (Token): GDC bug or not?

2017-01-29 Thread Iain Buclaw via D.gnu
On 29 January 2017 at 19:12, Iain Buclaw wrote: > On 29 January 2017 at 17:59, Matthias Klumpp via D.gnu > wrote: >> Hi! >> When compiling Dustmite on Debian with GDC, the build runs into the >> following error on i386: >> ``` >> splitter.d:875:15: error: function >> splitter.DSplitter.postProces

Re: (Token t) is not callable using argument types (Token): GDC bug or not?

2017-01-29 Thread Iain Buclaw via D.gnu
On 29 January 2017 at 21:05, Matthias Klumpp via D.gnu wrote: > On Sunday, 29 January 2017 at 18:13:25 UTC, Iain Buclaw wrote: >> >> On 29 January 2017 at 19:12, Iain Buclaw wrote: >>> >>> On 29 January 2017 at 17:59, Matthias Klumpp via D.gnu >>> wrote: Hi! When compiling Dustmit

Re: (Token t) is not callable using argument types (Token): GDC bug or not?

2017-01-29 Thread Iain Buclaw via D.gnu
On 29 January 2017 at 22:09, Iain Buclaw wrote: > On 29 January 2017 at 21:05, Matthias Klumpp via D.gnu > wrote: >> On Sunday, 29 January 2017 at 18:13:25 UTC, Iain Buclaw wrote: >>> >>> On 29 January 2017 at 19:12, Iain Buclaw wrote: On 29 January 2017 at 17:59, Matthias Klumpp via D

Re: (Token t) is not callable using argument types (Token): GDC bug or not?

2017-01-30 Thread Iain Buclaw via D.gnu
On 29 January 2017 at 22:45, Iain Buclaw wrote: > On 29 January 2017 at 22:09, Iain Buclaw wrote: >> On 29 January 2017 at 21:05, Matthias Klumpp via D.gnu >> wrote: >>> On Sunday, 29 January 2017 at 18:13:25 UTC, Iain Buclaw wrote: On 29 January 2017 at 19:12, Iain Buclaw wrote:

  1   2   3   4   >