../dav1d-0.7.0/src/x86/msac.asm:787: ... from macro `cglobal_internal' defined here ../dav1d-0.7.0/src/x86/msac.asm:656: ... from macro `PROLOGUE' defined here ../dav1d-0.7.0/src/x86/msac.asm:88: error: `%ifndef' expects macro identifiers ../dav1d-0.7.0/src/x86/msac.asm:263: ... from macro `LEA' defined here ../dav1d-0.7.0/src/x86/msac.asm:1176: ... from macro `call' defined here ../dav1d-0.7.0/src/x86/msac.asm:1183: ... from macro `call_internal' defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-libressl_abi32+64-20200821-231953 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * clang version 10.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.1 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python2.7 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) * The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Aug 23 03:05:29 PM UTC 2020 /var/db/repos/libressl Mon Aug 10 09:13:35 AM UTC 2020 emerge -qpvO media-libs/dav1d [ebuild N ] media-libs/dav1d-0.7.0 USE="10bit 8bit asm" ABI_X86="32 (64) (-x32)"
Created attachment 656368 [details] emerge-info.txt
Created attachment 656370 [details] emerge-history.txt
Created attachment 656372 [details] environment
Created attachment 656374 [details] etc.portage.tbz2
Created attachment 656376 [details] media-libs:dav1d-0.7.0:20200823-153535.log
Created attachment 656378 [details] temp.tbz2
Just noting that disabling the asm flag allows the build to finish without issue.
Issue is caused by compilation with dev-lang/nasm-2.15.04. Masking 2.15.04 and using 2.15.03 compiles without issue.
Works fine with dev-lang/nasm-2.15.05
Create fix in https://github.com/gentoo/gentoo/pull/22584
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=647a8643d2941d4f20a6cb2b4799fc35bbc26c36 commit 647a8643d2941d4f20a6cb2b4799fc35bbc26c36 Author: Francisco Javier Félix <web@inode64.com> AuthorDate: 2021-10-18 06:57:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-31 03:39:32 +0000 media-libs/dav1d: fix build, support xxhash * Require minimum nasm 2.15.05 * Disable test by default * Fix build, see bug https://code.videolan.org/videolan/dav1d/-/issues/370 and patch https://code.videolan.org/videolan/dav1d/-/commit/c6a08b3aa1ee99dade53e5e32033bc1d14455a22 the same problem with versions of gcc 10.3.0 and gcc 11.2.0, from dav1d 0.8.2 to 0.9.2. Closes: https://bugs.gentoo.org/738726 Closes: https://bugs.gentoo.org/791544 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: INODE64 <ffelix@inode64.com> Closes: https://github.com/gentoo/gentoo/pull/22621 Signed-off-by: Sam James <sam@gentoo.org> media-libs/dav1d/dav1d-0.8.2.ebuild | 12 ++++++-- media-libs/dav1d/dav1d-0.9.0.ebuild | 12 ++++++-- media-libs/dav1d/dav1d-0.9.1.ebuild | 12 ++++++-- media-libs/dav1d/dav1d-0.9.2.ebuild | 12 ++++++-- media-libs/dav1d/dav1d-9999.ebuild | 11 ++++++-- ...id-meson-s-symbols_have_underscore_prefix.patch | 32 ++++++++++++++++++++++ media-libs/dav1d/metadata.xml | 1 + 7 files changed, 77 insertions(+), 15 deletions(-)