[Nasm-bugs] [Bug 3392599] New: git nasm: nondeterministic errors when building lDebug assembler tables

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Sat Aug 10 03:34:21 PDT 2019


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

            Bug ID: 3392599
           Summary: git nasm: nondeterministic errors when building lDebug
                    assembler tables
           Product: NASM
           Version: 2.15 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: blocker
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: pushbx at 38.de
                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

The following shows some runs of
https://bitbucket.org/ecm/ldebug/commits/6014233db06a908f4e50095601be0fc4c1e292a1
(branch nasm-test-20190810) +
https://bitbucket.org/ecm/lmacros/src/44c3a480632df5887e825d6372d8ecc28f9bd0be
being assembled with the most recent NASM, nasm-2.14.03rc2-364-gab6f8319

source$ nasm -v
NASM version 2.15rc0 compiled on Aug 10 2019
source$ nasm debug.asm -I ../../lmacros/
debugtbl.inc:12: error: control character in string not allowed here
debugtbl.inc:76: error: expression syntax error
asmtabs.asm:366: error: symbol `OPLIST_01' not defined
asmtabs.asm:366: error: symbol `OPLIST_02' not defined
asmtabs.asm:366: error: symbol `OPLIST_42' not defined
source$ nasm debug.asm -I ../../lmacros/
debugtbl.inc:11: error: expression syntax error
debugtbl.inc:75: error: control character in string not allowed here
asmtabs.asm:366: error: symbol `OPLIST_01' not defined
asmtabs.asm:366: error: symbol `OPLIST_3F' not defined
asmtabs.asm:366: error: symbol `OPLIST_41' not defined
asmtabs.asm:366: error: symbol `OPLIST_42' not defined
source$ nasm debug.asm -I ../../lmacros/
debugtbl.inc:11: error: control character in string not allowed here
asmtabs.asm:366: error: symbol `OPLIST_01' not defined
asmtabs.asm:366: error: symbol `OPLIST_43' not defined
source$ nasm debug.asm -I ../../lmacros/
debugtbl.inc:11: error: control character in string not allowed here
debugtbl.inc:11: error: expression syntax error
debugtbl.inc:12: error: control character in string not allowed here
debugtbl.inc:76: error: control character in string not allowed here
debugtbl.inc:77: error: control character in string not allowed here
asmtabs.asm:366: error: symbol `OPLIST_01' not defined
asmtabs.asm:366: error: symbol `OPLIST_02' not defined
asmtabs.asm:366: error: symbol `OPLIST_42' not defined
asmtabs.asm:366: error: symbol `OPLIST_43' not defined
source$ nasm debug.asm -I ../../lmacros/
debugtbl.inc:11: error: control character in string not allowed here
debugtbl.inc:12: error: control character in string not allowed here
debugtbl.inc:76: error: control character in string not allowed here
asmtabs.asm:366: error: symbol `OPLIST_01' not defined
asmtabs.asm:366: error: symbol `OPLIST_02' not defined
asmtabs.asm:366: error: symbol `OPLIST_42' not defined
source$ nasm debug.asm -I ../../lmacros/
debugtbl.inc:11: error: control character in string not allowed here
debugtbl.inc:11: error: expression syntax error
debugtbl.inc:12: error: control character in string not allowed here
debugtbl.inc:12: warning: unterminated string [-w+other]
debugtbl.inc:12: error: expression syntax error
debugtbl.inc:73: error: control character in string not allowed here
debugtbl.inc:75: error: control character in string not allowed here
debugtbl.inc:76: error: control character in string not allowed here
debugtbl.inc:77: error: control character in string not allowed here
debugtbl.inc:77: error: expression syntax error
debugtbl.inc:78: error: control character in string not allowed here
asmtabs.asm:366: error: symbol `OPLIST_01' not defined
asmtabs.asm:366: error: symbol `OPLIST_02' not defined
asmtabs.asm:366: error: symbol `OPLIST_3F' not defined
asmtabs.asm:366: error: symbol `OPLIST_41' not defined
asmtabs.asm:366: error: symbol `OPLIST_42' not defined
asmtabs.asm:366: error: symbol `OPLIST_43' not defined
asmtabs.asm:366: error: symbol `OPLIST_44' not defined
source$ 


I tried stripping down the test case further, but at some point (eg when
removing part of the mnlist table from debugtbl.inc) there do no longer occur
any errors.

NASM version 2.12.02 doesn't have any problems with this code:

source$ oldnasm -v
NASM version 2.12.02 compiled on Aug 10 2019
source$ oldnasm debug.asm -I ../../lmacros/
source$

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