<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Flightgear crashes during splashboot with R600 driver, LLVM 3.7.0 and mesa 11.0.2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92214#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Flightgear crashes during splashboot with R600 driver, LLVM 3.7.0 and mesa 11.0.2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92214">bug 92214</a>
              from <span class="vcard"><a class="email" href="mailto:mister.freeman@laposte.net" title="Barto <mister.freeman@laposte.net>"> <span class="fn">Barto</span></a>
</span></b>
        <pre>I notice that the file "configure" in mesa 11.0.3 source code is not compatible
with LLVM 3.7.0 libs, 

the configure file will try to detect LLVM libs, it will work with LLVM 3.6.2 (
and below ) but not with LLVM 3.7.0 because the name of the so files has
changed since 3.7.0 version ( "usr/lib/libLLVM.so" for LLVM 3.7.0, and
"/usr/lib/libLLVM-3.6.2.so" for LLVM 3.6.2 )


if an user tries to compile mesa 11.0.3 ( with gcc ) and if he has LLVM 3.7.0
then the configure file will stop by saying "error :Could not find llvm shared
libraries"

archlinux developers have found a workaround with this patch, in order to link
mesa 11.0.3 with LLVM 3.7.0 libs : 

# Fix detection of libLLVM when built with CMake
  sed -i 's/LLVM_SO_NAME=.*/LLVM_SO_NAME=LLVM/' configure

<a href="https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/mesa">https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/mesa</a>

my question : Do the mesa developers have really tested mesa 11.0.3 linked with
LLVM 3.7.0 ? ( especially with r600 driver )

it could explain my bug if some changes in LLVM 3.7.0 ( API, functions ) imply
changes in mesa source code, a bad initialization of llvm libs</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>