Closed wynterr closed 3 months ago
Error messages:
[0/2] Re-checking globbed directories... [1/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.arith.ops_gen [2/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.builtin.ops_gen [3/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.cf [4/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.cf.ops_gen [5/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.complex [6/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.complex.ops_gen [7/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.func.ops_gen [8/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.builtin [9/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.func [10/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.linalg.ops_gen [11/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.math [12/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.math.ops_gen [13/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.memref.ops_gen [14/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.pdl.ops_gen [15/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.shape [16/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.shape.ops_gen [17/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.structured_transform.ops_gen [18/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.tensor.ops_gen [19/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.memref [20/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.structured_transform [21/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.tensor [22/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.tosa [23/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.tosa.ops_gen [24/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.transform.ops_gen [25/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.vector [26/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.vector.ops_gen [27/280] Running utility command for IREECompilerPythonModules.sources.IREEDialectsPythonSources.Dialects.iree_input [28/280] Running utility command for IREECompilerPythonModules.sources.IREEDialectsPythonSources.Dialects.iree_input.ops_gen [29/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.pdl [30/280] Running utility command for IREECompilerPythonModules.sources.IREEDialectsPythonSources.Dialects.iree_linalg_ext [31/280] Running utility command for IREECompilerPythonModules.sources.IREEDialectsPythonSources.Dialects.iree_linalg_ext.ops_gen [32/280] Running utility command for IREECompilerPythonModules.sources.IREEDialectsPythonSources.Dialects.iree_linalg_transform.ops_gen [33/280] Running utility command for IREECompilerPythonModules.sources.IREEDialectsPythonSources.Dialects.iree_structured_transform.ops_gen [34/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.transform [35/280] Running utility command for IREECompilerPythonModules.sources.IREEDialectsPythonSources.Dialects.iree_linalg_transform [36/280] Running utility command for IREECompilerPythonModules.sources.IREEDialectsPythonSources.Dialects.iree_structured_transform [37/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.arith [38/280] Generating simple_mul_module_c.h, simple_mul_module_c.c [39/280] Generating module_benchmark_module_c.h, module_benchmark_module_c.c [40/280] Linking C static library runtime/src/iree/hal/drivers/vulkan/cts/libiree_hal_drivers_vulkan_cts_vulkan-spirv_executables_c.a [41/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Core [42/280] Generating conversion_ops.vmfb from conversion_ops.mlir [43/280] Building C object runtime/src/iree/hal/drivers/local_task/cts/CMakeFiles/iree_hal_drivers_local_task_cts_vmvx_executables_c.objects.dir/vmvx_executables_c.c.o [44/280] Linking CXX executable runtime/src/iree/hal/drivers/cuda/cts/cuda_command_buffer_dispatch_test [45/280] Building C object runtime/src/iree/runtime/testdata/CMakeFiles/iree_runtime_testdata_simple_mul_module_c.objects.dir/simple_mul_module_c.c.o [46/280] Running utility command for IREECompilerPythonModules.sources.IREECompilerAPIPythonTools [47/280] Running utility command for IREECompilerPythonModules.sources.MLIRPythonSources.Dialects.linalg [48/280] Linking CXX executable runtime/src/iree/hal/drivers/cuda/cts/cuda_command_buffer_push_constants_test [49/280] Linking CXX executable runtime/src/iree/hal/drivers/cuda/cts/cuda_executable_cache_test [50/280] Linking CXX executable runtime/src/iree/hal/drivers/cuda/cts/cuda_graph_command_buffer_dispatch_test [51/280] Linking CXX executable runtime/src/iree/hal/drivers/local_sync/cts/local-sync_vmvx_command_buffer_dispatch_test [52/280] Linking CXX executable runtime/src/iree/hal/drivers/local_sync/cts/local-sync_vmvx_command_buffer_push_constants_test [53/280] Linking C static library runtime/src/iree/hal/drivers/local_task/cts/libiree_hal_drivers_local_task_cts_vmvx_executables_c.a [54/280] Linking CXX executable runtime/src/iree/hal/drivers/local_sync/cts/local-sync_vmvx_executable_cache_test [55/280] Linking C static library runtime/src/iree/runtime/testdata/libiree_runtime_testdata_simple_mul_module_c.a [56/280] Generating module_size_benchmark_module_c.h, module_size_benchmark_module_c.c [57/280] Building C object runtime/src/iree/runtime/demo/CMakeFiles/iree_runtime_demo_hello_world_terse.dir/hello_world_terse.c.o [58/280] Linking CXX executable runtime/src/iree/hal/drivers/vulkan/cts/vulkan_command_buffer_dispatch_test [59/280] Generating assignment_ops_f32.vmfb from assignment_ops_f32.mlir [60/280] Generating list_ops.vmfb from list_ops.mlir [61/280] Generating list_ops_i64.vmfb from list_ops_i64.mlir [62/280] Generating global_ops_i64.vmfb from global_ops_i64.mlir [63/280] Generating module_test_module.vmfb from module_test.mlir [64/280] Linking CXX executable runtime/src/iree/hal/drivers/vulkan/cts/vulkan_command_buffer_push_constants_test [65/280] Generating ref_ops.vmfb from ref_ops.mlir [66/280] Generating module_test_module_c.h, module_test_module_c.c [67/280] Building C object runtime/src/iree/vm/bytecode/CMakeFiles/iree_vm_bytecode_module_benchmark_module_c.objects.dir/module_benchmark_module_c.c.o [68/280] Generating assignment_ops.vmfb from assignment_ops.mlir [69/280] Generating assignment_ops_i64.vmfb from assignment_ops_i64.mlir [70/280] Generating arithmetic_ops_i64.vmfb from arithmetic_ops_i64.mlir [71/280] Linking CXX executable runtime/src/iree/hal/drivers/vulkan/cts/vulkan_executable_cache_test [72/280] Generating comparison_ops_f32.vmfb from comparison_ops_f32.mlir [73/280] Building C object runtime/src/iree/runtime/demo/CMakeFiles/iree_runtime_demo_hello_world_embedded.dir/hello_world_explained.c.o [74/280] Building C object runtime/src/iree/vm/bytecode/CMakeFiles/iree_vm_bytecode_module_size_benchmark_module_c.objects.dir/module_size_benchmark_module_c.c.o [75/280] Generating arithmetic_ops.vmfb from arithmetic_ops.mlir [76/280] Generating arithmetic_ops_f32.vmfb from arithmetic_ops_f32.mlir [77/280] Generating comparison_ops.vmfb from comparison_ops.mlir [78/280] Linking C static library runtime/src/iree/vm/bytecode/libiree_vm_bytecode_module_benchmark_module_c.a [79/280] Linking CXX executable runtime/src/iree/runtime/demo/hello_world_terse [80/280] Linking C static library runtime/src/iree/vm/bytecode/libiree_vm_bytecode_module_size_benchmark_module_c.a [81/280] Building C object runtime/src/iree/vm/bytecode/CMakeFiles/iree_vm_bytecode_module_test_module_c.objects.dir/module_test_module_c.c.o [82/280] Generating global_ops.vmfb from global_ops.mlir [83/280] Generating conversion_ops_f32.vmfb from conversion_ops_f32.mlir [84/280] Generating shift_ops_i64.vmfb from shift_ops_i64.mlir [85/280] Generating conversion_ops_i64.h [86/280] Generating ref_ops.h [87/280] Linking C static library runtime/src/iree/vm/bytecode/libiree_vm_bytecode_module_test_module_c.a [88/280] Generating comparison_ops_i64.h [89/280] Generating conversion_ops_f32.h [90/280] Generating all_bytecode_modules.h, all_bytecode_modules.c [91/280] Generating llvm-cpu_command_buffer_dispatch_test.bin from command_buffer_dispatch_test.mlir FAILED: runtime/src/iree/hal/drivers/local_sync/cts/llvm-cpu_command_buffer_dispatch_test.bin /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_sync/cts/llvm-cpu_command_buffer_dispatch_test.bin cd /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_sync/cts && /root/xwt/workspace/iree-build/tools/iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --compile-mode=hal-executable --iree-hal-target-backends=llvm-cpu /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_dispatch_test.mlir -o llvm-cpu_command_buffer_dispatch_test.bin --iree-hal-executable-object-search-path=\"/root/xwt/workspace/iree-build\" --iree-llvmcpu-embedded-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" --iree-llvmcpu-wasm-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 lld 0x00000000028bbd5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 lld 0x00000000028b9f90 llvm::sys::RunSignalHandlers() + 80 2 lld 0x00000000028bc67f 3 libpthread.so.0 0x00007fa24ac45980 4 libstdc++.so.6 0x00007fa249edf679 5 libpthread.so.0 0x00007fa24ac3a6db 6 libc.so.6 0x00007fa24990c61f clone + 63 Segmentation fault (core dumped) Linking failed; escaped command line returned exit code 35584: LLD_VERSION=IREE "/root/xwt/workspace/iree-build/llvm-project/bin/lld" -flavor gnu -o /tmp/executable-28b722.so --build-id=none -nostdlib -static -shared --no-undefined --no-allow-shlib-undefined --allow-multiple-definition --gc-sections -z now -z relro --discard-all --icf=all --ignore-data-address-equality --ignore-function-address-equality --hash-style=sysv /tmp/executable-28b722.o /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_dispatch_test.mlir:15:1: error: failed to link executable and generate target dylib (check above for more specific error messages) hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_dispatch_test.mlir:15:1: error: failed to serialize executable for target backend llvm-cpu hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_dispatch_test.mlir:15:1: error: failed to serialize executables hal.executable.source public @executable { ^ [92/280] Generating list_variant_ops.h [93/280] Generating comparison_ops_f32.h [94/280] Generating llvm-cpu_command_buffer_push_constants_test.bin from command_buffer_push_constants_test.mlir FAILED: runtime/src/iree/hal/drivers/local_sync/cts/llvm-cpu_command_buffer_push_constants_test.bin /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_sync/cts/llvm-cpu_command_buffer_push_constants_test.bin cd /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_sync/cts && /root/xwt/workspace/iree-build/tools/iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --compile-mode=hal-executable --iree-hal-target-backends=llvm-cpu /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_push_constants_test.mlir -o llvm-cpu_command_buffer_push_constants_test.bin --iree-hal-executable-object-search-path=\"/root/xwt/workspace/iree-build\" --iree-llvmcpu-embedded-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" --iree-llvmcpu-wasm-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 lld 0x00000000028bbd5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 lld 0x00000000028b9f90 llvm::sys::RunSignalHandlers() + 80 2 lld 0x00000000028bc67f 3 libpthread.so.0 0x00007fb7418a6980 4 libstdc++.so.6 0x00007fb740b40679 5 libpthread.so.0 0x00007fb74189b6db 6 libc.so.6 0x00007fb74056d61f clone + 63 Segmentation fault (core dumped) Linking failed; escaped command line returned exit code 35584: LLD_VERSION=IREE "/root/xwt/workspace/iree-build/llvm-project/bin/lld" -flavor gnu -o /tmp/executable-6fa3aa.so --build-id=none -nostdlib -static -shared --no-undefined --no-allow-shlib-undefined --allow-multiple-definition --gc-sections -z now -z relro --discard-all --icf=all --ignore-data-address-equality --ignore-function-address-equality --hash-style=sysv /tmp/executable-6fa3aa.o /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_push_constants_test.mlir:9:1: error: failed to link executable and generate target dylib (check above for more specific error messages) hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_push_constants_test.mlir:9:1: error: failed to serialize executable for target backend llvm-cpu hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_push_constants_test.mlir:9:1: error: failed to serialize executables hal.executable.source public @executable { ^ [95/280] Linking CXX shared module compiler/bindings/python/iree/compiler/_mlir_libs/_mlir.cpython-311-x86_64-linux-gnu.so [96/280] Generating arithmetic_ops_i64.h [97/280] Generating llvm-cpu_command_buffer_push_constants_test.bin from command_buffer_push_constants_test.mlir FAILED: runtime/src/iree/hal/drivers/local_task/cts/llvm-cpu_command_buffer_push_constants_test.bin /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_task/cts/llvm-cpu_command_buffer_push_constants_test.bin cd /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_task/cts && /root/xwt/workspace/iree-build/tools/iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --compile-mode=hal-executable --iree-hal-target-backends=llvm-cpu /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_push_constants_test.mlir -o llvm-cpu_command_buffer_push_constants_test.bin --iree-hal-executable-object-search-path=\"/root/xwt/workspace/iree-build\" --iree-llvmcpu-embedded-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" --iree-llvmcpu-wasm-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 lld 0x00000000028bbd5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 lld 0x00000000028b9f90 llvm::sys::RunSignalHandlers() + 80 2 lld 0x00000000028bc67f 3 libpthread.so.0 0x00007f91c8edc980 4 libstdc++.so.6 0x00007f91c8176679 5 libpthread.so.0 0x00007f91c8ed16db 6 libc.so.6 0x00007f91c7ba361f clone + 63 Segmentation fault (core dumped) Linking failed; escaped command line returned exit code 35584: LLD_VERSION=IREE "/root/xwt/workspace/iree-build/llvm-project/bin/lld" -flavor gnu -o /tmp/executable-2907d6.so --build-id=none -nostdlib -static -shared --no-undefined --no-allow-shlib-undefined --allow-multiple-definition --gc-sections -z now -z relro --discard-all --icf=all --ignore-data-address-equality --ignore-function-address-equality --hash-style=sysv /tmp/executable-2907d6.o /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_push_constants_test.mlir:9:1: error: failed to link executable and generate target dylib (check above for more specific error messages) hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_push_constants_test.mlir:9:1: error: failed to serialize executable for target backend llvm-cpu hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_push_constants_test.mlir:9:1: error: failed to serialize executables hal.executable.source public @executable { ^ [98/280] Generating assignment_ops.h [99/280] Generating control_flow_ops.h [100/280] Generating llvm-cpu_executable_cache_test.bin from executable_cache_test.mlir FAILED: runtime/src/iree/hal/drivers/local_task/cts/llvm-cpu_executable_cache_test.bin /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_task/cts/llvm-cpu_executable_cache_test.bin cd /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_task/cts && /root/xwt/workspace/iree-build/tools/iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --compile-mode=hal-executable --iree-hal-target-backends=llvm-cpu /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/executable_cache_test.mlir -o llvm-cpu_executable_cache_test.bin --iree-hal-executable-object-search-path=\"/root/xwt/workspace/iree-build\" --iree-llvmcpu-embedded-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" --iree-llvmcpu-wasm-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 lld 0x00000000028bbd5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 lld 0x00000000028b9f90 llvm::sys::RunSignalHandlers() + 80 2 lld 0x00000000028bc67f 3 libpthread.so.0 0x00007f36ee1e3980 4 libstdc++.so.6 0x00007f36ed47d679 5 libpthread.so.0 0x00007f36ee1d86db 6 libc.so.6 0x00007f36eceaa61f clone + 63 Segmentation fault (core dumped) Linking failed; escaped command line returned exit code 35584: LLD_VERSION=IREE "/root/xwt/workspace/iree-build/llvm-project/bin/lld" -flavor gnu -o /tmp/executable-624b79.so --build-id=none -nostdlib -static -shared --no-undefined --no-allow-shlib-undefined --allow-multiple-definition --gc-sections -z now -z relro --discard-all --icf=all --ignore-data-address-equality --ignore-function-address-equality --hash-style=sysv /tmp/executable-624b79.o /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/executable_cache_test.mlir:15:1: error: failed to link executable and generate target dylib (check above for more specific error messages) hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/executable_cache_test.mlir:15:1: error: failed to serialize executable for target backend llvm-cpu hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/executable_cache_test.mlir:15:1: error: failed to serialize executables hal.executable.source public @executable { ^ [101/280] Linking CXX executable runtime/src/iree/runtime/demo/hello_world_embedded [102/280] Generating llvm-cpu_executable_cache_test.bin from executable_cache_test.mlir FAILED: runtime/src/iree/hal/drivers/local_sync/cts/llvm-cpu_executable_cache_test.bin /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_sync/cts/llvm-cpu_executable_cache_test.bin cd /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_sync/cts && /root/xwt/workspace/iree-build/tools/iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --compile-mode=hal-executable --iree-hal-target-backends=llvm-cpu /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/executable_cache_test.mlir -o llvm-cpu_executable_cache_test.bin --iree-hal-executable-object-search-path=\"/root/xwt/workspace/iree-build\" --iree-llvmcpu-embedded-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" --iree-llvmcpu-wasm-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 lld 0x00000000028bbd5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 lld 0x00000000028b9f90 llvm::sys::RunSignalHandlers() + 80 2 lld 0x00000000028bc67f 3 libpthread.so.0 0x00007feed2aee980 4 libstdc++.so.6 0x00007feed1d88679 5 libpthread.so.0 0x00007feed2ae36db 6 libc.so.6 0x00007feed17b561f clone + 63 Segmentation fault (core dumped) Linking failed; escaped command line returned exit code 35584: LLD_VERSION=IREE "/root/xwt/workspace/iree-build/llvm-project/bin/lld" -flavor gnu -o /tmp/executable-cf6226.so --build-id=none -nostdlib -static -shared --no-undefined --no-allow-shlib-undefined --allow-multiple-definition --gc-sections -z now -z relro --discard-all --icf=all --ignore-data-address-equality --ignore-function-address-equality --hash-style=sysv /tmp/executable-cf6226.o /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/executable_cache_test.mlir:15:1: error: failed to link executable and generate target dylib (check above for more specific error messages) hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/executable_cache_test.mlir:15:1: error: failed to serialize executable for target backend llvm-cpu hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/executable_cache_test.mlir:15:1: error: failed to serialize executables hal.executable.source public @executable { ^ [103/280] Building C object runtime/src/iree/vm/test/emitc/CMakeFiles/iree_vm_test_emitc_global_ops.objects.dir/__/__/module_impl_emitc.c.o [104/280] Generating llvm-cpu_command_buffer_dispatch_test.bin from command_buffer_dispatch_test.mlir FAILED: runtime/src/iree/hal/drivers/local_task/cts/llvm-cpu_command_buffer_dispatch_test.bin /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_task/cts/llvm-cpu_command_buffer_dispatch_test.bin cd /root/xwt/workspace/iree-build/runtime/src/iree/hal/drivers/local_task/cts && /root/xwt/workspace/iree-build/tools/iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --compile-mode=hal-executable --iree-hal-target-backends=llvm-cpu /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_dispatch_test.mlir -o llvm-cpu_command_buffer_dispatch_test.bin --iree-hal-executable-object-search-path=\"/root/xwt/workspace/iree-build\" --iree-llvmcpu-embedded-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" --iree-llvmcpu-wasm-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 lld 0x00000000028bbd5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 lld 0x00000000028b9f90 llvm::sys::RunSignalHandlers() + 80 2 lld 0x00000000028bc67f 3 libpthread.so.0 0x00007ff2e5ae9980 4 libstdc++.so.6 0x00007ff2e4d83679 5 libpthread.so.0 0x00007ff2e5ade6db 6 libc.so.6 0x00007ff2e47b061f clone + 63 Segmentation fault (core dumped) Linking failed; escaped command line returned exit code 35584: LLD_VERSION=IREE "/root/xwt/workspace/iree-build/llvm-project/bin/lld" -flavor gnu -o /tmp/executable-bd7c35.so --build-id=none -nostdlib -static -shared --no-undefined --no-allow-shlib-undefined --allow-multiple-definition --gc-sections -z now -z relro --discard-all --icf=all --ignore-data-address-equality --ignore-function-address-equality --hash-style=sysv /tmp/executable-bd7c35.o /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_dispatch_test.mlir:15:1: error: failed to link executable and generate target dylib (check above for more specific error messages) hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_dispatch_test.mlir:15:1: error: failed to serialize executable for target backend llvm-cpu hal.executable.source public @executable { ^ /root/xwt/workspace/iree/runtime/src/iree/hal/cts/testdata/command_buffer_dispatch_test.mlir:15:1: error: failed to serialize executables hal.executable.source public @executable { ^ [105/280] Building C object runtime/src/iree/vm/test/emitc/CMakeFiles/iree_vm_test_emitc_conversion_ops_i64.objects.dir/__/__/module_impl_emitc.c.o [106/280] Running utility command for iree_runtime_bindings_python_runtime [107/280] Building C object runtime/src/iree/vm/test/emitc/CMakeFiles/iree_vm_test_emitc_ref_ops.objects.dir/__/__/module_impl_emitc.c.o [108/280] Building C object runtime/src/iree/vm/test/emitc/CMakeFiles/iree_vm_test_emitc_comparison_ops_i64.objects.dir/__/__/module_impl_emitc.c.o [109/280] Building C object runtime/src/iree/vm/test/emitc/CMakeFiles/iree_vm_test_emitc_conversion_ops_f32.objects.dir/__/__/module_impl_emitc.c.o [110/280] Building CXX object runtime/src/iree/vm/bytecode/CMakeFiles/iree_vm_bytecode_module_size_benchmark.dir/module_size_benchmark.cc.o [111/280] Generating check_llvm-cpu_local-task_success.mlir_module.vmfb from success.mlir FAILED: runtime/src/iree/modules/check/test/check_llvm-cpu_local-task_success.mlir_module.vmfb /root/xwt/workspace/iree-build/runtime/src/iree/modules/check/test/check_llvm-cpu_local-task_success.mlir_module.vmfb cd /root/xwt/workspace/iree-build/runtime/src/iree/modules/check/test && /root/xwt/workspace/iree-build/tools/iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --iree-hal-target-backends=llvm-cpu /root/xwt/workspace/iree/runtime/src/iree/modules/check/test/success.mlir -o check_llvm-cpu_local-task_success.mlir_module.vmfb --iree-hal-executable-object-search-path=\"/root/xwt/workspace/iree-build\" --iree-llvmcpu-embedded-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" --iree-llvmcpu-wasm-linker-path=\"/root/xwt/workspace/iree-build/llvm-project/bin/lld\" PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 lld 0x00000000028bbd5b llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 lld 0x00000000028b9f90 llvm::sys::RunSignalHandlers() + 80 2 lld 0x00000000028bc67f 3 libpthread.so.0 0x00007f0123d26980 4 libstdc++.so.6 0x00007f0122fc0679 5 libpthread.so.0 0x00007f0123d1b6db 6 libc.so.6 0x00007f01229ed61f clone + 63 Segmentation fault (core dumped) Linking failed; escaped command line returned exit code 35584: LLD_VERSION=IREE "/root/xwt/workspace/iree-build/llvm-project/bin/lld" -flavor gnu -o /tmp/success_linked_llvm_cpu-f66a2d.so --build-id=none -nostdlib -static -shared --no-undefined --no-allow-shlib-undefined --allow-multiple-definition --gc-sections -z now -z relro --discard-all --icf=all --ignore-data-address-equality --ignore-function-address-equality --hash-style=sysv /tmp/success_linked_llvm_cpu-f66a2d.o /root/xwt/workspace/iree/runtime/src/iree/modules/check/test/success.mlir:0:0: error: failed to link executable and generate target dylib (check above for more specific error messages) /root/xwt/workspace/iree/runtime/src/iree/modules/check/test/success.mlir:0:0: error: failed to serialize executable for target backend llvm-cpu /root/xwt/workspace/iree/runtime/src/iree/modules/check/test/success.mlir:0:0: error: failed to serialize executables [112/280] Building CXX object runtime/src/iree/vm/bytecode/CMakeFiles/iree_vm_bytecode_module_benchmark.dir/module_benchmark.cc.o [113/280] Building CXX object runtime/src/iree/vm/bytecode/CMakeFiles/iree_vm_bytecode_module_test.dir/dispatch_async_test.cc.o [114/280] Building CXX object runtime/src/iree/hal/drivers/local_task/cts/CMakeFiles/iree_hal_drivers_local_task_cts_local-task_vmvx_command_buffer_dispatch_test.dir/local-task_vmvx_command_buffer_dispatch_test.cc.o [115/280] Building CXX object runtime/src/iree/hal/drivers/local_task/cts/CMakeFiles/iree_hal_drivers_local_task_cts_local-task_vmvx_executable_cache_test.dir/local-task_vmvx_executable_cache_test.cc.o [116/280] Building CXX object runtime/src/iree/hal/drivers/local_task/cts/CMakeFiles/iree_hal_drivers_local_task_cts_local-task_vmvx_command_buffer_push_constants_test.dir/local-task_vmvx_command_buffer_push_constants_test.cc.o ninja: build stopped: subcommand failed.
configuration:
cmake -G Ninja -B ../iree-build/ -S . \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DIREE_ENABLE_ASSERTIONS=ON \ -DIREE_ENABLE_SPLIT_DWARF=ON \ -DIREE_ENABLE_THIN_ARCHIVES=ON \ -DCMAKE_C_COMPILER=clang-9 \ -DCMAKE_CXX_COMPILER=clang++-9 \ -DIREE_BUILD_PYTHON_BINDINGS=ON \ -DPython3_EXECUTABLE="$(which python)" \ -DIREE_ENABLE_LLD=ON
build: cmake --build ../iree-build/
cmake --build ../iree-build/
No response
CMake 3.21.0 Clang 9.0.0
I could not reproduce the error with recent version (30e0238). I used newer clang (14.0.6).
This looks stale. Let's close, unless it continues to reproduce for others?
What happened?
Error messages:
Steps to reproduce your issue
configuration:
build:
cmake --build ../iree-build/
What component(s) does this issue relate to?
No response
Version information
CMake 3.21.0 Clang 9.0.0
Additional context
No response