[Nasm-bugs] [Bug 3392411] New: Smartalign package & "defined on pass two"

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Fri Jun 16 09:12:12 PDT 2017


            Bug ID: 3392411
           Summary: Smartalign package & "defined on pass two"
           Product: NASM
           Version: 2.14 (development)
          Hardware: All
                OS: Windows
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: glucksmann at avast.com
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

Created attachment 411588
  --> https://bugzilla.nasm.us/attachment.cgi?id=411588&action=edit
A sample demonstrating the problem with smart alignment

When using the smartalign package, I sometimes encounter weird issues - which
just disappear when an instruction is added or removed.

I managed to reduce my code to the attached sample, consisting of nothing but
NOPs and one jump. nasm 2.14rc0 (on Windows) won't compile it:
nasm.exe test.asm -o test.obj -f win64
test.asm:17: warning: label `.. at 9.end' defined on pass two
test.asm:17: error: symbol `.. at 9.end' undefined

However, just remove one of the NOPs and it suddenly succeeds.

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