From: bugzilla-daemon@freedesktop.org Subject: [Bug 92214] Flightgear crashes during splashboot with R600 driver, LLVM 3.7.0 and mesa 11.0.2 Date: Sun, 11 Oct 2015 14:38:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0266418191==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EF46B6E05D for ; Sun, 11 Oct 2015 07:38:36 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0266418191== Content-Type: multipart/alternative; boundary="1444574316.Cb15c5510.11590"; charset="UTF-8" --1444574316.Cb15c5510.11590 Date: Sun, 11 Oct 2015 14:38:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92214 --- Comment #23 from Barto --- 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. --1444574316.Cb15c5510.11590 Date: Sun, 11 Oct 2015 14:38:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 23 on bug 92214 from
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.
--1444574316.Cb15c5510.11590-- --===============0266418191== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0266418191==--