From be99a32ec48a71a63610960ecb026c9e7b80e46c Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 27 Mar 2024 12:41:42 -0400 Subject: app-emulation/vkd3d-proton: mark as LTO unsafe Signed-off-by: Ionen Wolkens --- app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild | 5 +++++ app-emulation/vkd3d-proton/vkd3d-proton-2.11.1.ebuild | 5 +++++ app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild | 5 +++++ app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild | 5 +++++ app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild | 5 +++++ 5 files changed, 25 insertions(+) (limited to 'app-emulation') diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild index fb54dd38775d..d62c6a6a6518 100644 --- a/app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild +++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.10.ebuild @@ -110,6 +110,11 @@ src_prepare() { src_configure() { use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + # random segfaults been reported with LTO in some games, filter as + # a safety (note that optimizing this further won't really help + # 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 diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.11.1.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.11.1.ebuild index 1eed493adf7a..dca027f8359a 100644 --- a/app-emulation/vkd3d-proton/vkd3d-proton-2.11.1.ebuild +++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.11.1.ebuild @@ -108,6 +108,11 @@ src_prepare() { src_configure() { use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + # random segfaults been reported with LTO in some games, filter as + # a safety (note that optimizing this further won't really help + # 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 diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild index c107c315e595..1190df8cfcb2 100644 --- a/app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild +++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.12.ebuild @@ -114,6 +114,11 @@ src_prepare() { src_configure() { use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + # random segfaults been reported with LTO in some games, filter as + # a safety (note that optimizing this further won't really help + # 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 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 912055248d4b..32e103ce091f 100644 --- a/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild +++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild @@ -105,6 +105,11 @@ src_prepare() { src_configure() { use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + # random segfaults been reported with LTO in some games, filter as + # a safety (note that optimizing this further won't really help + # 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 diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild index 3279df434dc9..5f2131de62c5 100644 --- a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild +++ b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild @@ -114,6 +114,11 @@ src_prepare() { src_configure() { use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + # random segfaults been reported with LTO in some games, filter as + # a safety (note that optimizing this further won't really help + # 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 -- cgit v1.2.3-65-gdbad