[Nasm-bugs] [Bug 3392715] New: dav1d build fails on i686 with 2.15.04 (regression)

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Tue Aug 25 19:47:53 PDT 2020


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

            Bug ID: 3392715
           Summary: dav1d build fails on i686 with 2.15.04 (regression)
           Product: NASM
           Version: 2.15 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: mh+anfz at glandium.org
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Build from source archive using configure

```
$ nasm -o cdef_sse.o -f elf32 -F dwarf -I/tmp/gecko/third_party/dav1d/src/
-DHAVE_AVX512ICL=1 -I/tmp/gecko/media/libdav1d/asm/x86_32/  
/tmp/gecko/third_party/dav1d/src/x86/cdef_sse.asm
/tmp/gecko/third_party/dav1d/src/x86/cdef_sse.asm:1340: error: `%ifndef'
expects macro identifiers
/tmp/gecko/third_party/dav1d/src/x86/cdef_sse.asm:260: ... from macro
`CDEF_FILTER' defined here
/tmp/gecko/third_party/dav1d/src/x86/cdef_sse.asm:264: ... from macro `LEA'
defined here
/tmp/gecko/third_party/dav1d/src/x86/cdef_sse.asm:1197: ... from macro `call'
defined here
/tmp/gecko/third_party/dav1d/src/x86/cdef_sse.asm:1204: ... from macro
`call_internal' defined here
(...)
```

git bisect tells me:

```
6263a2a4c2883f86a0339701bc0a99eaf2a783e6 is the first bad commit
commit 6263a2a4c2883f86a0339701bc0a99eaf2a783e6
Author: H. Peter Anvin <hpa at zytor.com>
Date:   Sat Jul 18 13:47:59 2020 -0700

    preproc: add %*? and %*??

    The %? and %?? tokens are ambiguous when used inside a multi-line
    macro. Add tokens %*? and %*?? that only expand during single-macro
    expansion.

    Signed-off-by: H. Peter Anvin (Intel) <hpa at zytor.com>

 asm/preproc.c    | 161 ++++++++++++++++++++++++++++++++++++++++---------------
 doc/changes.src  |  12 +++++
 doc/nasmdoc.src  |  49 ++++++++++++++---
 test/selfref.asm |  24 +++++++++
 4 files changed, 196 insertions(+), 50 deletions(-)
 create mode 100644 test/selfref.asm
```

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