[Bug 102247] Mesa failing to compile

2017-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102247

Michel Dänzer  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #5 from Michel Dänzer  ---
Thanks for the report, fixed in Git:

Module: Mesa
Branch: master
Commit: 2c5717a4de2a2406a7e155de641921571a3910c7
URL:   
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c5717a4de2a2406a7e155de641921571a3910c7

Author: Michel Dänzer 
Date:   Tue Aug 15 09:41:57 2017 +0900

configure: Check llvm-config --shared-mode

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102247] Mesa failing to compile

2017-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102247

--- Comment #4 from Michel Dänzer  ---
BTW, -DLLVM_LINK_LLVM_DYLIB=ON should avoid this bug as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102247] Mesa failing to compile

2017-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102247

--- Comment #3 from Michel Dänzer  ---
That's a different, pre-existing issue. To avoid it, build LLVM with either
-DLLVM_LINK_LLVM_DYLIB=ON or -DLLVM_APPEND_VC_REV=OFF.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102247] Mesa failing to compile

2017-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102247

--- Comment #2 from Chris Rankin  ---
No, I now get:

configure: error: Could not find llvm shared libraries:
   Please make sure you have built llvm with the
--enable-shared option
   and that your llvm libraries are installed in
/home/chris/Programs/local-llvm/lib
   If you have installed your llvm libraries to a different
directory you
   can use the --with-llvm-prefix= configure flag to
specify this directory.
   NOTE: Mesa is attempting to use llvm shared libraries by
default.
   If you do not want to build with llvm shared libraries
and instead want to
   use llvm static libraries then add
--disable-llvm-shared-libs to your configure
   invocation and rebuild.

For some reason, I think Mesa is expecting my LLVM installation to contain
libLLVMTarget.so rather than libLLVM.so.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102247] Mesa failing to compile

2017-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102247

--- Comment #1 from Michel Dänzer  ---
https://patchwork.freedesktop.org/patch/171990/ should fix this.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102247] Mesa failing to compile

2017-08-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102247

Bug ID: 102247
   Summary: Mesa failing to compile
   Product: Mesa
   Version: git
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/radeonsi
  Assignee: dri-devel@lists.freedesktop.org
  Reporter: ranki...@googlemail.com
QA Contact: dri-devel@lists.freedesktop.org

Building on Fedora 26, and configuring Mesa as:

CFLAGS='-O2 -g -gdwarf-2' ./autogen.sh --prefix=/home/chris/Programs/local-mesa
--libdir=/home/chris/Programs/local-mesa/lib64
--with-vdpau-libdir=/home/chris/Programs/local-mesa/lib64/vdpau
--with-gallium-drivers=radeonsi,swrast --with-egl-platforms=drm,x11
--with-llvm-prefix=/home/chris/Programs/local-llvm --enable-llvm-shared-libs
--with-dri-drivers= --enable-texture-float --enable-64-bit --enable-nine
--enable-omx

However, the build fails with:

  CXXLDgallium_dri.la
/home/chris/Programs/local-llvm/lib/libLLVMSupport.a(Process.cpp.o): In
function `llvm::sys::Process::FileDescriptorHasColors(int)':
Process.cpp:(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x67):
undefined reference to `setupterm'
Process.cpp:(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x90):
undefined reference to `tigetnum'
Process.cpp:(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x99):
undefined reference to `set_curterm'
Process.cpp:(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0xa1):
undefined reference to `del_curterm'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:964: gallium_dri.la] Error 1
make[4]: Leaving directory '/home/chris/Programs/mesa/src/gallium/targets/dri'
make[3]: *** [Makefile:601: all-recursive] Error 1
make[3]: Leaving directory '/home/chris/Programs/mesa/src/gallium'
make[2]: *** [Makefile:853: all-recursive] Error 1
make[2]: Leaving directory '/home/chris/Programs/mesa/src'
make[1]: *** [Makefile:644: all] Error 2
make[1]: Leaving directory '/home/chris/Programs/mesa/src'
make: *** [Makefile:649: all-recursive] Error 1

I've tried updating my local LLVM installation twice, to no avail.

The missing symbols seem to be from libncurses.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel