www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD git master build broken

reply "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
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
next sibling parent reply Steven Schveighoffer <schveiguy gmail.com> writes:
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 10
parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Sun, May 10, 2020 at 12:25:18PM -0400, Steven Schveighoffer via
Digitalmars-d wrote:
 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.
[...] What's the earliest supported bootstrapping compiler? I'm using 2.079 as the bootstrapper (which hasn't changed for a long time). T -- Famous last words: I *think* this will work...
May 24
prev sibling parent Petar Kirov [ZombineDev] <petar.p.kirov gmail.com> writes:
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
May 11