Bug 4814 – rdmd: Doesn't rebuild when using -of and turning an -L linker option on or off
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2010-09-04T22:01:00Z
Last change time
2015-06-09T05:11:48Z
Assigned to
nobody
Creator
bus_dbugzilla
Comments
Comment #0 by bus_dbugzilla — 2010-09-04T22:01:10Z
$ cat test.d
void func()
{
assert(1 == 0);
}
void main()
{
func();
}
$ rdmd --chatty -oftest test
[compiles, shows no symbols in stack trace]
$ rdmd --chatty -oftest -L--export-dynamic test
[calls dmd to check deps but does *not* recompile,
still no symbols in stack trace]
$ touch test.d
$ rdmd --chatty -oftest -L--export-dynamic test
[recompiles, now shows symbols in stack trace]
$ rdmd --chatty -oftest test
[calls dmd to check deps but does *not* recompile,
still shows symbols in stack trace]
Comment #1 by bus_dbugzilla — 2010-09-07T16:16:16Z
This seems to apply to any linker option.
Comment #2 by code — 2012-02-26T12:17:46Z
This seems to apply to any compiler flags.
At least it happens with switching on/off -unittest.