From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102247] Mesa failing to compile Date: Wed, 16 Aug 2017 10:38:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1480508685==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 323F06E066 for ; Wed, 16 Aug 2017 10:38:22 +0000 (UTC) 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 --===============1480508685== Content-Type: multipart/alternative; boundary="15028799020.5895fB98.864"; charset="UTF-8" --15028799020.5895fB98.864 Date: Wed, 16 Aug 2017 10:38:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102247 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=3D'-O2 -g -gdwarf-2' ./autogen.sh --prefix=3D/home/chris/Programs/lo= cal-mesa --libdir=3D/home/chris/Programs/local-mesa/lib64 --with-vdpau-libdir=3D/home/chris/Programs/local-mesa/lib64/vdpau --with-gallium-drivers=3Dradeonsi,swrast --with-egl-platforms=3Ddrm,x11 --with-llvm-prefix=3D/home/chris/Programs/local-llvm --enable-llvm-shared-l= ibs --with-dri-drivers=3D --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/d= ri' 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15028799020.5895fB98.864 Date: Wed, 16 Aug 2017 10:38:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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=3D'-O2 -g -gdwarf-2' ./autogen.sh --prefix=3D/home/chris/Programs/lo=
cal-mesa
--libdir=3D/home/chris/Programs/local-mesa/lib64
--with-vdpau-libdir=3D/home/chris/Programs/local-mesa/lib64/vdpau
--with-gallium-drivers=3Dradeonsi,swrast --with-egl-platforms=3Ddrm,x11
--with-llvm-prefix=3D/home/chris/Programs/local-llvm --enable-llvm-shared-l=
ibs
--with-dri-drivers=3D --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/d=
ri'
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.
= --15028799020.5895fB98.864-- --===============1480508685== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1480508685==--