[Bug 102247] Mesa failing to compile

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 16 10:38:22 UTC 2017


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 at lists.freedesktop.org
          Reporter: rankincj at googlemail.com
        QA Contact: dri-devel at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170816/dd4ad15f/attachment.html>


More information about the dri-devel mailing list