https://bugs.freedesktop.org/show_bug.cgi?id=72307
Priority: medium Bug ID: 72307 Assignee: dri-devel@lists.freedesktop.org Summary: [radeonsi] radeonsi_dri.so undefined symbol: setupterm Severity: normal Classification: Unclassified OS: Linux (All) Reporter: neatnoise@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa
Created attachment 90220 --> https://bugs.freedesktop.org/attachment.cgi?id=90220&action=edit Xorg log
Hello. I can see following errors when starting Xorg:
failed to open /usr/lib64/dri/radeonsi_dri.so: /usr/lib64/dri/radeonsi_dri.so: undefined symbol: setupterm gbm: failed to open any driver (search paths /usr/lib64/dri)failed to load driver: radeonsi failed to load module: /usr/lib64/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory couldn't get display device
Program received signal SIGSEGV, Segmentation fault. 0x000000000020e116 in ?? ()
OS: Gentoo User space packages: media-libs/mesa git sys-devel/llvm git x11-libs/libdrm git x11-libs/glamor git x11-drivers/xf86-video-ati git x11-base/xorg-server 1.14.3
Linux Kernel: 3.13.0-rc2
Mesa source config: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --enable-dri --enable-glx --enable-shared-glapi --enable-texture-float --disable-debug --enable-egl --enable-gbm --disable-gles1 --disable-gles2 --enable-glx-tls --disable-osmesa --enable-asm --without-llvm-shared-libs --with-dri-drivers=,swrast,radeon,r200 --with-gallium-drivers=,swrast,radeonsi,r300,r600 PYTHON2=/usr/bin/python2.7 --with-egl-platforms=x11,drm --enable-gallium-llvm --disable-openvg --disable-gallium-egl --enable-r600-llvm-compiler --enable-vdpau --disable-xa --disable-xvmc
https://bugs.freedesktop.org/show_bug.cgi?id=72307
--- Comment #1 from Tom neatnoise@gmail.com --- Created attachment 90221 --> https://bugs.freedesktop.org/attachment.cgi?id=90221&action=edit dmesg log
https://bugs.freedesktop.org/show_bug.cgi?id=72307
--- Comment #2 from Tom Stellard tstellar@gmail.com --- Are you using gentoo's -9999 ebuild for LLVM or are you building it yourself?
Can you post the output of llvm-config --ldflags and also equery u ncurses
https://bugs.freedesktop.org/show_bug.cgi?id=72307
--- Comment #3 from Tom neatnoise@gmail.com --- Yes It's gentoo's -9999 ebuild. The rest of packages (mesa-9999, libdrm-9999, glamor-9999, xf86 driver-9999) is from x11 overlay. I reinstalled gentoo system with systemd and kde environment yesterday. It's a new gentoo system. I've never had such problem before (gnome 2 + openrc).
$ llvm-config --ldflags -L/usr/lib/llvm -lpthread -lffi -ldl -lm
ncurses flags enabled: cxx gpm unicode disabled: -ada -debug -doc -minimal -profile -static-libs -tinfo -trace
Update. Thanks for a tip about ncurses. Gentoo KDE profile has set globally ncurses flag what carried it also to llvm. Ncurses support built in llvm leads to this error.
I've disabled ncurses flag in llvm, rebuilt llvm and mesa and KDE desktop is working without any problem.
https://bugs.freedesktop.org/show_bug.cgi?id=72307
Oded Gabbay oded.gabbay@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTOURBUG
--- Comment #4 from Oded Gabbay oded.gabbay@gmail.com --- It was a bug in llvm with KDE and ncurses.
dri-devel@lists.freedesktop.org