microsoft / microsoft/onnxruntime
Cmake Build Failed due to undefined symbol: MlasGemmX8S8DispatchNeon
- Dominant language
- C++
- Stars
- 21.9k
- Forks
- 4.2k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 184
Description
### Describe the issue
This issue is comming while building onnxruntime wheel in termux. I use termux to build the wheel because it compiles the wheel with libandroid-support.so, etc. And to use onnxruntime within termux
While i can successfully generate the wheel by installing [TermuxAarch](https://github.com/SDRausty/termux-arch) inside termux. But unable to generate in termux.
Is there any way to fix.
### Urgency
Medium
### Target platform
Termux
### Build script
python tools/ci_build/build.py --build_dir build --config Release --enable_pybind --parallel 6 --skip_tests --build_wheel
### Error / output

### GCC / Compiler Version
clang version 19.1.6 Target: aarch64-unknown-linux-android24 Thread model: posix InstalledDir: /data/data/com.termux/files/usr/bin
Contributor guide
Research direction
Start by reproducing the reported command, `python tools/ci_build/build.py --build_dir build --config Release --enable_pybind --parallel 6 --skip_tests --build_wheel`, in Termux with the stated Clang target. Inspect the build output around the undefined `MlasGemmX8S8DispatchNeon` symbol and compare it with the successful TermuxAarch build; done means the ONNX Runtime wheel builds successfully in Termux.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cmake, cpp, python
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100