[Dlang-internal] Cannot build dmd from git going from v2.78.3

Jacob Carlborg doob at me.com
Wed May 15 09:41:54 UTC 2019


On 2019-05-15 09:46, Patrick Schluter wrote:
> Hi,
> 
> I have a problem with the dmd git repository. I cannot compile de 
> compiler for versions newer than v2.78.2.
> I can build every version up until v2.78.2. When I try to build v2.78.3 
> I get following error message:
> 
> CC="c++" dmd -lib -of../generated/linux/release/64/lexer.a -m64 
> -J../generated/linux/release/64 -L-lstdc++ -version=MARS -fPIC -w -de 
> dmd/console.d dmd/entity.d dmd/errors.d dmd/globals.d dmd/id.d 
> dmd/identifier.d dmd/lexer.d dmd/tokens.d dmd/utf.d dmd/root/array.d 
> dmd/root/ctfloat.d dmd/root/file.d dmd/root/filename.d 
> dmd/root/outbuffer.d dmd/root/port.d dmd/root/rmem.d 
> dmd/root/rootobject.d dmd/root/stringtable.d dmd/root/hash.d
> dmd/entity.d(2387): Error: undefined identifier __equals in module object
> make[1]: *** [../generated/linux/release/64/lexer.a] Error 1
> rm optabgen.out
> make[1]: Leaving directory `/ec/dev/server/euramis/u000/schlupa/D/dmd/src'
> make: *** [all] Error 2
> error: make failed
> 
> Does anyone have an idea what can be wrong? Is something missing somewhere?

As far as I know `__equals` is a function that the compiler lowers 
comparisons to. If I would guess I would say that your host compiler and 
its druntime doesn't match.

-- 
/Jacob Carlborg


More information about the Dlang-internal mailing list