<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi all!</p>
    <p>I'm stumped. I'm a contributor to an Open Source PS3 emulator. We
      use LLVM to pre-compile the code, instead of just interpreting it
      at runtime like most emulators do. Website here: <a
        moz-do-not-send="true" href="https://github.com/RPCS3/rpcs3/">https://github.com/RPCS3/rpcs3/ </a></p>
    <p>We currently have support for Windows, Linux and BSD. Currently,
      we only provide builds for Windows users, and are interested in
      providing builds for linux users via AppImages.<br>
    </p>
    <p>The problem is that we use OpenGL or Vulkan to render the
      graphics, and if the driver is using Mesa, Mesa tries to bring
      along LLVM, and then we get a nasty "CommandLine Error: Option
      'help-list' registered more than once!"<br>
    </p>
    <p>We previously just linked LLVM statically, and to remedy the
      error mentioned above, we just switched to linking LLVM
      dynamically.</p>
    <p>This starts getting messy when we start sending out binaries.
      Most distros ares still stuck on LLVM 3.x, and we're using LLVM 4.
      If we just package the LLVM 4 libs with the binary, then mesa
      tries to load 3.x and llvm tries to load 4.x. Not good.</p>
    <p><br>
    </p>
    <p>The only solution we've come up with is to provide a modified
      version of LLVM with the binary build that somehow hides itself.
      Can anyone show me what code I would need to modify in order to
      make this work? <br>
      If you do have a better solution, please mention it.</p>
    <p><br>
    </p>
    <p>Thanks, Zion Nimchuk<br>
    </p>
  </body>
</html>