Build started at 2021-04-25T08:43:28.101924 Main binary: /usr/bin/python3.9 Build Options: -Ddistro-independent=false -Ddri2=false -Dprefix=/usr -Dbindir=lib -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 '--cross-file /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8/tools/cross-wine32' '--native-file /tmp/portage/app-emulation/gallium-nine-standalone-0.8/temp/meson.i686-pc-linux-gnu.x86.ini' Python system: Linux The Meson build system Version: 0.56.2 Source dir: /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8 Build dir: /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86 Build type: cross build Program tools/get_version.sh found: YES (/tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8/tools/get_version.sh) Running command: /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8/tools/get_version.sh --- stdout --- 0.8.0.0-release --- stderr --- WARNING: Unknown options: "build.c_args, build.c_link_args, build.cpp_args, build.cpp_link_args, build.fortran_args, build.fortran_link_args, build.objc_args, build.objc_link_args, build.objcpp_args, build.objcpp_link_args" The value of new options can be set with: meson setup --reconfigure -Dnew_option=new_value ... Project name: Gallium Nine Standalone Project version: 0.8.0.0-release None of 'CFLAGS' are defined in the environment, not changing global flags. None of 'LDFLAGS' are defined in the environment, not changing global flags. None of 'CPPFLAGS' are defined in the environment, not changing global flags. None of 'CC_LD' are defined in the environment, not changing global flags. Sanity testing C compiler: winegcc Is cross compiler: True. Sanity check compiler command line: winegcc /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86/meson-private/sanitycheckc.c -o /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86/meson-private/sanitycheckc_cross.exe -march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches -DG9DLL="Z:/usr/lib/d3d9-nine.dll.so" -m32 -pipe -D_FILE_OFFSET_BITS=64 -c Sanity check compile stdout: ----- Sanity check compile stderr: ----- C compiler for the host machine: winegcc (clang 12.0.0 "clang version 12.0.0") C linker for the host machine: winegcc ld.lld 12.0.0 None of 'CFLAGS_FOR_BUILD' are defined in the environment, not changing global flags. None of 'LDFLAGS_FOR_BUILD' are defined in the environment, not changing global flags. None of 'CPPFLAGS_FOR_BUILD' are defined in the environment, not changing global flags. None of 'CC_LD_FOR_BUILD' are defined in the environment, not changing global flags. Sanity testing C compiler: x86_64-pc-linux-gnu-gcc-10.3.0 -m32 Is cross compiler: False. None of 'CC_LD_FOR_BUILD' are defined in the environment, not changing global flags. Sanity check compiler command line: x86_64-pc-linux-gnu-gcc-10.3.0 -m32 /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86/meson-private/sanitycheckc.c -o /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86/meson-private/sanitycheckc.exe -march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches -pipe -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86/meson-private/sanitycheckc.exe C compiler for the build machine: x86_64-pc-linux-gnu-gcc-10.3.0 -m32 (gcc 10.3.0 "x86_64-pc-linux-gnu-gcc-10.3.0 (Gentoo 10.3.0 p1) 10.3.0") C linker for the build machine: x86_64-pc-linux-gnu-gcc-10.3.0 -m32 ld.bfd 2.35.2 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 Program winegcc found: YES (/usr/bin/winegcc) Running compile: Working directory: /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86/meson-private/tmp6qdckan2 Command line: winegcc /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86/meson-private/tmp6qdckan2/testfile.c -o /tmp/portage/app-emulation/gallium-nine-standalone-0.8/work/wine-nine-standalone-0.8-abi_x86_32.x86/meson-private/tmp6qdckan2/output.obj -pipe -c -march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -frecord-gcc-switches -DG9DLL="Z:/usr/lib/d3d9-nine.dll.so" -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=unknown-warning-option -Werror=unused-command-line-argument -Werror=ignored-optimization-argument Code: #ifndef __WINE__ #error 1 #endif Compiler stdout: Compiler stderr: clang-12: error: argument unused during compilation: '-fuse-ld=lld' [-Werror,-Wunused-command-line-argument] clang-12: error: argument unused during compilation: '--param l1-cache-size=32' [-Werror,-Wunused-command-line-argument] clang-12: error: argument unused during compilation: '--param l1-cache-line-size=64' [-Werror,-Wunused-command-line-argument] winegcc: /usr/lib/llvm/12/bin/clang failed Checking if "winegcc check" compiles: NO ../wine-nine-standalone-0.8/meson.build:39:2: ERROR: Problem encountered: A WINE cross compiler is required