commit:     fae49a66a4bfe6bdb0b41728c1190cc7fb9d1b9f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  9 14:35:07 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Mar  9 14:40:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae49a66

app-emulation/dxvk: re-add -mno-avx in live

Was not entirely sure if this was still an issue because of
another option, but looks like it is.

Also update comment to link to upstream confirming it.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/dxvk/dxvk-2.3.1-r1.ebuild | 6 ++----
 app-emulation/dxvk/dxvk-2.4.1.ebuild    | 6 ++----
 app-emulation/dxvk/dxvk-2.5.3.ebuild    | 6 ++----
 app-emulation/dxvk/dxvk-9999.ebuild     | 4 ++++
 4 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild 
b/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
index 6302477d338f..0b565acd52b6 100644
--- a/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
+++ b/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
@@ -101,10 +101,8 @@ src_configure() {
        # performance, GPU does the actual work)
        filter-lto
 
-       # -mavx with mingw-gcc has a history of obscure issues and
-       # disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
-       # crashes with -march=skylake >=wine-8.10, similar issues with
-       # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
+       # -mavx and mingw-gcc do not mix safely here
+       # https://github.com/doitsujin/dxvk/issues/4746#issuecomment-2708869202
        append-flags -mno-avx
 
        if [[ ${CHOST} != *-mingw* ]]; then

diff --git a/app-emulation/dxvk/dxvk-2.4.1.ebuild 
b/app-emulation/dxvk/dxvk-2.4.1.ebuild
index dcd2da53321e..2d14c7a796ec 100644
--- a/app-emulation/dxvk/dxvk-2.4.1.ebuild
+++ b/app-emulation/dxvk/dxvk-2.4.1.ebuild
@@ -103,10 +103,8 @@ src_configure() {
        # performance, GPU does the actual work)
        filter-lto
 
-       # -mavx with mingw-gcc has a history of obscure issues and
-       # disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
-       # crashes with -march=skylake >=wine-8.10, similar issues with
-       # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
+       # -mavx and mingw-gcc do not mix safely here
+       # https://github.com/doitsujin/dxvk/issues/4746#issuecomment-2708869202
        append-flags -mno-avx
 
        if [[ ${CHOST} != *-mingw* ]]; then

diff --git a/app-emulation/dxvk/dxvk-2.5.3.ebuild 
b/app-emulation/dxvk/dxvk-2.5.3.ebuild
index 2e4e20063b47..8e460eb71ff8 100644
--- a/app-emulation/dxvk/dxvk-2.5.3.ebuild
+++ b/app-emulation/dxvk/dxvk-2.5.3.ebuild
@@ -102,10 +102,8 @@ src_configure() {
        # performance, GPU does the actual work)
        filter-lto
 
-       # -mavx with mingw-gcc has a history of obscure issues and
-       # disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
-       # crashes with -march=skylake >=wine-8.10, similar issues with
-       # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
+       # -mavx and mingw-gcc do not mix safely here
+       # https://github.com/doitsujin/dxvk/issues/4746#issuecomment-2708869202
        append-flags -mno-avx
 
        if [[ ${CHOST} != *-mingw* ]]; then

diff --git a/app-emulation/dxvk/dxvk-9999.ebuild 
b/app-emulation/dxvk/dxvk-9999.ebuild
index b24fcd5ba6ba..a308fd6fa048 100644
--- a/app-emulation/dxvk/dxvk-9999.ebuild
+++ b/app-emulation/dxvk/dxvk-9999.ebuild
@@ -102,6 +102,10 @@ src_configure() {
        # performance, GPU does the actual work)
        filter-lto
 
+       # -mavx and mingw-gcc do not mix safely here
+       # https://github.com/doitsujin/dxvk/issues/4746#issuecomment-2708869202
+       append-flags -mno-avx
+
        if [[ ${CHOST} != *-mingw* ]]; then
                if [[ ! -v MINGW_BYPASS ]]; then
                        unset AR CC CXX RC STRIP

Reply via email to