tce-load -i compiletc python3.8-meson libdrm-dev libva-dev wayland-dev wayland-protocols python3.8-mako libXvmc-dev libXdamage-dev libxshmfence-dev libXxf86vm-dev libXrandr-dev gettext libelf-dev llvm15-dev zstd-dev wget https://archive.mesa3d.org//mesa-22.3.7.tar.xz wget https://www.linuxfromscratch.org/patches/blfs/svn/mesa-22.3.6-add_xdemos-1.patch cd mesa-22.3.7 sudo cp /tmp/tcloop/llvm15-dev/usr/local/bin/* /usr/local/bin patch -Np1 -i ../mesa-22.3.6-add_xdemos-1.patch mkdir build cd build CC="gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" meson --prefix=/usr/local --buildtype=plain -Dvalgrind=disabled -Dgallium-drivers="vc4,v3d,kmsro,virgl,swrast" -Dvulkan-drivers="broadcom,swrast" ../ [-fno-rtti fails] ninja [15m 15.82s] sudo ninja install Message: Configuration summary: prefix: /usr/local libdir: lib includedir: include OpenGL: yes (ES1: yes ES2: yes) OSMesa: no DRI platform: drm DRI driver dir: /usr/local/lib/dri GLX: DRI-based EGL: yes EGL drivers: builtin:egl_dri2 builtin:egl_dri3 EGL/Vulkan/VL platforms: x11 wayland surfaceless drm xcb GBM: yes GBM backends path: /usr/local/lib/gbm Video Codecs: Vulkan drivers: broadcom swrast Vulkan ICD dir: share/vulkan/icd.d Vulkan Intel Ray Tracing: no llvm: yes llvm-version: 15.0.7 Gallium drivers: vc4 v3d kmsro virgl swrast Gallium st: mesa va HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto