digitalmars.D.learn - Link problem in std.regex with DMD git master
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (42/42) Sep 17 2014 Since a couple of days my DMD git master has start to error as
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (2/5) Sep 17 2014 The error doesn't occur on DMD version 2.066.
- Vladimir Panteleev (4/7) Sep 17 2014 How are you building Phobos?
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (5/7) Sep 17 2014 My installation script for Phobos just copied (appended) to
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (4/6) Sep 17 2014 I guess make install in Phobos is a bit to blame in this regard.
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (2/5) Sep 17 2014 I guess the same goes for druntime.
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/Wo k/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_S3std5regex1 NamedGroup6__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_S3std5regex1 NamedGroup6__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/pho os/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/phob s/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/phob s/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/phob s/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/phob s/std/regex.d:1104: error: undefined reference to 'ref std.regex.Bytecode std.regex.Bytecode.__ctor(std.regex.IR, uint)'
Sep 17 2014
On Wednesday, 17 September 2014 at 23:46:13 UTC, Nordlöw wrote: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?The error doesn't occur on DMD version 2.066.
Sep 17 2014
On Wednesday, 17 September 2014 at 23:46:13 UTC, Nordlöw wrote: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?How are you building Phobos? std.regex was recently split up into a package. Make sure your makefiles are up to date.
Sep 17 2014
On Thursday, 18 September 2014 at 00:18:41 UTC, Vladimir Panteleev wrote:std.regex was recently split up into a package. Make sure your makefiles are up to date.My installation script for Phobos just copied (appended) to target directory. I guess it picked the old version of std.regex. Works now. Thanks!
Sep 17 2014
On Thursday, 18 September 2014 at 00:35:37 UTC, Nordlöw wrote:My installation script for Phobos just copied (appended) to target directory. I guess it picked the old version ofI guess make install in Phobos is a bit to blame in this regard. I'll add some logic in my bash wrapper scripts that removes the installation of Phobos before the new is written there.
Sep 17 2014
On Thursday, 18 September 2014 at 00:38:33 UTC, Nordlöw wrote:I guess make install in Phobos is a bit to blame in this regard. I'll add some logic in my bash wrapper scripts that removes the installation of Phobos before the new is written there.I guess the same goes for druntime.
Sep 17 2014