Skip to content

Instantly share code, notes, and snippets.

@bjacob
Created December 18, 2025 15:25
Show Gist options
  • Select an option

  • Save bjacob/f2da084dd681911d32059df82b44c8e5 to your computer and use it in GitHub Desktop.

Select an option

Save bjacob/f2da084dd681911d32059df82b44c8e5 to your computer and use it in GitHub Desktop.
FAILED: tests/e2e/math/math_ops_llvm-cpu_math_ops_llvm-cpu.mlir_module.vmfb /tmp/xx/iree-build/tests/e2e/math/math_ops_llvm-cpu_math_ops_llvm-cpu.mlir_module.vmfb
cd /tmp/xx/iree-build/tests/e2e/math && /tmp/xx/iree-build/tools/iree-compile --output-format=vm-bytecode --mlir-print-op-on-diagnostic=false --iree-hal-target-backends=llvm-cpu --iree-llvmcpu-target-cpu=generic /tmp/xx/iree-build/tests/e2e/math/math_ops_llvm-cpu.mlir -o math_ops_llvm-cpu_math_ops_llvm-cpu.mlir_module.vmfb --iree-hal-executable-object-search-path=\"/tmp/xx/iree-build\" --iree-llvmcpu-embedded-linker-path=\"/tmp/xx/iree-build/llvm-project/bin/lld\" --iree-llvmcpu-wasm-linker-path=\"/tmp/xx/iree-build/llvm-project/bin/lld\"
lld: error: undefined symbol: fma
>>> referenced by math_ops_llvm-cpu.mlir:29
>>> /tmp/math_ops_llvm_cpu_linked-cb60c2.o:(_test_acos_f16_dispatch_0_elementwise_9_f16)
>>> referenced by math_ops_llvm-cpu.mlir:29
>>> /tmp/math_ops_llvm_cpu_linked-cb60c2.o:(_test_acos_f16_dispatch_0_elementwise_9_f16)
>>> referenced by math_ops_llvm-cpu.mlir:29
>>> /tmp/math_ops_llvm_cpu_linked-cb60c2.o:(_test_acos_f16_dispatch_0_elementwise_9_f16)
>>> referenced 173 more times
>>> did you mean: fmaf
>>> defined in: /tmp/math_ops_llvm_cpu_linked-cb60c2.o
lld: error: undefined symbol: __truncdfhf2
>>> referenced by math_ops_llvm-cpu.mlir:29
>>> /tmp/math_ops_llvm_cpu_linked-cb60c2.o:(_test_acos_f16_dispatch_0_elementwise_9_f16)
>>> referenced by math_ops_llvm-cpu.mlir:29
>>> /tmp/math_ops_llvm_cpu_linked-cb60c2.o:(_test_acos_f16_dispatch_0_elementwise_9_f16)
>>> referenced by math_ops_llvm-cpu.mlir:29
>>> /tmp/math_ops_llvm_cpu_linked-cb60c2.o:(_test_acos_f16_dispatch_0_elementwise_9_f16)
>>> referenced 173 more times
>>> did you mean: __truncsfhf2
>>> defined in: /tmp/math_ops_llvm_cpu_linked-cb60c2.o
Linking failed; escaped command line returned exit code 256:
LLD_VERSION=IREE "/tmp/xx/iree-build/llvm-project/bin/lld" -flavor gnu -o /tmp/math_ops_llvm_cpu_linked-cb60c2.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/math_ops_llvm_cpu_linked-cb60c2.o
/tmp/xx/iree-build/tests/e2e/math/math_ops_llvm-cpu.mlir:0:0: error: failed to link executable and generate target dylib (check above for more specific error messages)
/tmp/xx/iree-build/tests/e2e/math/math_ops_llvm-cpu.mlir:0:0: error: failed to serialize executable for target backend llvm-cpu
/tmp/xx/iree-build/tests/e2e/math/math_ops_llvm-cpu.mlir:0:0: error: failed to serialize executables
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment