[Bug 111376] [bisected] Steam crashes when newest Iris built with LTO
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 12 22:12:27 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111376
--- Comment #6 from Eric Engestrom <fdo-bugs at engestrom.ch> ---
As a workaround, this disables LTO on GCC just for iris:
---8<---
diff --git a/src/gallium/drivers/iris/meson.build
b/src/gallium/drivers/iris/meson.build
index 3f611c2b5698be71ba08..c9f62a877c0df6889411 100644
--- a/src/gallium/drivers/iris/meson.build
+++ b/src/gallium/drivers/iris/meson.build
@@ -85,8 +85,8 @@ libiris = static_library(
# these should not be necessary, but main/macros.h...
inc_mesa, inc_mapi
],
- c_args : [c_vis_args, c_sse2_args],
- cpp_args : [cpp_vis_args, c_sse2_args],
+ c_args : [c_vis_args, c_sse2_args, gcc_lto_quirk],
+ cpp_args : [cpp_vis_args, c_sse2_args, gcc_lto_quirk],
dependencies : [dep_libdrm, dep_valgrind, idep_genxml,
idep_libintel_common],
link_with : [
iris_gen_libs, libintel_compiler, libintel_dev, libisl,
--->8---
Does this help?
Have you checked if LTO causes any issues on Clang for instance?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190812/f0b8ed7b/attachment.html>
More information about the intel-3d-bugs
mailing list