July 22, 2014
We should promote this DDMD news. There's promise of a self-hosting D compiler which should attract some attention, even if it's not the best compiler in the world yet.
July 22, 2014
"w0rp"  wrote in message news:kuwjnyziibgxudtlgngo@forum.dlang.org... 

> We should promote this DDMD news. There's promise of a self-hosting D compiler which should attract some attention, even if it's not the best compiler in the world yet.

I'd rather wait until we release it.  Or at least merge it into master.
July 22, 2014
"Vladimir Panteleev"  wrote in message news:wauoddrnxevfakktwhme@forum.dlang.org...

> I started a Dustmite reduction at DConf to attempt to reduce the input that made DDMD corrupt memory. The blasted thing ran for weeks and got nowhere close... it seemed almost random. I guess a different approach is required.

I'm hoping I can get the GC's memstomp/sentinel to find it, although that might not work if it's a bug in the GC itself.

My other option is fixing my execution trace debugger (seems to get lost inside a system dll) and spend a few days tracing backwards from the segfault.

At least I found the (an) optimizer bug: https://issues.dlang.org/show_bug.cgi?id=13190 

July 22, 2014
On Tuesday, 22 July 2014 at 14:34:10 UTC, Daniel Murphy wrote:
> You can build it by following the instructions here: https://github.com/D-Programming-Language/dmd/pull/3410

I'm not sure if there is instructions to build it on that link, there is no "ddmd" entry on makefiles and I cant see any branch/tag on git to checkout.

Can you provide more details about how to build it and where the code are hosted?

Cheers !
July 22, 2014
On Tuesday, 22 July 2014 at 18:29:23 UTC, Domingo Alvarez Duarte wrote:
>
> I'm not sure if there is instructions to build it on that link, there is no "ddmd" entry on makefiles and I cant see any branch/tag on git to checkout.

It's only in the src/*.mak files, so for example from root you use: make -C src -f posix.mak ddmd
July 22, 2014
Ok, tried building with LDC and ran into some issues:

At first I tried an older ldmd2 and it error'ed on labels followed by closed brackets. Using a newer version fixed this, but perhaps magicport could follow labels with {}.

Afterwards I ran into an issue with LDC on x86_64 with __va_argsave, so I switched to 32 bit.

Next I ran into symbol conflicts between root.aav._aaLen and object._aaLen (resolved by import'ing root.aav : _aaLen)

Afterwards I needed to change optimize.d's shift_optimize second argument from:
Expression function(Type, Expression, Expression)
to:
typeof(&Shl)

This is a hack, I think it was getting tripped up on the extern(C++).

Next I have an issue with outbuffer.o getting deleted, so I add a step to the make file renaming outbuffer.o to routbuffer.o and I change the name in the ddmd command to use routbuffer.o instead.

Unfortunately all that was for naught as I couldn't get it to link. I tried to rebuild LDC's phobos and druntime for 32 bit but the linker still complained that it was incompatible.
July 22, 2014
On Tuesday, 22 July 2014 at 18:37:44 UTC, safety0ff wrote:
> It's only in the src/*.mak files, so for example from root you use: make -C src -f posix.mak ddmd

It doesn't seem to be only that, something is missing !

:::::::
$:~/dev/d/src/dmd$ make -C src -f posix.mak ddmd
no cpu specified, assuming X86
make: Entering directory `/home/mingo/dev/d/src/dmd/src'
make: *** No rule to make target `ddmd'. Stop.
make: Leaving directory `/home/mingo/dev/d/src/dmd/src'
:::::::

July 22, 2014
On Tuesday, 22 July 2014 at 20:32:41 UTC, Domingo Alvarez Duarte wrote:
> On Tuesday, 22 July 2014 at 18:37:44 UTC, safety0ff wrote:
>> It's only in the src/*.mak files, so for example from root you use: make -C src -f posix.mak ddmd
>
> It doesn't seem to be only that, something is missing !
>

You mentioned not knowing which branch, are you on yebblies' "newmagic" branch?
July 22, 2014
On 22 July 2014 15:00, Tourist via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
> Just curious. I remember that there was some kind of a roadmap, but I cannot find it now.

I'm blocking DDMD.  :o)
July 22, 2014
On Tuesday, 22 July 2014 at 21:36:01 UTC, safety0ff wrote:
>
> You mentioned not knowing which branch, are you on yebblies' "newmagic" branch?

On https://github.com/D-Programming-Language/dmd there is no such branchs !

Is it a fork elsewhere ?