Build started at 2022-09-22T03:14:47.811788 Main binary: /usr/bin/python3.11 Build Options: -Db_pch=false -Dwerror=false -Dplatforms=x11,wayland -Dgallium-nine=false -Dgallium-va=disabled -Dgallium-vdpau=disabled -Dgallium-xa=disabled -Dgallium-xvmc=disabled -Dgallium-opencl=disabled -Dvulkan-layers=device-select -Dbuild-tests=false -Dglx=dri -Dshared-glapi=enabled -Ddri3=enabled -Degl=enabled -Dgbm=enabled -Dglvnd=true -Dgles1=disabled -Dgles2=enabled -Dllvm=enabled -Dlmsensors=disabled -Dosmesa=false -Dselinux=false -Dlibunwind=disabled -Dzstd=enabled -Dsse2=true -Dvalgrind=disabled -Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec -Dgallium-drivers=r300,r600,radeonsi,swrast -Dvulkan-drivers=amd -Db_ndebug=true -Dprefix=/usr -Dlibdir=lib -Dlocalstatedir=/var/lib -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload -Dbuild.pkg_config_path=/usr/share/pkgconfig:/usr/share/pkgconfig -Dpkg_config_path=/usr/share/pkgconfig:/usr/share/pkgconfig '--native-file /var/tmp/portage/media-libs/mesa-22.2.0/temp/meson.i686-pc-linux-gnu.x86.ini' Python system: Linux The Meson build system Version: 0.63.2 Source dir: /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0 Build dir: /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0-abi_x86_32.x86 Build type: native build Program python3 found: YES (/var/tmp/portage/media-libs/mesa-22.2.0/temp/python3.11/bin/python3) Running command: /var/tmp/portage/media-libs/mesa-22.2.0/temp/python3.11/bin/python3 bin/meson_get_version.py --- stdout --- 22.2.0 --- stderr --- Project name: mesa Project version: 22.2.0 ----- Detecting compiler via: x86_64-pc-linux-gnu-gcc -m32 --version compiler returned compiler stdout: x86_64-pc-linux-gnu-gcc (Gentoo Hardened 12.2.1_p20220917 p1) 12.2.1 20220917 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. compiler stderr: Running command: x86_64-pc-linux-gnu-gcc -m32 -E -dM - ----- Detecting linker via: x86_64-pc-linux-gnu-gcc -m32 -Wl,--version -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Werror=builtin-declaration-mismatch -Wformat -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs linker returned linker stdout: GNU ld (Gentoo 2.39 p4) 2.39.0 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. linker stderr: collect2 version 12.2.1 20220917 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/bin/ld -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper -plugin-opt=-fresolution=/var/tmp/portage/media-libs/mesa-22.2.0/temp/ccDziTrO.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -pie -z now /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../.. --version -O1 --as-needed --defsym=__gentoo_check_ldflags__=0 -z pack-relative-relocs -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o Sanity testing C compiler: x86_64-pc-linux-gnu-gcc -m32 Is cross compiler: False. Sanity check compiler command line: x86_64-pc-linux-gnu-gcc -m32 sanitycheckc.c -o sanitycheckc.exe -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Werror=builtin-declaration-mismatch -Wformat -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0-abi_x86_32.x86/meson-private/sanitycheckc.exe C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 (gcc 12.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 12.2.1_p20220917 p1) 12.2.1 20220917") C linker for the host machine: x86_64-pc-linux-gnu-gcc -m32 ld.bfd 2.39 ----- Detecting compiler via: x86_64-pc-linux-gnu-g++ -m32 --version compiler returned compiler stdout: x86_64-pc-linux-gnu-g++ (Gentoo Hardened 12.2.1_p20220917 p1) 12.2.1 20220917 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. compiler stderr: Running command: x86_64-pc-linux-gnu-g++ -m32 -E -dM - ----- Detecting linker via: x86_64-pc-linux-gnu-g++ -m32 -Wl,--version -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -D_GLIBCXX_ASSERTIONS -Werror=format-security -Wformat -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs linker returned linker stdout: GNU ld (Gentoo 2.39 p4) 2.39.0 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. linker stderr: collect2 version 12.2.1 20220917 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/bin/ld -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper -plugin-opt=-fresolution=/var/tmp/portage/media-libs/mesa-22.2.0/temp/ccHTiusi.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -pie -z now /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../.. --version -O1 --as-needed --defsym=__gentoo_check_ldflags__=0 -z pack-relative-relocs -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o Sanity testing C++ compiler: x86_64-pc-linux-gnu-g++ -m32 Is cross compiler: False. Sanity check compiler command line: x86_64-pc-linux-gnu-g++ -m32 sanitycheckcpp.cc -o sanitycheckcpp.exe -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -D_GLIBCXX_ASSERTIONS -Werror=format-security -Wformat -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0-abi_x86_32.x86/meson-private/sanitycheckcpp.exe C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 (gcc 12.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo Hardened 12.2.1_p20220917 p1) 12.2.1 20220917") C++ linker for the host machine: x86_64-pc-linux-gnu-g++ -m32 ld.bfd 2.39 ----- Detecting compiler via: x86_64-pc-linux-gnu-gcc -m32 --version compiler returned compiler stdout: x86_64-pc-linux-gnu-gcc (Gentoo Hardened 12.2.1_p20220917 p1) 12.2.1 20220917 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. compiler stderr: Running command: x86_64-pc-linux-gnu-gcc -m32 -E -dM - ----- Detecting linker via: x86_64-pc-linux-gnu-gcc -m32 -Wl,--version linker returned linker stdout: GNU ld (Gentoo 2.39 p4) 2.39.0 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. linker stderr: collect2 version 12.2.1 20220917 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/bin/ld -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper -plugin-opt=-fresolution=/var/tmp/portage/media-libs/mesa-22.2.0/temp/cc6OhL1d.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -pie -z now /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o Sanity testing C compiler: x86_64-pc-linux-gnu-gcc -m32 Is cross compiler: False. Sanity check compiler command line: x86_64-pc-linux-gnu-gcc -m32 sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0-abi_x86_32.x86/meson-private/sanitycheckc.exe C compiler for the build machine: x86_64-pc-linux-gnu-gcc -m32 (gcc 12.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo Hardened 12.2.1_p20220917 p1) 12.2.1 20220917") C linker for the build machine: x86_64-pc-linux-gnu-gcc -m32 ld.bfd 2.39 ----- Detecting compiler via: x86_64-pc-linux-gnu-g++ -m32 --version compiler returned compiler stdout: x86_64-pc-linux-gnu-g++ (Gentoo Hardened 12.2.1_p20220917 p1) 12.2.1 20220917 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. compiler stderr: Running command: x86_64-pc-linux-gnu-g++ -m32 -E -dM - ----- Detecting linker via: x86_64-pc-linux-gnu-g++ -m32 -Wl,--version linker returned linker stdout: GNU ld (Gentoo 2.39 p4) 2.39.0 Copyright (C) 2022 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. linker stderr: collect2 version 12.2.1 20220917 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/bin/ld -plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper -plugin-opt=-fresolution=/var/tmp/portage/media-libs/mesa-22.2.0/temp/cc7lbuxX.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -pie -z now /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o Sanity testing C++ compiler: x86_64-pc-linux-gnu-g++ -m32 Is cross compiler: False. Sanity check compiler command line: x86_64-pc-linux-gnu-g++ -m32 sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0-abi_x86_32.x86/meson-private/sanitycheckcpp.exe C++ compiler for the build machine: x86_64-pc-linux-gnu-g++ -m32 (gcc 12.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo Hardened 12.2.1_p20220917 p1) 12.2.1 20220917") C++ linker for the build machine: x86_64-pc-linux-gnu-g++ -m32 ld.bfd 2.39 Build machine cpu family: x86 Build machine cpu: i686 Host machine cpu family: x86 Host machine cpu: i686 Target machine cpu family: x86 Target machine cpu: i686 Running compile: Working directory: /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0-abi_x86_32.x86/meson-private/tmpacgkpkyn Command line: x86_64-pc-linux-gnu-gcc -m32 /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0-abi_x86_32.x86/meson-private/tmpacgkpkyn/testfile.c -o /var/tmp/portage/media-libs/mesa-22.2.0/work/mesa-22.2.0-abi_x86_32.x86/meson-private/tmpacgkpkyn/output.exe -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Werror=builtin-declaration-mismatch -Wformat -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -mtls-dialect=gnu2 -fpic -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,pack-relative-relocs Code: int __thread x; int main() { return x; } Compiler stdout: Compiler stderr: Program stdout: Program stderr: Checking if "-mtls-dialect=gnu2" runs: YES Program glslangValidator found: NO ../mesa-22.2.0/meson.build:683:2: ERROR: Program 'glslangValidator' not found or not executable