Skip to contentSkip to conversation

New: [radeonsi] radeonsi_dri.so undefined symbol: setupterm

Bug 72307 [email protected] 1 participant 5 messages Dec 4, 2013 – May 24, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=72307

Priority: medium
Bug ID: 72307
Assignee: [email protected]
Summary: [radeonsi] radeonsi_dri.so undefined symbol: setupterm
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 72307] [radeonsi] radeonsi_dri.so undefined symbol: setupterm

https://bugs.freedesktop.org/show_bug.cgi?id=72307

--- Comment #1 from Tom <[email protected]> ---
Created attachment 90221
--> https://bugs.freedesktop.org/attachment.cgi?id=90221&action=edit
dmesg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 72307] [radeonsi] radeonsi_dri.so undefined symbol: setupterm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=72307

--- Comment #2 from Tom Stellard <[email protected]> ---
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 72307] [radeonsi] radeonsi_dri.so undefined symbol: setupterm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=72307

--- Comment #3 from Tom <[email protected]> ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 72307] [radeonsi] radeonsi_dri.so undefined symbol: setupterm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=72307

Oded Gabbay <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #4 from Oded Gabbay <[email protected]> --- It was a bug in llvm with KDE and ncurses.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel