*** need utf locale set *** tce-load -i compiletc meson llvm-dev libdrm-dev libva2-dev libvdpau-dev python3.6-mako libXvmc-dev libXdamage-dev libxshmfence-dev libXxf86vm-dev libXrandr-dev gettext elfutils-dev zstd-dev libvulkan-dev libexpat2-dev libpciaccess-dev wget https://mesa.freedesktop.org/archive/mesa-21.3.4.tar.xz cd mesa-21.3.4 sudo cp /tmp/tcloop/llvm-dev/usr/local/bin/* /usr/local/bin mkdir build cd build CC="gcc -flto -march=pentium-m -mtune=i686 -Os -pipe -DNDEBUG" CXX="g++ -flto -march=pentium-m -mtune=i686 -Os -pipe -DNDEBUG" meson --prefix=/usr/local --buildtype=plain -Dglx=dri -Dosmesa=true -Dgallium-nine=false -Dvalgrind=disabled -Dlibunwind=disabled -Dplatforms=x11 ../ [-fno-rtti fails] UnicodeEncodeError: 'ascii' codec can't encode character '\xa9' in position 14: ordinal not in range(128) ninja [29m 43.40s] sudo ninja install Message: Configuration summary: prefix: /usr/local libdir: lib includedir: include OpenGL: yes (ES1: yes ES2: yes) OSMesa: libOSMesa DRI platform: drm DRI drivers: i915 i965 r100 r200 nouveau 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 surfaceless drm GBM: yes GBM backends path: /usr/local/lib/gbm Vulkan drivers: amd intel swrast Vulkan ICD dir: share/vulkan/icd.d llvm: yes llvm-version: 13.0.0 Gallium drivers: r300 r600 radeonsi nouveau virgl svga swrast iris crocus Gallium st: mesa xa xvmc vdpau va HUD lmsensors: no Shared-glapi: yes Perfetto: no Perfetto ds: auto Build targets in project: 245 mesa 21.3.4 User defined options buildtype : plain prefix : /usr/local gallium-nine: false glx : dri libunwind : disabled osmesa : true valgrind : disabled