Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738726 - media-libs/dav1d-0.7.0 : ../.../msac.asm:88: error: %ifndef expects macro identifiers
Summary: media-libs/dav1d-0.7.0 : ../.../msac.asm:88: error: %ifndef expects macro ide...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-08-23 16:05 UTC by Toralf Förster
Modified: 2021-10-18 07:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.18 KB, text/plain)
2020-08-23 16:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,73.42 KB, text/plain)
2020-08-23 16:05 UTC, Toralf Förster
Details
environment (environment,107.00 KB, text/plain)
2020-08-23 16:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.16 KB, application/x-bzip)
2020-08-23 16:05 UTC, Toralf Förster
Details
media-libs:dav1d-0.7.0:20200823-153535.log (media-libs:dav1d-0.7.0:20200823-153535.log,48.61 KB, text/plain)
2020-08-23 16:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.34 KB, application/x-bzip)
2020-08-23 16:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-08-23 16:05:51 UTC
../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)"
Comment 1 Toralf Förster gentoo-dev 2020-08-23 16:05:52 UTC
Created attachment 656368 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-23 16:05:54 UTC
Created attachment 656370 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-23 16:05:56 UTC
Created attachment 656372 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-23 16:05:57 UTC
Created attachment 656374 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-23 16:05:59 UTC
Created attachment 656376 [details]
media-libs:dav1d-0.7.0:20200823-153535.log
Comment 6 Toralf Förster gentoo-dev 2020-08-23 16:06:00 UTC
Created attachment 656378 [details]
temp.tbz2
Comment 7 Daniel Rammelt 2020-08-27 09:46:44 UTC
Just noting that disabling the asm flag allows the build to finish without issue.
Comment 8 Daniel Rammelt 2020-08-28 00:48:50 UTC
Issue is caused by compilation with dev-lang/nasm-2.15.04. Masking 2.15.04 and using 2.15.03 compiles without issue.
Comment 9 Michael 2020-08-28 20:50:23 UTC
Works fine with dev-lang/nasm-2.15.05
Comment 10 INODE64 Sistemas 2021-10-15 07:10:37 UTC
Create fix in https://github.com/gentoo/gentoo/pull/22584