Thread overview
DMD git master build broken
May 10, 2020
H. S. Teoh
May 10, 2020
After updating to the latest git master, trying to build dmd aborts with this error:

-------
ERROR: Error: pointer cast from `dmd.mtype.TypeTuple` to
`immutable(void*)**` is not supported at compile time
       called from here: `super.this()`
dmd/mtype.d(6228):        called from here: `super.this(cast(ubyte)37u)`

make[1]: *** [posix.mak:110: dmd] Error 1
make[1]: Leaving directory '/usr/src/d/dmd/src'
make: *** [posix.mak:8: all] Error 2
-------

What gives?


T

-- 
Маленькие детки - маленькие бедки.
May 10, 2020
On 5/10/20 11:54 AM, H. S. Teoh wrote:
> After updating to the latest git master, trying to build dmd aborts with
> this error:
> 
> -------
> ERROR: Error: pointer cast from `dmd.mtype.TypeTuple` to
> `immutable(void*)**` is not supported at compile time
>         called from here: `super.this()`
> dmd/mtype.d(6228):        called from here: `super.this(cast(ubyte)37u)`
> 
> make[1]: *** [posix.mak:110: dmd] Error 1
> make[1]: Leaving directory '/usr/src/d/dmd/src'
> make: *** [posix.mak:8: all] Error 2
> -------
> 
> What gives?

What is your bootstrapping compiler? Maybe something changed there.

-Steve
May 11, 2020
On Sunday, 10 May 2020 at 15:54:43 UTC, H. S. Teoh wrote:
> After updating to the latest git master, trying to build dmd aborts with this error:
>
> -------
> ERROR: Error: pointer cast from `dmd.mtype.TypeTuple` to
> `immutable(void*)**` is not supported at compile time
>        called from here: `super.this()`
> dmd/mtype.d(6228):        called from here: `super.this(cast(ubyte)37u)`
>
> make[1]: *** [posix.mak:110: dmd] Error 1
> make[1]: Leaving directory '/usr/src/d/dmd/src'
> make: *** [posix.mak:8: all] Error 2
> -------
>
> What gives?
>
>
> T

I'm using a script that I have written [1] to clone/update/clean/build the core repos on Linux and everything works for me.

[1]: https://gist.github.com/PetarKirov/f36452fbb20d1a3a62cec3b61ea49e24