After updating to dev-lang/nasm-2.10.06 (from dev-lang/nasm-2.10.05), nasm fails to compile games-emulation/zsnes and couple other things due to nasm parser bugs, older versions work fine. testcase.asm: db ' \ ' db ' ' Mask 2.10.06 for now? Reproducible: Always Steps to Reproduce: 1. emerge =nasm-2.10.06 2. cat > testcase.asm << EOF db ' \ ' db ' ' 3. nasm -o testcase.o testcase.asm Actual Results: nasm -o testcase.o testcase.asm testcase.asm:2: error: comma expected after operand 1 Expected Results: assembled file like older versions Note: tested on 2 other gentoo installs Portage 2.2.0_alpha149 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.16.0, 3.7.1-gentoo x86_64) ================================================================= System uname: Linux-3.7.1-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.2 Timestamp of tree: Sun, 23 Dec 2012 23:00:01 +0000 ld GNU ld (Linux/GNU Binutils) 2.23.51.0.7.20121218 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.8 [disabled] app-shells/bash: 4.2_p39-r1 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.3-r3, 3.3.0-r1 dev-util/ccache: 3.1.8 dev-util/cmake: 2.8.10.2 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6, 1.12.6 sys-devel/binutils: 2.23.51.0.7 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.16.0 Repositories: gentoo local ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-z,combreloc -Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa amd64 bluetooth cxx dmx fbcon gif iconv ipv6 ithreads jpeg lcms mmx mmxext mng multilib ncurses nls nptl offensive opengl openmp openssl oss pam png profile sse sse2 sse3 ssl ssse3 tcpd threads truetype udev unicode xattr xcb xft xinerama xv zlib" ALSA_CARDS="hda-intel dummy seq-dummy loopback virmidi serial-u16550 intel8x0m" ALSA_PCM_PLUGINS="*" ELIBC="glibc" ENLIGHTENMENT_MODULES="*" INPUT_DEVICES="evdev keyboard mouse joystick void synaptics" KERNEL="linux" LINGUAS="en en_US en_GB pl" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
typo (forgot EOF) > Steps to Reproduce: 1. emerge =nasm-2.10.06 2. cat > testcase.asm << EOF db ' \ ' db ' ' EOF 3. nasm -o testcase.o testcase.asm > Actual Results: > nasm -o testcase.o testcase.asm > testcase.asm:2: error: comma expected after operand 1
nasm-2.10.06 is gone. No reason to have buggy versions in portage. We'll pick up the next version instead. Thanks for the bug report.
Check nasm changelog: http://www.nasm.us/doc/nasmdocc.html
nasm 2.10.07 available. Please retest with new version. http://www.nasm.us/pub/nasm/releasebuilds/2.10.07/