[Nasm-bugs] [Bug 3392586] New: preprocessor issue with git master

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Wed Aug 7 03:56:10 PDT 2019


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

            Bug ID: 3392586
           Summary: preprocessor issue with git master
           Product: NASM
           Version: unspecified
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: sezeroz at gmail.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

./nasm -I./ -I../h2shared/ -f coff -o d_polysa.o ../h2shared/d_polysa.asm
../h2shared/d_polysa.asm:740: error: symbol `DPS_MAXSPANS' not defined
../h2shared/d_polysa.asm:846: error: symbol `DPS_MAXSPANS' not defined
../h2shared/d_polysa.asm:1114: error: symbol `DPS_MAXSPANS' not defined

$ cat ../h2shared/d_polysa.inc
%define CACHE_SIZE      32
%define MAXHEIGHT       1024
%define DPS_MAXSPANS    MAXHEIGHT+1
%define spanpackage_t_size                              32
%define SPAN_SIZE       (((DPS_MAXSPANS + 1 + ((CACHE_SIZE - 1) /
spanpackage_t_size)) + 1) * spanpackage_t_size)


This used to work with 2.14.03rc2.  If you need access to actual
asm sources in question, here:
https://sf.net/p/uhexen2/code/HEAD/tree/trunk/engine/h2shared/d_polysa.asm
https://sf.net/p/uhexen2/code/HEAD/tree/trunk/engine/h2shared/d_polysa.inc
https://sf.net/p/uhexen2/code/HEAD/tree/trunk/engine/h2shared/asm_nasm.inc

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