[waffle] merge of evelikov/remove-libgbm-libgl-libdeps-v2 breaks piglit compilation

Mark Janes mark.a.janes at intel.com
Mon Nov 24 11:41:49 PST 2014


Hello,

With the latest commit to waffle, I encounter errors linking piglit:

  Building C object target_api/gles1/tests/spec/oes_compressed_etc1_rgb8_texture/CMakeFiles/oes_compressed_etc1_rgb8_texture-basic.dir/oes_compressed_etc1_rgb8_texture-basic.c.o
  ../../../../../lib/libpiglitutil_gles1.so.0: undefined reference to `glXGetProcAddressARB'

I'll put the compilation commands below, to show the options I've
enabled.  Dylan verified that a standard rebuild in gentoo produces the
same error after emerge.

My waffle build steps:
$ PKG_CONFIG_PATH=/tmp/build_root/m64/lib/x86_64-linux-gnu/pkgconfig:/tmp/build_root/m64/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig CC=ccache gcc CXXFLAGS=-m64 CFLAGS=-m64 CXX=ccache g++ cmake /var/lib/jenkins/jobs/Leeroy/workspace/repos/waffle -DCMAKE_INSTALL_PREFIX:PATH=/tmp/build_root/m64 -Dwaffle_has_x11_egl=1 -Dwaffle_has_glx=1 -Dwaffle_has_gbm=1

$ cmake --build /var/lib/jenkins/jobs/Leeroy/workspace/repos/waffle/build_m64

$ make install


My piglit build steps:

$ PKG_CONFIG_PATH=/tmp/build_root/m64/lib/x86_64-linux-gnu/pkgconfig:/tmp/build_root/m64/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig CC=ccache gcc CXXFLAGS=-m64 CFLAGS=-m64 CXX=ccache g++ cmake /var/lib/jenkins/jobs/Leeroy/workspace/repos/piglit-build -DCMAKE_INSTALL_PREFIX:PATH=/tmp/build_root/m64 -DPIGLIT_BUILD_DMA_BUG_TESTS=1 -DPIGLIT_BUILD_GLES1_TESTS=1 -DPIGLIT_BUILD_GLES2_TESTS=1 -DPIGLIT_BUILD_GLES3_TESTS=1 -DPIGLIT_BUILD_GL_TESTS=1 -DPIGLIT_BUILD_GLX_TESTS=1 -DPIGLIT_BUILD_CL_TESTS=0

$ cmake --build /var/lib/jenkins/jobs/Leeroy/workspace/repos/piglit-build/build_m64


Let me know if you have any trouble reproducing the link error.

-Mark


More information about the waffle mailing list