[Nasm-bugs] [Bug 3392420] Incorrect dependency generation in -MD flag

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Tue Aug 8 06:41:41 PDT 2017


https://bugzilla.nasm.us/show_bug.cgi?id=3392420

--- Comment #4 from Martin Storsjö <martin at martin.st> ---
(In reply to kurosu from comment #2)
> In reply to the question in the mail of the posted patch, this is for a
> single pass generation rule, as used by 2 projects that Martin likely knows.
> :-)

What I meant about that is that the assembler internally runs a number of
passes. The bug lies in the fact that it would have worked if it would require
less internal passes. It only records the filenames for the dependency list on
the last run - but include filename lookups are cached, and if cached, aren't
added to the dependency list.

Thinking of it now, I'm not sure if this fix is right, in case the same file is
included multiple times, or if we instead should clear the hash between passes.
That might give some performance hit though.

-- 
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