commit:     b7d87db08fa3899fd607a2f0d8137a35241b446f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 02:24:03 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=b7d87db0

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

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

 app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild   | 3 +++
 app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild | 3 +++
 app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild   | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild 
b/app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild
index b2632b34036a..718bdcf5d876 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild
@@ -125,6 +125,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 WIDL

diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild 
b/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild
index 9a41d28143b1..b1acedbf8fef 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild
@@ -116,6 +116,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 WIDL

diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild 
b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
index 12ec38649be1..392e5e9c4273 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
@@ -125,6 +125,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 WIDL

Reply via email to