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.
Comment #3 by andrei — 2013-03-07T09:30:07Z
Comment #4 by github-bugzilla — 2013-03-07T14:19:45Z
Commits pushed to master at https://github.com/D-Programming-Language/tools https://github.com/D-Programming-Language/tools/commit/a76dc63b2a662d5ba21ed8a55f6b56cce158900d Fix issue 4814 https://github.com/D-Programming-Language/tools/commit/e14e0378375d1bb586871f8e66cc501dac64a7e1 Merge pull request #49 from andralex/4814 Fix Issue 4814 - rdmd: Doesn't rebuild when using -of and turning an -L linker option on or off
Comment #5 by andrej.mitrovich — 2013-03-07T14:20:55Z
Can we get an RDMD component added to bugzilla?