After building mesa from git and trying to launch some application, it seems there is a problem with a missing link to selinux. Poking libglapi gives the following: ldd -r /usr/lib/x86_64-linux-gnu/libglapi.so.0 linux-vdso.so.1 => (0x00007fffba5ff000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f620ab0c000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f620a76d000) /lib64/ld-linux-x86-64.so.2 (0x00007f620af90000) undefined symbol: security_get_boolean_active (/usr/lib/x86_64-linux-gnu/libglapi.so.0) undefined symbol: is_selinux_enabled (/usr/lib/x86_64-linux-gnu/libglapi.so.0) undefined symbol: security_get_boolean_pending (/usr/lib/x86_64-linux-gnu/libglapi.so.0) It was also reported by someone else in Red Hat's bugs list: https://bugzilla.redhat.com/show_bug.cgi?id=737259
Can't reproduce anymore as of today.
Reappeared in the last couple of days. I'll try to bisect.
closing. Seems related to something else happening from time to time unrelated to mesa code. (WT...)
Well, after fighting a bit with a different bug, it still seems there. Could it be a linker problem? I had a quick look at linked files and it may be missing something when Selinux is enabled.
Created attachment 53140 [details] [review] link with -lselinux Does this patch help? You need to re-run autogen.sh.
Yes, I just tested it and it now works fine. Thank you.
Comment on attachment 53140 [details] [review] link with -lselinux Review of attachment 53140 [details] [review]: ----------------------------------------------------------------- Works great. Tested by Alexandre Demers
Committed. Thanks for testing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.