[Nasm-bugs] [Bug 3392420] New: Incorrect dependency generation in -MD flag
no-reply at bugzilla-nasm.gorcunov.org
no-reply at bugzilla-nasm.gorcunov.org
Tue Aug 8 05:55:22 PDT 2017
https://bugzilla.nasm.us/show_bug.cgi?id=3392420
Bug ID: 3392420
Summary: Incorrect dependency generation in -MD flag
Product: NASM
Version: 2.13.xx
Hardware: All
OS: All
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: kurosu at free.fr
CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
Obtained from: From OS distribution
Created attachment 411600
--> https://bugzilla.nasm.us/attachment.cgi?id=411600&action=edit
Simplified example source code
Platform is MSYS2 (no idea if patches were applied). Package
"mingw64/mingw-w64-x86_64-nasm 2.13.01-1" is installed.
With the attached files (purposely reduced), running:
nasm -f win64 <OPTIONS> test.d -o /dev/null test2.asm && cat test.d
results in:
- with <OPTIONS>="-MD", "nul: test2.asm"
- with <OPTIONS>="-M -MF", "nul: test2.asm test1.asm"
Only the second output is valid.
Larger, more meaningful commands and source code are equally affected.
To summarize, -MD doesn't seem to properly output all dependencies, in
particular those due to %include.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list