<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106756#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106756">bug 106756</a>
              from <span class="vcard"><a class="email" href="mailto:samuel.pitoiset@gmail.com" title="Samuel Pitoiset <samuel.pitoiset@gmail.com>"> <span class="fn">Samuel Pitoiset</span></a>
</span></b>
        <pre>Well, the LLVM documentation [1] says:

"BUILD_SHARED_LIBS is only recommended for use by LLVM developers. If you want
to build LLVM as a shared library, you should use the LLVM_BUILD_LLVM_DYLIB
option."

Please, don't use that and re-build your LLVM with:

-DLLVM_BUILD_LLVM_DYLIB=ON
-DLLVM_LINK_LLVM_DYLIB=ON

(and remove BUILD_SHARED_LIBS, of course).

Let me know if it still crashes with these new flags.

[1] <a href="https://llvm.org/docs/CMake.html">https://llvm.org/docs/CMake.html</a></pre>
        </div>
      </p>


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

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