Link problem in std.regex with DMD git master

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 17 16:46:12 PDT 2014


Since a couple of days my DMD git master has start to error as 
below when I compiled programs that import std.regex. What's 
wrong?

dmd -vcolumns -debug -g -gs -unittest -wi -main conceptnet5.d 
/home/per/Work/justd/languages.d 
/home/per/Work/justd/algorithm_ex.d /home/per/Work/justd/dbg.d 
/home/per/Work/justd/wordnet.d 
/home/per/Work/justd/backtrace/backtrace.d 
/home/per/Work/justd/traits_ex.d /home/per/Work/justd/range_ex.d 
/home/per/Work/justd/rational.d /home/per/Work/justd/bitset.d 
/home/per/Work/justd/bitop_ex.d /home/per/Work/justd/msgpack.d 
/home/per/Work/justd/random_ex.d /home/per/Work/justd/assert_ex.d 
-of/home/per/.emacs.d/auto-builds/dmd/Debug-Boundscheck-Unittest/home/per/Work/justd/conceptnet5 
2>&1 | ddemangle
/home/per/Work/justd/msgpack.d(4614,25): Warning: calling 
msgpack.pack!(false, string).pack without side effects discards 
return value of type ubyte[], prepend a cast(void) if intentional
/home/per/Work/justd/msgpack.d(4614,25): Warning: calling 
msgpack.pack!(false, string).pack without side effects discards 
return value of type ubyte[], prepend a cast(void) if intentional
/home/per/.emacs.d/auto-builds/dmd/Debug-Boundscheck-Unittest/home/per/Work/justd/conceptnet5.o:__main.d:_D32TypeInfo_S3std5regex10NamedGroup6__initZ: 
error: undefined reference to 'nothrow @trusted ulong 
std.regex.NamedGroup.__xtoHash(ref const(std.regex.NamedGroup))'
/home/per/.emacs.d/auto-builds/dmd/Debug-Boundscheck-Unittest/home/per/Work/justd/conceptnet5.o:__main.d:_D32TypeInfo_S3std5regex10NamedGroup6__initZ: 
error: undefined reference to 'bool 
std.regex.NamedGroup.__xopEquals(ref const(std.regex.NamedGroup), 
ref const(std.regex.NamedGroup))'
/home/per/opt/x86_64-unknown-linux-gnu/dmd/linux/bin64/src/phobos/std/regex.d:965: 
error: undefined reference to 'std.regex.Bytecode 
std.regex.Bytecode.fromRaw(uint)'
/home/per/opt/x86_64-unknown-linux-gnu/dmd/linux/bin64/src/phobos/std/regex.d:1040: 
error: undefined reference to 'ref std.regex.Bytecode 
std.regex.Bytecode.__ctor(std.regex.IR, uint)'
/home/per/opt/x86_64-unknown-linux-gnu/dmd/linux/bin64/src/phobos/std/regex.d:1067: 
error: undefined reference to 'ref std.regex.Bytecode 
std.regex.Bytecode.__ctor(std.regex.IR, uint)'
/home/per/opt/x86_64-unknown-linux-gnu/dmd/linux/bin64/src/phobos/std/regex.d:1091: 
error: undefined reference to 'ref std.regex.Bytecode 
std.regex.Bytecode.__ctor(std.regex.IR, uint)'
/home/per/opt/x86_64-unknown-linux-gnu/dmd/linux/bin64/src/phobos/std/regex.d:1104: 
error: undefined reference to 'ref std.regex.Bytecode 
std.regex.Bytecode.__ctor(std.regex.IR, uint)'


More information about the Digitalmars-d-learn mailing list