Re: Missing NUL terminator when using "-MT " option

2021-11-30 Thread Sebastien Alaiwan via D.gnu
On 28/11/2021 23.21, Iain Buclaw via D.gnu wrote: In all likelihood I just need to backport this patch which got applied back in July. https://gcc.gnu.org/pipermail/gcc-patches/2021-July/576395.html Which coincidentally, I was just asked to backport it to gcc-11 just the other day too. https

Missing NUL terminator when using "-MT " option

2021-11-28 Thread Sebastien Alaiwan via D.gnu
Hi, It seems that the output target name gets corrupted (see the extra chars at the end of 'MyTargetName'): *$ cat test.d* // empty file *$ gdc -Isrc -MM "test.d" -MT "MyTargetName" -MF "test.deps"* *$ cat test.deps* MyTargetName�: test.d *$ gdc --version* gdc (Debian 11

Re: Strange Multiple Definition Error using makefile

2018-12-27 Thread Sebastien Alaiwan via D.gnu
Could you please post the console output (the exact commands invoked by make) ?

Re: [Bug 273] Unexplained crash in generated binary

2017-10-01 Thread Sebastien Alaiwan via D.gnu
On Sunday, 1 October 2017 at 21:19:16 UTC, Iain Buclaw wrote: Yes, the safe workaround is to have a pointer in the Derived class [...] Found the cause, and pushing a fix right now. :-) This is great, thanks to both of you guys!

Re: [Bug 273] Unexplained crash in generated binary

2017-10-01 Thread Sebastien Alaiwan via D.gnu
On Saturday, 30 September 2017 at 08:08:29 UTC, Iain Buclaw wrote: --- Comment #4 from Iain Buclaw --- If there's a specific configuration that defeats the GC's ability to determine live objects from unreferenced, I'd like to know about it. This one is blocking us (luckily, only on one proje

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

2017-01-24 Thread Sebastien Alaiwan via D.gnu
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 changed: What|Removed |Added

Re: Helloworld fails to link on Debian

2016-12-22 Thread Sebastien Alaiwan via D.gnu
Just to show that my compiler is up-to-date: $ dpkg -l | grep "gdc\|phobos" ii gdc 4:6.2.1-1 amd64D compiler (language version 2), based on the GCC backend ii gdc-6 6.2.1-5

Helloworld fails to link on Debian

2016-12-22 Thread Sebastien Alaiwan via D.gnu
$ cat hello.d import std.stdio; int main() { writefln("Hello, world"); return 0; } $ gdc hello.d /usr/bin/ld: /tmp/cc03E6ZO.o: relocation R_X86_64_PC32 against symbol `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNbNcNiNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec' can not

Re: Where is the GDC binaries for Windows targeting windows?

2016-07-21 Thread Sebastien Alaiwan via D.gnu
On Thursday, 21 July 2016 at 18:39:29 UTC, Rufus Smith wrote: So... seems pretty simple to me! No need to be sarcastic. I understand your frustation about the unavailability of precompiled native mingw binaries ; however please understand that I'm trying to help you here. no windows version

Re: Where is the GDC binaries for Windows targeting windows?

2016-07-20 Thread Sebastien Alaiwan via D.gnu
On Wednesday, 20 July 2016 at 21:23:03 UTC, Rufus Smith wrote: It seems seem all that simple to me! I have to download several packages(gcc, binutils, glib, mingw, etc) and hope they all work. Sorry if I wasn't clear: the script will download the required packages, in pre-decided versions, comp

Re: Where is the GDC binaries for Windows targeting windows?

2016-07-20 Thread Sebastien Alaiwan via D.gnu
The bad news is that you will have to build it yourself, the good news is that it's easy. I recently pushed 'one-shot' build scripts for building GDC. These might help you getting a working GDC compiler targetting windows. The usage is rather simple: $ git clone https://github.com/Ace17/toolc

Re: Defuzzed: a fuzzer for D compilers

2016-04-03 Thread Sebastien Alaiwan via D.gnu
On Sunday, 3 April 2016 at 12:08:32 UTC, Stefan Koch wrote: there is also generated from Brain Schott aka. Hackerpilot. It may be useful to take a peek there. Thanks, this definitely is going to be a source of inspiration! (I'm also looking at AFL (American Fuzzy Lop) - lots of great stuff in

Defuzzed: a fuzzer for D compilers

2016-04-02 Thread Sebastien Alaiwan via D.gnu
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://github.com/Ace17/defuzzed Please let me know if you think this could

Re: DMD 2.067.1 pulled into master

2016-03-23 Thread Sebastien Alaiwan via D.gnu
On 2016-03-23 12:24, Temtaime via D.gnu wrote: > > On Wednesday, 23 March 2016 at 08:58:58 UTC, Iain Buclaw wrote: >> 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-Program

Re: Building GDC

2016-03-02 Thread Sebastien Alaiwan via D.gnu
On 2016-03-02 07:47, 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! I don't think so. Blame the legendary GCC modularity! I wrote a simple scrip

Re: Build gdc on Windows

2016-02-02 Thread Sebastien Alaiwan via D.gnu
On 2016-02-03 03:06, 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?