While building got several issues: 1. Issue of tools building. ../src/intel/common/gen_clflush.h: In function ‘gen_clflush_range’: ../src/intel/common/gen_clflush.h:37:7: error: implicit declaration of function ‘__builtin_ia32_clflush’ [-Werror=implicit-function-declaration] __builtin_ia32_clflush(p); ^ ../src/intel/common/gen_clflush.h: In function ‘gen_flush_range’: ../src/intel/common/gen_clflush.h:45:4: error: implicit declaration of function ‘__builtin_ia32_mfence’ [-Werror=implicit-function-declaration] __builtin_ia32_mfence(); 2. issues with driconf: ../src/mesa/drivers/dri/i965/intel_screen.c:64:7: error: expected ‘}’ before ‘DRI_CONF_MESA_NO_ERROR’ ../src/mesa/drivers/dri/i965/intel_screen.c:87:7: error: expected ‘}’ before ‘DRI_CONF_ALLOW_GLSL_CROSS_STAGE_INTERPOLATION_MISMATCH’ ../src/mesa/drivers/dri/i965/intel_screen.c:98:7: error: expected ‘}’ before ‘DRI_CONF_ALLOW_RGB10_CONFIGS’
Patch series: https://patchwork.freedesktop.org/series/49266/
Command to build: meson -Dprefix=~/dev/out/meson_latest -Dbuildtype=debug -Dvalgrind=false -Ddri-drivers=i965 -Dgallium-drivers= -Dvulkan-drivers= -Dgallium-omx="disabled" -Dplatforms=x11,drm,surfaceless -Dtools=intel ./mbuild/
From the mesa list: Sergi: Looks like you are right. After 'git clean' its ok. Thanks.
Reopened: that issue is valid. Additional fail case: mesa/mbuild/../src/util/xmlconfig.c:995: undefined reference to `util_get_process_name' So for 3 listed issues the invalid is only one case. Additional patch: https://patchwork.freedesktop.org/patch/247602/
We build 32bit mesa with meson every day. Our meson invocation: PKG_CONFIG_PATH=/tmp/build_root/m32/lib/pkgconfig:/tmp/build_root/m32/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig CC=ccache gcc LD_LIBRARY_PATH=/tmp/build_root/m32/lib:/tmp/build_root/m32/lib/i386-linux-gnu:/usr/lib:/usr/lib/i386-linux-gnu CPPFLAGS=-DDEBUG CXX=ccache g++ meson /home/jenkins/workspace/Leeroy_3/repos/mesa/build_mesa_m32 --prefix /tmp/build_root/m32 --libdir lib --cross-file /home/jenkins/workspace/Leeroy_3/mesa/../repos/mesa_ci/build_support/x86-linux-gcc.cross -Dgallium-drivers= -Ddri-drivers=i965,i915 -Dvulkan-drivers=intel -Dplatforms=x11,drm
The CC and CXX env variables were not properly quoted in that last invocation.
Fixed for me with 97fcccb25ed5f55139c03ebc1c71742f0f25f683 and bbe551f3eab793a18cd427098cf8563040c0b56f.
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.