commit:     0ee751a060fc66194a019a0fdd23bde99775cb01
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 02:23:55 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue May 21 02:58:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee751a0

app-emulation/dxvk: add workaround for gcc14 ICE w/ mingw

Bug: https://bugs.gentoo.org/932319
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/dxvk/dxvk-1.10.3-r1.ebuild | 3 +++
 app-emulation/dxvk/dxvk-2.3.1-r1.ebuild  | 3 +++
 app-emulation/dxvk/dxvk-9999.ebuild      | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild 
b/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild
index 701ccb453a83..29d08dd1188a 100644
--- a/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild
+++ b/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild
@@ -79,6 +79,9 @@ src_configure() {
        # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
        append-flags -mno-avx
 
+       # gcc14 -fno-omit-frame-pointer ICE workaround (bug #932319)
+       append-flags -fomit-frame-pointer
+
        if [[ ${CHOST} != *-mingw* ]]; then
                if [[ ! -v MINGW_BYPASS ]]; then
                        unset AR CC CXX RC STRIP

diff --git a/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild 
b/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
index 640326b8a12d..eef73bd94529 100644
--- a/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
+++ b/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
@@ -107,6 +107,9 @@ src_configure() {
        # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
        append-flags -mno-avx
 
+       # gcc14 -fno-omit-frame-pointer ICE workaround (bug #932319)
+       append-flags -fomit-frame-pointer
+
        if [[ ${CHOST} != *-mingw* ]]; then
                if [[ ! -v MINGW_BYPASS ]]; then
                        unset AR CC CXX RC STRIP

diff --git a/app-emulation/dxvk/dxvk-9999.ebuild 
b/app-emulation/dxvk/dxvk-9999.ebuild
index 9db73b208248..9309ae514030 100644
--- a/app-emulation/dxvk/dxvk-9999.ebuild
+++ b/app-emulation/dxvk/dxvk-9999.ebuild
@@ -107,6 +107,9 @@ src_configure() {
        # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
        append-flags -mno-avx
 
+       # gcc14 -fno-omit-frame-pointer ICE workaround (bug #932319)
+       append-flags -fomit-frame-pointer
+
        if [[ ${CHOST} != *-mingw* ]]; then
                if [[ ! -v MINGW_BYPASS ]]; then
                        unset AR CC CXX RC STRIP

Reply via email to