Skip to content

[Build] Cannot cross platform build for v3.20 alpine arm64 #24788

Open
@adamigen

Description

@adamigen

Describe the issue

Hi, I'm trying to build for arm64 alpine v3.20 from amd64 ubuntu. My setup:

Toolchain : https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz

tool.cmake:

SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_C_COMPILER aarch64-none-linux-gnu-gcc)
SET(CMAKE_CXX_COMPILER aarch64-none-linux-gnu-g++)
SET(CMAKE_LINKER aarch64-none-linux-gnu-ld)
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
SET(CMAKE_FIND_ROOT_PATH /home/sysroot)

Dependencies pulled from https://dl-cdn.alpinelinux.org/alpine/v3.20/*/aarch64

onnxrutime versions tried: master
1.16.2 0c5b95f
1.17.1 8f5c79c

cmake command:

cmake -S ../cmake -B . \
		-DCMAKE_TOOLCHAIN_FILE=/home/tool.cmake \
		-Donnxruntime_ENABLE_CPUINFO=OFF \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DBUILD_ONNX_PYTHON=OFF \
		-Donnxruntime_BUILD_SHARED_LIB=ON \
		-Donnxruntime_BUILD_UNIT_TESTS=OFF \
		-Donnxruntime_ENABLE_PYTHON=OFF \
		-Donnxruntime_USE_NEURAL_SPEED=OFF \
		-Donnxruntime_DISABLE_ABSEIL=ON

It looks like the version of protobuf pulled by cmake ( _deps/protobuf-src/version.json "21.x") is incompatible with abseil 20230802.1-r0, which is used in alpine v3.20.

Is there any way to instruct the build to not build protobuf but use the provided one in sysroot ?
I tried -Donnxruntime_PREFER_SYSTEM_LIB=ON and various other options out of despair..

The build errors are numerous, let me know if you think they would help.
Thank you

Urgency

No response

Target platform

aarch64 alpine v3.20 Cortex A53

Build script

cmake -S ../cmake -B .
-DCMAKE_TOOLCHAIN_FILE=/home/tool.cmake
-Donnxruntime_ENABLE_CPUINFO=OFF
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DBUILD_ONNX_PYTHON=OFF
-Donnxruntime_BUILD_SHARED_LIB=ON
-Donnxruntime_BUILD_UNIT_TESTS=OFF
-Donnxruntime_ENABLE_PYTHON=OFF
-Donnxruntime_USE_NEURAL_SPEED=OFF
-Donnxruntime_DISABLE_ABSEIL=ON

Error / output

cmake -S ../cmake -B . -DCMAKE_TOOLCHAIN_FILE=/home/tool.cmake -Donnxruntime_ENABLE_CPUINFO=OFF -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_ONNX_PYTHON=OFF -Donnxruntime_BUILD_SHARED_LIB=ON -Donnxruntime_BUILD_UNIT_TESTS=OFF -Donnxruntime_ENABLE_PYTHON=OFF -Donnxruntime_USE_NEURAL_SPEED=OFF -Donnxruntime_DISABLE_ABSEIL=ON -Donnxruntime_PREFER_SYSTEM_LIB=OFF
CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy):
The OLD behavior for policy CMP0104 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /home/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-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: /home/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:55 (include):
Policy CMP0145 is not set: The Dart and FindDart modules are removed. Run
"cmake --help-policy CMP0145" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.31/Modules/Dart.cmake:47 (message):
Policy CMP0145 is not set: The Dart and FindDart modules are removed. Run
"cmake --help-policy CMP0145" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:55 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning at adjust_global_compile_flags.cmake:280 (message):
CMAKE_SYSTEM_PROCESSOR is not set. Please set it in your toolchain cmake
file.
Call Stack (most recent call first):
CMakeLists.txt:488 (include)

Setting CMAKE_SYSTEM_PROCESSOR to aarch64
-- Performing Test COMPILER_SUPPORT_MF16C
-- Performing Test COMPILER_SUPPORT_MF16C - Failed
F16C instruction set is not supported.
-- Performing Test COMPILER_SUPPORT_FMA
-- Performing Test COMPILER_SUPPORT_FMA - Failed
FMA instruction set is not supported.
-- Performing Test COMPILER_SUPPORT_AVX
-- Performing Test COMPILER_SUPPORT_AVX - Failed
AVX instruction set is not supported.
One or more AVX/F16C instruction flags are not supported.
Building ONNX Runtime for aarch64 CPU ARCH
-- Performing Test onnxruntime_HAVE_BUILTIN_ATOMICS
-- 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
-- Could NOT find Patch (missing: Patch_EXECUTABLE)
Doing crosscompiling
-- Found Python: /usr/bin/python3 (found suitable version "3.11.2", minimum required is "3.8") found components: Interpreter
Loading Dependencies URLs ...
Loading Dependencies ...
-- Abseil source dir:
CMAKE_HOST_SYSTEM_NAME: Linux
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(protoc_binary) is deprecated, call
FetchContent_MakeAvailable(protoc_binary) instead. Policy CMP0169 can be
set to OLD to allow FetchContent_Populate(protoc_binary) to be called
directly for now, but the ability to call it with declared details will be
removed completely in a future version.
Call Stack (most recent call first):
external/onnxruntime_external_deps.cmake:132 (FetchContent_Populate)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

Use prebuilt protoc
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(date) is deprecated, call
FetchContent_MakeAvailable(date) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(date) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
external/helper_functions.cmake:139 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:214 (onnxruntime_fetchcontent_makeavailable)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at /home/onnxruntime/build/_deps/date-src/CMakeLists.txt:18 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

date: USE_SYSTEM_TZ_DB ON

date: MANUAL_TZ_DB OFF

date: USE_TZ_DB_IN_DOT OFF

date: BUILD_SHARED_LIBS OFF

date: ENABLE_DATE_TESTING OFF

date: DISABLE_STRING_VIEW OFF

CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(google_nsync) is deprecated, call
FetchContent_MakeAvailable(google_nsync) instead. Policy CMP0169 can be
set to OLD to allow FetchContent_Populate(google_nsync) to be called
directly for now, but the ability to call it with declared details will be
removed completely in a future version.
Call Stack (most recent call first):
external/helper_functions.cmake:139 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:325 (onnxruntime_fetchcontent_makeavailable)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at /home/onnxruntime/build/_deps/google_nsync-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(safeint) is deprecated, call
FetchContent_MakeAvailable(safeint) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(safeint) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
external/onnxruntime_external_deps.cmake:356 (FetchContent_Populate)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(utf8_range) is deprecated, call
FetchContent_MakeAvailable(utf8_range) instead. Policy CMP0169 can be set
to OLD to allow FetchContent_Populate(utf8_range) to be called directly for
now, but the ability to call it with declared details will be removed
completely in a future version.
Call Stack (most recent call first):
external/helper_functions.cmake:139 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:358 (onnxruntime_fetchcontent_makeavailable)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at /home/onnxruntime/build/_deps/utf8_range-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(Protobuf) is deprecated, call
FetchContent_MakeAvailable(Protobuf) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(Protobuf) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
external/helper_functions.cmake:139 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:362 (onnxruntime_fetchcontent_makeavailable)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at /home/onnxruntime/build/_deps/protobuf-src/CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

--
-- 3.21.12.0
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success
-- Found ZLIB: /home/sysroot/lib/libz.so (found version "1.3.1")
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(mp11) is deprecated, call
FetchContent_MakeAvailable(mp11) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(mp11) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
external/helper_functions.cmake:139 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:362 (onnxruntime_fetchcontent_makeavailable)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(GSL) is deprecated, call
FetchContent_MakeAvailable(GSL) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(GSL) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
external/helper_functions.cmake:139 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:362 (onnxruntime_fetchcontent_makeavailable)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(flatbuffers) is deprecated, call
FetchContent_MakeAvailable(flatbuffers) instead. Policy CMP0169 can be set
to OLD to allow FetchContent_Populate(flatbuffers) to be called directly
for now, but the ability to call it with declared details will be removed
completely in a future version.
Call Stack (most recent call first):
external/helper_functions.cmake:139 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:362 (onnxruntime_fetchcontent_makeavailable)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at /home/onnxruntime/build/_deps/flatbuffers-src/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

-- Looking for strtof_l
-- Looking for strtof_l - found
-- Looking for strtoull_l
-- Looking for strtoull_l - found
-- Using toolchain file: /home/tool.cmake.
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(eigen) is deprecated, call
FetchContent_MakeAvailable(eigen) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(eigen) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
external/eigen.cmake:12 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:462 (include)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(onnx) is deprecated, call
FetchContent_MakeAvailable(onnx) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(onnx) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
external/helper_functions.cmake:139 (FetchContent_Populate)
external/onnxruntime_external_deps.cmake:466 (onnxruntime_fetchcontent_makeavailable)
CMakeLists.txt:575 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at /home/onnxruntime/build/_deps/onnx-src/CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

CMake Warning (dev) at /home/onnxruntime/build/_deps/onnx-src/CMakeLists.txt:112 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python3 (found version "3.11.2")
-- Using custom protoc executable
Generated: /home/onnxruntime/build/_deps/onnx-build/onnx/onnx-ml.proto
Generated: /home/onnxruntime/build/_deps/onnx-build/onnx/onnx-operators-ml.proto
Generated: /home/onnxruntime/build/_deps/onnx-build/onnx/onnx-data.proto

-- ******** Summary ********
-- CMake version : 3.31.6
-- CMake command : /usr/bin/cmake
-- System : Linux
-- C++ compiler : /home/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-g++
-- C++ compiler version : 14.2.1
-- CXX flags : -ffunction-sections -fdata-sections -Wno-restrict -Wnon-virtual-dtor
-- Build type : None
-- Compile definitions : ORT_ENABLE_STREAM;ORT_NO_RTTI;EIGEN_MPL2_ONLY;_GNU_SOURCE;__STDC_FORMAT_MACROS
-- CMAKE_PREFIX_PATH :
-- CMAKE_INSTALL_PREFIX : /usr
-- CMAKE_MODULE_PATH : /home/onnxruntime/cmake/external

-- ONNX version : 1.15.0
-- ONNX NAMESPACE : onnx
-- ONNX_USE_LITE_PROTO : ON
-- USE_PROTOBUF_SHARED_LIBS : OFF
-- Protobuf_USE_STATIC_LIBS : ON
-- ONNX_DISABLE_EXCEPTIONS : OFF
-- ONNX_DISABLE_STATIC_REGISTRATION : OFF
-- ONNX_WERROR : OFF
-- ONNX_BUILD_TESTS : OFF
-- ONNX_BUILD_BENCHMARKS : OFF
-- ONNX_BUILD_SHARED_LIBS :
-- BUILD_SHARED_LIBS : OFF

-- Protobuf compiler :
-- Protobuf includes :
-- Protobuf libraries :
-- BUILD_ONNX_PYTHON : OFF
Finished fetching external dependencies
-- Performing Test HAS_AMBIGUOUS_REVERSED_OPERATOR
-- Performing Test HAS_AMBIGUOUS_REVERSED_OPERATOR - Failed
-- Performing Test HAS_BITWISE_INSTEAD_OF_LOGICAL
-- Performing Test HAS_BITWISE_INSTEAD_OF_LOGICAL - Failed
-- Performing Test HAS_CAST_FUNCTION_TYPE
-- Performing Test HAS_CAST_FUNCTION_TYPE - Success
-- Performing Test HAS_CATCH_VALUE
-- Performing Test HAS_CATCH_VALUE - Success
-- Performing Test HAS_CLASS_MEMACCESS
-- Performing Test HAS_CLASS_MEMACCESS - Success
-- Performing Test HAS_DEPRECATED_ANON_ENUM_ENUM_CONVERSION
-- Performing Test HAS_DEPRECATED_ANON_ENUM_ENUM_CONVERSION - Failed
-- Performing Test HAS_DEPRECATED_BUILTINS
-- Performing Test HAS_DEPRECATED_BUILTINS - Failed
-- Performing Test HAS_DEPRECATED_COPY
-- Performing Test HAS_DEPRECATED_COPY - Success
-- Performing Test HAS_DEPRECATED_DECLARATIONS
-- Performing Test HAS_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAS_ENUM_CONSTEXPR_CONVERSION
-- Performing Test HAS_ENUM_CONSTEXPR_CONVERSION - Failed
-- Performing Test HAS_FORMAT_TRUNCATION
-- Performing Test HAS_FORMAT_TRUNCATION - Success
-- Performing Test HAS_IGNORED_ATTRIBUTES
-- Performing Test HAS_IGNORED_ATTRIBUTES - Success
-- Performing Test HAS_MAYBE_UNINITIALIZED
-- Performing Test HAS_MAYBE_UNINITIALIZED - Success
-- Performing Test HAS_MISSING_BRACES
-- Performing Test HAS_MISSING_BRACES - Success
-- Performing Test HAS_NONNULL_COMPARE
-- Performing Test HAS_NONNULL_COMPARE - Success
-- Performing Test HAS_PARENTHESES
-- Performing Test HAS_PARENTHESES - Success
-- Performing Test HAS_SHORTEN_64_TO_32
-- Performing Test HAS_SHORTEN_64_TO_32 - Failed
-- Performing Test HAS_STRICT_ALIASING
-- Performing Test HAS_STRICT_ALIASING - Success
NVCC_ERROR =
NVCC_OUT = no such file or directory
-- Performing Test HAS_TAUTOLOGICAL_POINTER_COMPARE
-- Performing Test HAS_TAUTOLOGICAL_POINTER_COMPARE - Failed
-- Performing Test HAS_UNDEFINED_VAR_TEMPLATE
-- Performing Test HAS_UNDEFINED_VAR_TEMPLATE - Failed
-- Performing Test HAS_UNUSED_BUT_SET_PARAMETER
-- Performing Test HAS_UNUSED_BUT_SET_PARAMETER - Success
-- Performing Test HAS_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAS_UNUSED_BUT_SET_VARIABLE - Success
-- Performing Test HAS_UNUSED_VARIABLE
-- Performing Test HAS_UNUSED_VARIABLE - Success
-- Performing Test HAS_USELESS_CAST
-- Performing Test HAS_USELESS_CAST - Success
-- Looking for reallocarray
-- Looking for reallocarray - found
-- Performing Test HAS_ARM64_BFLOAT16
-- Performing Test HAS_ARM64_BFLOAT16 - Success
-- Performing Test HAS_ARM64_FLOAT16
-- Performing Test HAS_ARM64_FLOAT16 - Success
-- Found Git: /usr/bin/git (found version "2.39.5")
CMake Warning at CMakeLists.txt:1599 (message):
MPI and NCCL disabled on Win build.

-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Configuring done (15.4s)
-- Generating done (0.2s)
CMake Warning:
Manually-specified variables were not used by the project:

onnxruntime_PREFER_SYSTEM_LIB

Visual Studio Version

No response

GCC / Compiler Version

root@b0e16c0a0201:/home/onnxruntime/build# aarch64-none-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=aarch64-none-linux-gnu-gcc COLLECT_LTO_WRAPPER=/home/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/14.2.1/lto-wrapper Target: aarch64-none-linux-gnu Configured with: /data/jenkins/workspace/GNU-toolchain/arm-14/src/gcc/configure --target=aarch64-none-linux-gnu --prefix= --with-sysroot=/aarch64-none-linux-gnu/libc --with-build-sysroot=/data/jenkins/workspace/GNU-toolchain/arm-14/build-aarch64-none-linux-gnu/install//aarch64-none-linux-gnu/libc --with-bugurl=https://bugs.linaro.org/ --enable-gnu-indirect-function --enable-shared --disable-libssp --disable-libmudflap --enable-checking=release --enable-languages=c,c++,fortran --with-gmp=/data/jenkins/workspace/GNU-toolchain/arm-14/build-aarch64-none-linux-gnu/host-tools --with-mpfr=/data/jenkins/workspace/GNU-toolchain/arm-14/build-aarch64-none-linux-gnu/host-tools --with-mpc=/data/jenkins/workspace/GNU-toolchain/arm-14/build-aarch64-none-linux-gnu/host-tools --with-isl=/data/jenkins/workspace/GNU-toolchain/arm-14/build-aarch64-none-linux-gnu/host-tools --enable-fix-cortex-a53-843419 --with-pkgversion='Arm GNU Toolchain 14.2.Rel1 (Build arm-14.52)' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.2.1 20241119 (Arm GNU Toolchain 14.2.Rel1 (Build arm-14.52))

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildbuild issues; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions