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

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Thu Sep 19 01:14:39 PDT 2019


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

--- Comment #6 from C. Masloch <pushbx at ulukai.org> ---
Both the assembly table testcase and another new testcase still fail in a
similar way. Again the precise errors changed from the prior commit to this
one, but they're of the same kinds.

Building this script is the second testcase, newnasm is
https://repo.or.cz/nasm.git/commitdiff/f7dbdb2e136db99051b14403a0f29c5155bbf7d8
here (used only for building bootimg.asm):

https://hg.ulukai.org/ecm/bootimg/rev/32faed02b0db

bootimg$ (cd ../ldosboot; oldnasm boot.asm -I ../lmacros/
-D_LOAD_NAME="'LDEBUG'" -D_FAT16=0 -D_MAP=boot12.map -l boot12.lst -o
boot12.bin) && newnasm bootimg.asm -I ../lmacros/ -I ../ldosboot/ -o
bootimg.img -l bootimg.lst
-D_PAYLOADFILE="'../ldebug/bin/ldebug.com',::empty,::chdir,'ddebug','../ldebug/bin/lddebug.com',::chdir,'subdir','bootimg.asm',::chdir,..,::chdir,.."
-D_BOOTFILE="'boot12.bin'" && dosemu -I "floppy { device bootimg.img threeinch
}" -A -dumb
boot.asm:1328: warning: FAT12: 7 bytes still available. [-w+user]
bootimg.asm:627: error: Too long name part in '../ldebug/bin/ldebug.com'
bootimg.asm:627: error: _fill: data too large, exceeds size
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: Too long name part in 'ddebug'
bootimg.asm:627: error: _fill: data too large, exceeds size
bootimg.asm:627: error: TIMES value -6 is negative
bootimg.asm:627: error: TIMES value -6 is negative
bootimg.asm:627: error: TIMES value -6 is negative
bootimg.asm:627: error: Too long name part in '../ldebug/bin/lddebug.com'
bootimg.asm:627: error: _fill: data too large, exceeds size
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: Too long name part in 'subdir'
bootimg.asm:627: error: _fill: data too large, exceeds size
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: Too long name part in 'bootimg.asm'
bootimg.asm:627: error: _fill: data too large, exceeds size
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg$

Same file with same options but an older NASM succeeds without errors or
warnings. You can provide arbitrary filenames instead of the ones I used, it
probably doesn't matter. For example, this fails too:

bootimg$ (cd ../ldosboot; oldnasm boot.asm -I ../lmacros/
-D_LOAD_NAME="'LDEBUG'" -D_FAT16=0 -D_MAP=boot12.map -l boot12.lst -o
boot12.bin) && newnasm bootimg.asm -I ../lmacros/ -I ../ldosboot/ -o
bootimg.img -l bootimg.lst
-D_PAYLOADFILE="'boot12.bin',::empty,::chdir,'subdir','bootimg.asm',::chdir,.."
-D_BOOTFILE="'boot12.bin'"
boot.asm:1328: warning: FAT12: 7 bytes still available. [-w+user]
bootimg.asm:627: error: Too long name part in 'boot12.bin'
bootimg.asm:627: error: _fill: data too large, exceeds size
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: Too long name part in 'subdir'
bootimg.asm:627: error: _fill: data too large, exceeds size
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: Too long name part in 'bootimg.asm'
bootimg.asm:627: error: _fill: data too large, exceeds size
bootimg.asm:627: error: TIMES value -7 is negative
bootimg.asm:627: error: TIMES value -7 is negative
bootimg$

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