[Nasm-bugs] [Bug 3392829] New: broken parsing of the "--" end-of-options delimiter

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Jan 2 05:07:36 PST 2023


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

            Bug ID: 3392829
           Summary: broken parsing of the "--" end-of-options delimiter
           Product: NASM
           Version: 2.15.xx
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: lersek at redhat.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Built from git using configure

* Per my bisection, nasm broke the parsing of the "--" end-of-options delimiter
in commit 55568c1193df ("nasm: scan the command line twice", 2016-10-03), which
was part of the nasm-2.13 release.

The parsing remains broken in at least nasm-2.15.03. The (invalid) error
message is: "more than one input file specified".

Reproducer:

nasm -o whatever.bin -- whatever.asm

* ndisasm never supported the end-of-options delimiter, as far as I know. For
conformance with the general utility guidelines, it would be nice if the
delimiter weren't only fixed for nasm, but also introduced afresh to ndisasm
too.

Thanks for considering!

(If this has been fixed in 2.16 or 2.17 meanwhile, then I apologize for the
noise -- my distro provides 2.15 at the moment, and I can't even build 2.16+,
because the autoconf requirement (2.71) is not satisfied by my distro either
(it provides 2.69).)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list