tce-load -i compiletc gcc_libs-dev libXdamage-dev libXext-dev libdrm-dev libxshmfence-dev nettle-dev libpthread-stubs xorg-proto libudev-dev libva-dev expat2-dev wayland-dev https://mesa.freedesktop.org/archive/older-versions/12.x/12.0.3/mesa-12.0.3.tar.xz cd mesa-12.0.3 CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --enable-shared --with-gallium-drivers=vc4 --with-dri-drivers=swrast --enable-dri3 --enable-glx-tls --disable-omx --with-egl-platforms="drm,wayland,x11" -Dgallium-drivers="vc4,v3d,kmsro" error: Unknown Gallium driver: kmsro/v3d kmsro is needed for render-only gpus like mali, vivante, vc4, v3d etc swrast is a fallback find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [54m 41.98s] sudo make install https://intestinate.com/pilfs/beyond.html prefix: /usr/local exec_prefix: ${prefix} libdir: ${exec_prefix}/lib includedir: ${prefix}/include OpenGL: yes (ES1: yes ES2: yes) OSMesa: no DRI platform: drm DRI drivers: swrast DRI driver dir: ${libdir}/dri GLX: DRI-based EGL: yes EGL platforms: drm wayland x11 EGL drivers: builtin:egl_dri2 builtin:egl_dri3 Vulkan drivers: no llvm: no Gallium drivers: vc4 Gallium st: mesa va Shader cache: yes With SHA1 from: libnettle Shared libs: yes Static libs: no Shared-glapi: yes CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp Macros: -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DNDEBUG -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_MINCORE PYTHON2: