Applying /immortalwrt/master/feeds/video/libs/mesa/patches/100-use-llvm-subproject-vars.patch using plaintext: patching file meson.build patching file src/compiler/clc/meson.build patching file src/gallium/frontends/clover/meson.build patching file src/gallium/targets/opencl/meson.build Collecting Mako==1.2.0 (from -r ./host-pip-requirements.txt (line 1)) Using cached mako-1.2.0-py3-none-any.whl Collecting MarkupSafe==2.1.1 (from -r ./host-pip-requirements.txt (line 2)) Using cached markupsafe-2.1.1-cp311-cp311-linux_x86_64.whl Collecting ply==3.11 (from -r ./host-pip-requirements.txt (line 3)) Using cached ply-3.11-py2.py3-none-any.whl Collecting pycparser==2.21 (from -r ./host-pip-requirements.txt (line 4)) Using cached pycparser-2.21-py2.py3-none-any.whl Collecting PyYAML==6.0.1 (from -r ./host-pip-requirements.txt (line 5)) Using cached pyyaml-6.0.1-cp311-cp311-linux_x86_64.whl Installing collected packages: ply, PyYAML, pycparser, MarkupSafe, Mako Successfully installed Mako-1.2.0 MarkupSafe-2.1.1 PyYAML-6.0.1 ply-3.11 pycparser-2.21 The Meson build system Version: 1.6.1 Source dir: /immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5 Build dir: /immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/openwrt-build Build type: cross build DEPRECATION: Option 'gallium-opencl' is deprecated Project name: mesa Project version: 25.0.5 C compiler for the host machine: powerpc-openwrt-linux-musl-gcc (gcc 14.3.0 "powerpc-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r34662-90e406f2ea) 14.3.0") C linker for the host machine: powerpc-openwrt-linux-musl-gcc ld.bfd 2.42 C++ compiler for the host machine: powerpc-openwrt-linux-musl-g++ (gcc 14.3.0 "powerpc-openwrt-linux-musl-g++ (OpenWrt GCC 14.3.0 r34662-90e406f2ea) 14.3.0") C++ linker for the host machine: powerpc-openwrt-linux-musl-g++ ld.bfd 2.42 C compiler for the build machine: /immortalwrt/master/staging_dir/host/bin/gcc (gcc 9.4.0 "gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0") C linker for the build machine: /immortalwrt/master/staging_dir/host/bin/gcc ld.bfd 2.34 C++ compiler for the build machine: /immortalwrt/master/staging_dir/host/bin/g++ (gcc 9.4.0 "g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0") C++ linker for the build machine: /immortalwrt/master/staging_dir/host/bin/g++ ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: ppc Host machine cpu: generic Target machine cpu family: ppc Target machine cpu: generic Checking for size of "void*" : 4 ../../../../build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/meson.build:527: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default Dependency libglvnd skipped: feature glvnd disabled Dependency vdpau skipped: feature gallium-vdpau disabled Program glslangValidator found: YES (/immortalwrt/master/staging_dir/hostpkg/bin/glslangValidator) Found pkg-config: YES (/immortalwrt/master/staging_dir/host/bin/pkg-config) 2.2.0 Run-time dependency libva found: YES 1.22.0 Header "va/va.h" has symbol "VASurfaceAttribDRMFormatModifiers" with dependency libva: YES Program python found: YES 3.11.10 3.11.10 Fetching value of define "ETIME" : 62 Compiler for C supports arguments -gsplit-dwarf: YES Compiler for C supports link arguments -Wl,--gdb-index: NO Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : YES Compiler for C supports function attribute const: YES Compiler for C supports function attribute flatten: YES Compiler for C supports function attribute malloc: YES Compiler for C supports function attribute pure: YES Compiler for C supports function attribute unused: YES Compiler for C supports function attribute warn_unused_result: YES Compiler for C supports function attribute weak: YES Compiler for C supports function attribute format: YES Compiler for C supports function attribute packed: YES Compiler for C supports function attribute returns_nonnull: YES Compiler for C supports function attribute alias: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute optimize: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" compiles: NO Checking for function "reallocarray" : YES Checking for function "fmemopen" : YES Checking if "gc-sections" : links: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Wmisleading-indentation: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: YES Compiler for C supports arguments -Wno-nonnull-compare: YES Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Wno-unknown-pragmas: YES Compiler for C supports arguments -Wno-microsoft-enum-value: NO Compiler for C supports arguments -Wno-unused-function: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: NO Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wmisleading-indentation: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation: YES Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -flifetime-dse=1: YES Compiler for C++ supports arguments -Wno-unknown-pragmas: YES Compiler for C++ supports arguments -Wno-microsoft-enum-value: NO Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: NO Compiler for C++ supports arguments -ffunction-sections: YES Compiler for C++ supports arguments -fdata-sections: YES Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=vla: YES Compiler for C supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=vla: YES Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Checking for function "__builtin_ia32_clflushopt" : NO Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" : links: NO Library atomic found: YES Checking if "GCC 64bit atomics" with dependency -latomic: links: NO Library ws2_32 found: NO Header "sys/sysmacros.h" has symbol "major" : YES Header "sys/sysmacros.h" has symbol "minor" : YES Header "sys/sysmacros.h" has symbol "makedev" : YES Header "sys/mkdev.h" has symbol "major" : NO Check usable header "sched.h" : YES Checking for function "sched_getaffinity" : YES Check usable header "xlocale.h" : NO Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Check usable header "sys/inotify.h" : YES Check usable header "linux/udmabuf.h" : YES Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "memfd_create" : YES Checking for function "random_r" : NO Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : YES Checking for function "qsort_s" : NO Checking for function "posix_fallocate" : YES Checking for function "secure_getenv" : YES Checking if "GNU qsort_r" : links: YES Header "time.h" has symbol "struct timespec" : YES Checking for function "thrd_create" : YES Header "errno.h" has symbol "program_invocation_name" : YES Header "math.h" has symbol "issignaling" : NO Checking for function "posix_memalign" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "strtod has locale support" : links: YES Checking if "Bsymbolic" : links: YES Checking if "version-script" : links: YES Checking if "dynamic-list" : links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : YES Checking for function "dladdr" with dependency : YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Run-time dependency zlib found: YES 1.3.1 Run-time dependency libzstd found: YES 1.5.7 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.7.1 Library m found: YES Run-time dependency libdrm found: YES 2.4.123 Run-time dependency libudev found: YES 251 Found CMake: /immortalwrt/master/staging_dir/host/bin/cmake (3.31.4) Run-time dependency spirv-tools found: NO (tried pkgconfig and cmake) Run-time dependency lua54 found: NO (tried pkgconfig and cmake) Run-time dependency lua5.4 found: NO (tried pkgconfig and cmake) Run-time dependency lua-5.4 found: NO (tried pkgconfig and cmake) Run-time dependency lua53 found: NO (tried pkgconfig and cmake) Run-time dependency lua5.3 found: NO (tried pkgconfig and cmake) Run-time dependency lua-5.3 found: NO (tried pkgconfig and cmake) Dependency lua found: NO. Found 5.1.5 but need: '>=5.3' Run-time dependency lua found: NO (tried pkgconfig and cmake) Run-time dependency libelf found: YES 0.192 Dependency valgrind skipped: feature valgrind disabled Program bison found: YES (/immortalwrt/master/staging_dir/host/bin/bison) Program bison found: YES 3.8.2 3.8.2 (/immortalwrt/master/staging_dir/host/bin/bison) Program flex found: YES (/immortalwrt/master/staging_dir/host/bin/flex) Dependency libunwind skipped: feature libunwind disabled Found pkg-config: YES (/immortalwrt/master/staging_dir/host/bin/pkg-config) 2.2.0 Build-time dependency wayland-scanner found: YES 1.23.0 Program /immortalwrt/master/staging_dir/hostpkg/bin/wayland-scanner found: YES (/immortalwrt/master/staging_dir/hostpkg/bin/wayland-scanner) Run-time dependency wayland-protocols found: YES 1.38 Run-time dependency wayland-client found: YES 1.23.0 Run-time dependency wayland-server found: YES 1.23.0 Run-time dependency wayland-egl-backend found: YES 3 Checking for function "wl_display_dispatch_queue_timeout" with dependency wayland-client: NO Checking for function "wl_display_create_queue_with_name" with dependency wayland-client: YES Library sensors found: YES Program powerpc-openwrt-linux-musl-gcc-nm found: YES Program symbols-check.py found: YES (/immortalwrt/master/staging_dir/hostpkg/bin/python3 /immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/bin/symbols-check.py) Program install_megadrivers.py found: YES (/immortalwrt/master/staging_dir/hostpkg/bin/python3 /immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/bin/install_megadrivers.py) Compiler for C supports arguments -Wno-misleading-indentation: YES Program decode.py found: YES (/immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/src/compiler/isaspec/decode.py) Program encode.py found: YES (/immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/src/compiler/isaspec/encode.py) Compiler for C supports link arguments -Wl,--default-symver: YES Configuring dri.sym using configuration Checking for function "mincore" : YES Program sphinx-build skipped: feature html-docs disabled Build targets in project: 144 mesa 25.0.5 Directories prefix : /usr libdir : lib includedir : include Common C and C++ arguments c_cpp_args : OpenGL OpenGL : YES ES1 : YES ES2 : YES Shared glapi : YES GLVND : NO DRI Platform : drm Driver dir : /usr/lib/dri GLX Enabled : NO Provider : None EGL Enabled : YES Drivers : builtin:egl_dri2 builtin:egl_dri3 Platforms : wayland surfaceless drm GBM Enabled : YES Backends path : /usr/lib/gbm Vulkan Drivers : NO Video Codecs : av1dec av1enc vp9dec APIs : va LLVM Enabled : NO Gallium Enabled : YES Drivers : virgl Platforms : wayland surfaceless drm Frontends : mesa va Off-screen rendering (OSMesa): NO HUD lm-sensors : YES Perfetto Enabled : NO Teflon (TensorFlow Lite delegate) Enabled : NO User defined options Cross files : /immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/openwrt-cross.txt Native files : /immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/openwrt-native.txt android-stub : false buildtype : plain default_library : both draw-use-llvm : false egl : enabled gallium-drivers : virgl gallium-opencl : disabled gbm : enabled gles1 : enabled gles2 : enabled glvnd : disabled glx : disabled intel-clc : system libunwind : disabled llvm : disabled mesa-clc : auto opengl : true platforms : wayland precomp-compiler : system tools : valgrind : disabled video-codecs : all_free vulkan-drivers : Found ninja-1.12.1 at /immortalwrt/master/staging_dir/host/bin/ninja ninja: Entering directory `/immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/openwrt-build' [1/982] Generating src/util/format/u_format_gen.h with a custom command (wrapped by meson to capture output) [2/982] Generating src/util/driconf_static.h with a custom command [3/982] Generating src/util/format_srgb with a custom command (wrapped by meson to capture output) [4/982] Generating src/util/format/u_format_pack.h with a custom command (wrapped by meson to capture output) [5/982] Generating src/util/format/u_format_table.c with a custom command (wrapped by meson to capture output) [6/982] Generating src/git_sha1.h with a custom command [7/982] Generating src/mapi/glapi/gen/enums.c with a custom command (wrapped by meson to capture output) [8/982] Generating src/mapi/glapi/gen/api_exec_init.c with a custom command (wrapped by meson to capture output) [9/982] Generating src/mapi/glapi/gen/api_exec_decl.h with a custom command (wrapped by meson to capture output) [10/982] Generating src/mapi/glapi/gen/api_save_init.h with a custom command (wrapped by meson to capture output) [11/982] Generating src/mapi/glapi/gen/api_save.h with a custom command (wrapped by meson to capture output) [12/982] Generating src/mapi/glapi/gen/api_beginend_init.h with a custom command (wrapped by meson to capture output) [13/982] Generating src/mapi/glapi/gen/api_hw_select_init.h with a custom command (wrapped by meson to capture output) [14/982] Generating src/mapi/glapi/gen/unmarshal_table.c with a custom command (wrapped by meson to capture output) [15/982] Generating src/mapi/glapi/gen/marshal_generated0.c with a custom command (wrapped by meson to capture output) [16/982] Generating src/mapi/glapi/gen/marshal_generated1.c with a custom command (wrapped by meson to capture output) [17/982] Generating src/mapi/glapi/gen/marshal_generated2.c with a custom command (wrapped by meson to capture output) [18/982] Generating src/mapi/glapi/gen/marshal_generated3.c with a custom command (wrapped by meson to capture output) [19/982] Generating src/mapi/glapi/gen/marshal_generated4.c with a custom command (wrapped by meson to capture output) [20/982] Generating src/mapi/glapi/gen/marshal_generated5.c with a custom command (wrapped by meson to capture output) [21/982] Generating src/mapi/glapi/gen/marshal_generated6.c with a custom command (wrapped by meson to capture output) [22/982] Generating src/mapi/glapi/gen/marshal_generated7.c with a custom command (wrapped by meson to capture output) [23/982] Generating src/mapi/shared-glapi/shared_glapi_mapi_tmp.h with a custom command (wrapped by meson to capture output) [24/982] Generating src/compiler/builtin_types.h with a custom command [25/982] Generating src/compiler/builtin_types.c with a custom command [26/982] Generating src/compiler/ir_expression_operation.h with a custom command (wrapped by meson to capture output) [27/982] Generating src/compiler/nir/nir_builder_opcodes.h with a custom command (wrapped by meson to capture output) [28/982] Generating src/compiler/nir/nir_constant_expressions.c with a custom command (wrapped by meson to capture output) [29/982] Generating src/compiler/nir/nir_opcodes.h with a custom command (wrapped by meson to capture output) [30/982] Generating src/compiler/nir/nir_opcodes.c with a custom command (wrapped by meson to capture output) [31/982] Generating src/compiler/nir/nir_opt_algebraic.c with a custom command FAILED: src/compiler/nir/nir_opt_algebraic.c /immortalwrt/master/staging_dir/hostpkg/bin/python3 ../src/compiler/nir/nir_opt_algebraic.py --out src/compiler/nir/nir_opt_algebraic.c Segmentation fault (core dumped) ninja: build stopped: subcommand failed. make[2]: *** [Makefile:819: /immortalwrt/master/build_dir/target-powerpc_8548_musl/mesa-virgl/mesa-25.0.5/.built] Error 1 time: package/feeds/video/mesa/virgl/compile#49.75#3.93#55.38