wine.eclass: warn about missing amd64 when ARM64 && WoW64

Due to 40+ years of sloppy nomenclature in the Wintel ecosystem,
folks are going to expect "x86 emulation" to include not only
i386/x86/x32, but also amd64/x86_64/x64. Since we currently don't
(and can't) build libarm64ecfex.dll or WINE's ARM64EC support, we
cannot provide amd64 emulation yet.

Warn users about the lack of amd64 emulation and ask them not to
file bugs about it.

Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42529
Closes: https://github.com/gentoo/gentoo/pull/42529
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
James Calligeros 2025-06-10 17:22:43 +10:00 committed by Ionen Wolkens
parent aafa66567a
commit 2cdd1dcd1f
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334

View File

@ -423,6 +423,14 @@ wine_pkg_postinst() {
fi
fi
if use arm64 && use wow64; then
ewarn
ewarn "You have enabled x86 emulation via FEX-Emu's xtajit implementation."
ewarn "This currently *does not* include amd64/x86_64/x64 emulation. Only i386"
ewarn "and ARM64 Windows applications are supported at this time. Please do not"
ewarn "file bugs about amd64 applications."
fi
eselect wine update --if-unset || die
}