[Bug 92214] Flightgear crashes during splashboot with R600 driver, LLVM 3.7.0 and mesa 11.0.2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 11 07:38:37 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92214

--- Comment #23 from Barto <mister.freeman at laposte.net> ---
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

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/mesa

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151011/01253b29/attachment.html>


More information about the dri-devel mailing list