I'm running i686 userspace under x86_64 kernel. ScummVM ebuild therefore passes --enable-nasm argument to configure script but then the configure script detects the system as x86_64 through uname -m and skips NASM detection. This leads to compile failure. You should either drop the --enable-nasm argument or force --arch=$CHOST as well for x86 systems. Reproducible: Always
Archtested on x86: Everything fine
(In reply to comment #1) > Archtested on x86: Everything fine > Did you test it under x86_64 kernel? The problem won't trigger if both kernel and userspace have the same platform.
go ahead and attach a patch that makes it work for you.
Created attachment 260816 [details, diff] Ebuild patch: Force --host=$CHOST on x86 when calling configure This patch fixes the compile failure.
Why wouldn't we always just pass --host=$CHOST to configure?
(In reply to comment #5) > Why wouldn't we always just pass --host=$CHOST to configure? > Sure you can. But x86 is the only one that really needs it because of --enable-nasm argument and the fact that some x86 configurations won't be autodetected as x86.
ok, it's in portage. thanks for the bug report.