<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [bisected] Steam crashes when newest Iris built with LTO"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111376#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [bisected] Steam crashes when newest Iris built with LTO"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111376">bug 111376</a>
              from <span class="vcard"><a class="email" href="mailto:fdo-bugs@engestrom.ch" title="Eric Engestrom <fdo-bugs@engestrom.ch>"> <span class="fn">Eric Engestrom</span></a>
</span></b>
        <pre>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?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>