Hi there,
We built Yocto on i.MX93 and ran into the following error. Please help us check it, thanks!
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/build/yishun_chen/imx93_test2/imx93/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb:do_populate_sysroot', '/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-core/glibc/glibc_2.37.bb:do_populate_sysroot', '/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-core/zlib/zlib_1.2.13.bb:do_populate_sysroot', '/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/cmake/cmake-native_3.25.2.bb:do_populate_sysroot', '/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/gcc/gcc-cross_12.3.bb:do_populate_sysroot', '/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_12.3.bb:do_populate_sysroot', '/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_populate_sysroot', '/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-multimedia/libpng/libpng_1.6.39.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.10.3.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3-build_0.10.0.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3-installer_0.6.0.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3-numpy_1.24.2.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3-packaging_23.0.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3-pip_23.0.1.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3-setuptools_67.6.0.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3-wheel_0.40.0.bb:do_populate_sysroot', 'virtual:native:/build/yishun_chen/imx93_test2/imx93/sources/poky/meta/recipes-devtools/python/python3_3.11.5.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['python3-pybind11', 'glibc', 'zlib', 'cmake-native', 'gcc-cross-aarch64', 'gcc-runtime', 'python3', 'quilt-native', 'libpng', 'python3-pybind11-native', 'patch-native', 'pseudo-native', 'python3-build-native', 'python3-installer-native', 'python3-numpy-native', 'python3-packaging-native', 'python3-pip-native', 'python3-setuptools-native', 'python3-wheel-native', 'python3-native', 'python3-flit-core-native', 'flex-native', 'gmp-native', 'linux-libc-headers', 'texinfo-dummy-native', 'gnu-config-native', 'libmpc-native', 'mpfr-native', 'zstd-native', 'zlib-native', 'binutils-cross-aarch64', 'xz-native', 'libtool-native', 'boost-native', 'bzip2-native', 'ncurses-native', 'openssl-native', 'libgcc', 'libnsl2-native', 'gdbm-native', 'libffi-native', 'libtirpc-native', 'util-linux-libuuid-native', 'sqlite3-native', 'readline-native', 'attr-native', 'python3-cython-native', 'libtirpc', 'util-linux-libuuid', 'bzip2', 'openssl', 'gdbm', 'sqlite3', 'opkg-utils', 'libnsl2', 'libxcrypt', 'ncurses', 'libffi', 'xz', 'readline', 'python3-pyproject-hooks-native', 'boost', 'unzip-native', 'gettext-minimal-native', 'm4-native', 'icu-native', 'boost-build-native', 'perl-native', 'cryptodev-linux', 'icu', 'make-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 12.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Building ONNX Runtime for aarch64
-- Performing Test HAS_NOERROR
-- Performing Test HAS_NOERROR - Success
-- Performing Test COMPILER_SUPPORT_MF16C
-- Performing Test COMPILER_SUPPORT_MF16C - Failed
-- Performing Test COMPILER_SUPPORT_FMA
F16C instruction set is not supported.
-- Performing Test COMPILER_SUPPORT_FMA - Failed
-- Performing Test COMPILER_SUPPORT_AVX
FMA instruction set is not supported.
-- Performing Test COMPILER_SUPPORT_AVX - Failed
-- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS
AVX instruction set is not supported.
One or more AVX/F16C instruction flags are not supported.
-- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: built in to C library
-- Found Patch: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/bin/patch
Patch found: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/bin/patch
Doing crosscompiling
-- Found Python: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/bin/python3-native/python3 (found suitable version "3.11.5", minimum required is "3.8") found components: Interpreter Development.Module NumPy
Loading Dependencies URLs ...
Loading Dependencies ...
-- Abseil source dir:/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/abseil_cpp-src
CMAKE_HOST_SYSTEM_NAME: Linux
Use prebuilt protoc
# date: USE_SYSTEM_TZ_DB ON
# date: USE_TZ_DB_IN_DOT OFF
# date: BUILD_SHARED_LIBS OFF
# date: ENABLE_DATE_TESTING OFF
--
-- 3.21.12.0
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success
-- Found ZLIB: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot/usr/lib/libz.so (found version "1.2.13")
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
-- Using the single-header code from /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/nlohmann_json-src/single_include/
-- Looking for strtof_l
-- Looking for strtof_l - found
-- Looking for strtoull_l
-- Looking for strtoull_l - found
-- Using toolchain file: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/toolchain.cmake.
fatal: not a git repository (or any of the parent directories): .git
-- Found Python: /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/bin/python3-native/python3 (found version "3.11.5") found components: Interpreter
[ 11%] Creating directories for 'eigen-populate'
[ 22%] Performing download step (download, verify and extract) for 'eigen-populate'
-- Downloading...
dst='/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip'
timeout='none'
inactivity timeout='none'
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip'
-- verifying file...
file='/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip'
-- SHA1 hash of
/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip
does not match expected value
expected: 'ef24286b7ece8737c99fa831b02941843546c081'
actual: '0dfd3849e0776b54c1559344aa53389b79be1eed'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip'
-- verifying file...
file='/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip'
-- SHA1 hash of
/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip
does not match expected value
expected: 'ef24286b7ece8737c99fa831b02941843546c081'
actual: '0dfd3849e0776b54c1559344aa53389b79be1eed'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip'
-- verifying file...
file='/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip'
-- SHA1 hash of
/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip
does not match expected value
expected: 'ef24286b7ece8737c99fa831b02941843546c081'
actual: '0dfd3849e0776b54c1559344aa53389b79be1eed'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip'
-- verifying file...
file='/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip'
-- SHA1 hash of
/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip
does not match expected value
expected: 'ef24286b7ece8737c99fa831b02941843546c081'
actual: '0dfd3849e0776b54c1559344aa53389b79be1eed'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip'
-- verifying file...
file='/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip'
-- SHA1 hash of
/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip
does not match expected value
expected: 'ef24286b7ece8737c99fa831b02941843546c081'
actual: '0dfd3849e0776b54c1559344aa53389b79be1eed'
-- Hash mismatch, removing...
-- Using src='https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip'
-- verifying file...
file='/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip'
-- SHA1 hash of
/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/_deps/eigen-subbuild/eigen-populate-prefix/src/eigen-3.4.0.zip
does not match expected value
expected: 'ef24286b7ece8737c99fa831b02941843546c081'
actual: '0dfd3849e0776b54c1559344aa53389b79be1eed'
-- Hash mismatch, removing...
CMake Error at eigen-subbuild/eigen-populate-prefix/src/eigen-populate-stamp/download-eigen-populate.cmake:170 (message):
Each download failed!
make[2]: *** [CMakeFiles/eigen-populate.dir/build.make:100: eigen-populate-prefix/src/eigen-populate-stamp/eigen-populate-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/eigen-populate.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
CMake Error at /build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/share/cmake-3.25/Modules/FetchContent.cmake:1624 (message):
Build step for eigen failed: 2
Call Stack (most recent call first):
/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/share/cmake-3.25/Modules/FetchContent.cmake:1764:EVAL:2 (__FetchContent_directPopulate)
/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/recipe-sysroot-native/usr/share/cmake-3.25/Modules/FetchContent.cmake:1764 (cmake_language)
external/eigen.cmake:21 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:428 (include)
CMakeLists.txt:550 (include)
-- Configuring incomplete, errors occurred!
See also "/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/CMakeFiles/CMakeOutput.log".
See also "/build/yishun_chen/imx93_test2/imx93/build/tmp/work/armv8a-poky-linux/onnxruntime/1.16.1-r0/build/CMakeFiles/CMakeError.log".
WARNING: exit code 1 from a shell command.