commit:     2cdd1dcd1f3b5507e4d831fa4b2adbf93cd0dd96
Author:     James Calligeros <jcalligeros99 <AT> gmail <DOT> com>
AuthorDate: Tue Jun 10 07:22:43 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 10 08:02:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cdd1dcd

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 <AT> 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 <AT> gentoo.org>

 eclass/wine.eclass | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/eclass/wine.eclass b/eclass/wine.eclass
index 36d3b505f39a..185d3bf4ec59 100644
--- a/eclass/wine.eclass
+++ b/eclass/wine.eclass
@@ -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
 }
 

Reply via email to