Package: nasm
Version: 2.12.01-1+b1
Severity: normal

Dear Maintainer,

Using nasm 2.12.01, an %error inside an %if is apparently not executed. %fatal
in the same place does get executed. In the following example, it is expected
that a non-zero value for F should execute the %error (and fail assembly). In a
2.14rc0 snapshot this error does not occur any longer.

$ cat nasmbug.asm
%if F
;%fatal within F
 %error Invalid size F
%endif
;%fatal after F
$ nasm -v
NASM version 2.12.01
$ nasm -DF=0 nasmbug.asm -o nasmbug.bin
$ nasm -DF=1 nasmbug.asm -o nasmbug.bin
$ ./nasm -v
NASM version 2.14rc0-20170624 compiled on Jun 24 2017
$ ./nasm -DF=0 nasmbug.asm -o nasmbug.bin
$ ./nasm -DF=1 nasmbug.asm -o nasmbug.bin
nasmbug.asm:3: error: Invalid size 1
$



-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-3-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_gb.u...@iso8601.utf-8, LC_CTYPE=en_gb.u...@iso8601.utf-8 
(charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nasm depends on:
ii  dpkg          1.18.24
ii  install-info  6.3.0.dfsg.1-1+b2
ii  libc6         2.24-11+deb9u1

nasm recommends no packages.

nasm suggests no packages.

-- no debconf information

Reply via email to