mesa: 3fa9bb81ec8b21f472de32e08d0caf917239da08 (master 10.7.0-devel) 324ee9b391ea2db4b74709d30a131e79055bf071 is the first bad commit commit 324ee9b391ea2db4b74709d30a131e79055bf071 Author: Derek Foreman <derekf@osg.samsung.com> Date: Wed Jun 17 11:28:50 2015 -0500 glx: Use loader_open_device() helper We've moved the open with CLOEXEC idiom into a helper function, so call it instead of duplicating the code here. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> :040000 040000 57dcc9a36cb72627a1e91340f099355200434adb 180705d900106982a31274f4a068c8bc39526a7c M src bisect run success
What configure options are you using? Can you attach a build log? Do you have any local changes? Having a hard time figuring this out, I can't reproduce it here, and dri2_glx.c uses other functions from loader.c so there should at least be a pile of other undefined references. Can you do a make clean and try again? Perhaps you have some kind of timestamp issue that led to a partial rebuild...
Clean checkout and build on CentOS 6. $ ./autogen.sh --disable-dri3 --enable-sysfs --with-dri-drivers=swrast --with-gallium-drivers= $ make [...] CC XF86dri.lo dri_common.c: In function ‘dri2_convert_glx_attribs’: dri_common.c:469: warning: ‘profile’ may be used uninitialized in this function CCLD libglx.la CCLD libGL.la ./.libs/libglx.a(dri2_glx.o): In function `dri2CreateScreen': src/glx/dri2_glx.c:1186: undefined reference to `loader_open_device' collect2: ld returned 1 exit status
Hi, I just sent a patch on the mailing list as I encountered the same problem on darwin.
I do wonder if/when we can fold some of the conditional compilation mayhem in the loader, but until then I've pushed Julien's patch. Thanks for the prompt fix !
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.