* [Bug 102247] Mesa failing to compile
@ 2017-08-16 10:38 bugzilla-daemon
2017-08-16 14:58 ` bugzilla-daemon
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-16 10:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2395 bytes --]
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: rankincj@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:
CXXLD gallium_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.
[-- Attachment #1.2: Type: text/html, Size: 3743 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102247] Mesa failing to compile
2017-08-16 10:38 [Bug 102247] Mesa failing to compile bugzilla-daemon
@ 2017-08-16 14:58 ` bugzilla-daemon
2017-08-16 20:45 ` bugzilla-daemon
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-16 14:58 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 260 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102247
--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
https://patchwork.freedesktop.org/patch/171990/ should fix this.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1054 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102247] Mesa failing to compile
2017-08-16 10:38 [Bug 102247] Mesa failing to compile bugzilla-daemon
2017-08-16 14:58 ` bugzilla-daemon
@ 2017-08-16 20:45 ` bugzilla-daemon
2017-08-17 1:17 ` bugzilla-daemon
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-16 20:45 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1132 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102247
--- Comment #2 from Chris Rankin <rankincj@googlemail.com> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1867 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102247] Mesa failing to compile
2017-08-16 10:38 [Bug 102247] Mesa failing to compile bugzilla-daemon
2017-08-16 14:58 ` bugzilla-daemon
2017-08-16 20:45 ` bugzilla-daemon
@ 2017-08-17 1:17 ` bugzilla-daemon
2017-08-17 1:19 ` bugzilla-daemon
2017-08-17 6:21 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-17 1:17 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 327 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102247
--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1059 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102247] Mesa failing to compile
2017-08-16 10:38 [Bug 102247] Mesa failing to compile bugzilla-daemon
` (2 preceding siblings ...)
2017-08-17 1:17 ` bugzilla-daemon
@ 2017-08-17 1:19 ` bugzilla-daemon
2017-08-17 6:21 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-17 1:19 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 257 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102247
--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 989 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 102247] Mesa failing to compile
2017-08-16 10:38 [Bug 102247] Mesa failing to compile bugzilla-daemon
` (3 preceding siblings ...)
2017-08-17 1:19 ` bugzilla-daemon
@ 2017-08-17 6:21 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-17 6:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 850 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102247
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Michel Dänzer <michel@daenzer.net> ---
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 <michel.daenzer@amd.com>
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.
[-- Attachment #1.2: Type: text/html, Size: 2436 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-08-17 6:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-16 10:38 [Bug 102247] Mesa failing to compile bugzilla-daemon
2017-08-16 14:58 ` bugzilla-daemon
2017-08-16 20:45 ` bugzilla-daemon
2017-08-17 1:17 ` bugzilla-daemon
2017-08-17 1:19 ` bugzilla-daemon
2017-08-17 6:21 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.