TNN icon indicating copy to clipboard operation
TNN copied to clipboard

java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH in "libTNN.so" (built with --hash-style=gnu?)

Open dunzhixuan opened this issue 4 years ago • 0 comments

1. 环境(environment)

  • Build OS and Version: Mac
  • RunTime OS Version: Android
  • RunTime DEVICE: ARM

2. Github版本

  • branch:master
  • commit(optional): 8681e589

3. 编译方式(compile method) cmake_minimum_required(VERSION 3.1)

https://cmake.org/cmake/help/latest/policy/CMP0068.html

if(POLICY CMP0068) cmake_policy(SET CMP0068 NEW) endif()

https://cmake.org/cmake/help/latest/policy/CMP0077.html

if (POLICY CMP0077) cmake_policy(SET CMP0077 NEW) endif ()

project(TNN)

ENABLE_LANGUAGE(ASM)

set(TNN_MAJOR_VERSION 0) set(TNN_MINOR_VERSION 3) set(TNN_PATCH_VERSION 0) set(TNN_BUILD_VERSION 0) set(TNN_VERSION "${TNN_MAJOR_VERSION}.${TNN_MINOR_VERSION}.${TNN_PATCH_VERSION}.${TNN_BUILD_VERSION}")

option(TNN_CPU_ENABLE "Enable Cpu" ON) option(TNN_X86_ENABLE "Enable X86" OFF) option(TNN_ARM_ENABLE "Enable Arm" OFF) option(TNN_ARM82_ENABLE "Enable Arm82" OFF) option(TNN_METAL_ENABLE "Enable Metal" OFF) option(TNN_OPENCL_ENABLE "Enable OpenCL" OFF) option(TNN_CUDA_ENABLE "Enable CUDA" OFF) option(TNN_DSP_ENABLE "Enable DSP" OFF) option(TNN_ATLAS_ENABLE "Enable Atlas" OFF) option(TNN_TENSORRT_ENABLE "Enable TensorRT" OFF) option(TNN_OPENVINO_ENABLE "Enable OPENVINO" OFF) option(TNN_NPU_ENABLE "Enable NPU" OFF) option(TNN_HUAWEI_NPU_ENABLE "Enable NPU" OFF) option(TNN_RK_NPU_ENABLE "Enable RKNPU" OFF) option(TNN_SYMBOL_HIDE "Enable Hide Symbol Visibility" ON) option(TNN_OPENMP_ENABLE "Enable OpenMP" OFF) option(TNN_BUILD_SHARED "Build Shared Library" ON) option(TNN_OPENVINO_BUILD_SHARED "Build Shared Openvino Library" OFF) option(TNN_TEST_ENABLE "Enable Test" OFF) option(TNN_UNIT_TEST_ENABLE "Enable Test" OFF) option(TNN_PROFILER_ENABLE "Enable Profiler" OFF) option(TNN_QUANTIZATION_ENABLE "Enable Quantization" OFF) option(TNN_EVALUATION_ENABLE "Enable Evaluation" OFF) option(TNN_MODEL_CHECK_ENABLE "Enable Model Check" OFF) option(TNN_BENCHMARK_MODE "Enable Benchmark" OFF) option(TNN_UNIT_TEST_BENCHMARK "Enable Benchmark Layer" OFF) option(TNN_CONVERTER_ENABLE "Enable Model Converter" OFF) option(TNN_ONNX2TNN_ENABLE "Enable ONNX2TNN Converter" OFF) option(TNN_TNN2MEM_ENABLE "Enable tnn2mem" OFF) option(TNN_BUILD_BENCHMARK_TEST_LIB_ENABLE "Enable Build Benchmark Test Lib" OFF) option(TNN_GLIBCXX_USE_CXX11_ABI_ENABLE "Enable Use CXX11 ABI" ON)

set(TNN_USE_GFLAGS OFF)

message(${CMAKE_SOURCE_DIR}) message(${CMAKE_CURRENT_SOURCE_DIR})

include(cmake/macros.cmake)

if (SYSTEM.Windows) add_definitions(-DBUILDING_DLL) endif()

if(TNN_PROFILER_ENABLE) add_definitions(-DTNN_PROFILE) set(TNN_SYMBOL_HIDE OFF) endif()

if(TNN_BENCHMARK_MODE) add_definitions(-DGENERATE_RESOURCE) endif()

if(MSVC) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4003 /wd4819 /wd4244 /wd4018 /utf-8") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4003 /wd4819 /wd4244 /wd4018 /utf-8") endif()

ignore loop-vectorize warning

if(SYSTEM.Windows) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") else() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-pass-failed") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-pass-failed") endif()

ignore deprecated warning

if(SYSTEM.Windows) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") else() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations -Wno-ignored-attributes") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations -Wno-ignored-attributes") endif()

if(DEBUG) set(TNN_SYMBOL_HIDE OFF) add_definitions(-DDEBUG) if (NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "") set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "set build type to debug" FORCE) endif() else() if (NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "") set(CMAKE_BUILD_TYPE "Release" CACHE STRING "set build type to release" FORCE) endif() if(BUILD_FOR_ANDROID_COMMAND) set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -s -Wl,--gc-sections") endif() endif()

if(TNN_TEST_ENABLE) option(TNN_METAL_FLOAT32 "Enable Metal Float32" ON) else() set(TNN_UNIT_TEST_ENABLE OFF) endif()

if(TNN_UNIT_TEST_ENABLE) enable_testing() set(TNN_CPU_ENABLE ON) set(TNN_SYMBOL_HIDE OFF) add_definitions(-DGENERATE_RESOURCE) endif()

if(TNN_CONVERTER_ENABLE OR TNN_ONNX2TNN_ENABLE) set(TNN_SYMBOL_HIDE OFF) add_definitions(-DTNN_CONVERTER_RUNTIME) endif()

if(TNN_QUANTIZATION_ENABLE OR TNN_MODEL_CHECK_ENABLE) set(TNN_SYMBOL_HIDE OFF) add_definitions(-DFORWARD_CALLBACK_ENABLE) endif()

if(TNN_QUANTIZATION_ENABLE OR TNN_UNIT_TEST_ENABLE) add_definitions(-DGET_INTERP_ENABLE) endif()

if(TNN_MODEL_CHECK_ENABLE) option(TNN_METAL_FLOAT32 "Enable Metal Float32" ON) endif()

if(TNN_ARM82_ENABLE) add_definitions(-DTNN_ARM82=1) endif()

only used to simulate arm82 computation in the unit test

option(TNN_ARM82_SIMU "Enable arm82 simulation" OFF) if(TNN_ARM82_SIMU) add_definitions(-DTNN_ARM82_SIMU) endif()

if(TNN_METAL_FLOAT32) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTNN_METAL_FULL_PRECISION=1") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTNN_METAL_FULL_PRECISION=1")

if(TNN_PROFILER_ENABLE OR TNN_MODEL_CHECK_ENABLE)
  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTNN_METAL_BENCHMARK=1 -DTNN_METAL_DEBUG=1")
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTNN_METAL_BENCHMARK=1 -DTNN_METAL_DEBUG=1")
endif()

endif()

if(TNN_OPENMP_ENABLE) FIND_PACKAGE(OpenMP REQUIRED) if(OPENMP_FOUND) if(MSVC) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /openmp") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /openmp") else() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") include_directories(${OpenMP_C_INCLUDE_DIRS} ${OpenMP_CXX_INCLUDE_DIRS}) if(${ANDROID_NDK_MAJOR}) if(${ANDROID_NDK_MAJOR} GREATER 20)

            else()
                link_libraries(${OpenMP_C_LIBRARIES} ${OpenMP_CXX_LIBRARIES})
            endif()
        else()
            link_libraries(${OpenMP_C_LIBRARIES} ${OpenMP_CXX_LIBRARIES})
        endif()
    endif()
else()
    error("OpenMP Not Found.")
endif()

endif()

if(UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") if(TNN_GLIBCXX_USE_CXX11_ABI_ENABLE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=1") else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GLIBCXX_USE_CXX11_ABI=0") endif() endif()

set(CMAKE_CXX_STANDARD 11) set(CMAKE_POSITION_INDEPENDENT_CODE ON)

if(TNN_METAL_ENABLE) add_compile_options(-x objective-c++) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fobjc-arc") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fobjc-arc") endif()

if(TNN_TNN2MEM_ENABLE) add_subdirectory(tools/tnn2mem) endif()

message(STATUS ">>>>>>>>>>>>>") message(STATUS "TNN BUILD INFO:") message(STATUS "\tSystem: ${CMAKE_SYSTEM_NAME}") message(STATUS "\tProcessor: ${CMAKE_SYSTEM_PROCESSOR}") message(STATUS "\tCpu:\t${TNN_CPU_ENABLE}") message(STATUS "\tX86:\t${TNN_X86_ENABLE}") message(STATUS "\tArm:\t${TNN_ARM_ENABLE}") message(STATUS "\tArm82:\t${TNN_ARM82_ENABLE}") message(STATUS "\tMetal:\t${TNN_METAL_ENABLE}") message(STATUS "\tOpenCL:\t${TNN_OPENCL_ENABLE}") message(STATUS "\tCUDA:\t${TNN_CUDA_ENABLE}") message(STATUS "\tDSP:\t${TNN_DSP_ENABLE}") message(STATUS "\tAtlas:\t${TNN_ATLAS_ENABLE}") message(STATUS "\tTensorRT:\t${TNN_TENSORRT_ENABLE}") message(STATUS "\tHuaweiNPU:\t${TNN_HUAWEI_NPU_ENABLE}") message(STATUS "\tRKNPU:\t${TNN_RK_NPU_ENABLE}") message(STATUS "\tOpenVINO:\t${TNN_OPENVINO_ENABLE}") message(STATUS "\tOpenMP:\t${TNN_OPENMP_ENABLE}") message(STATUS "\tTEST:\t${TNN_TEST_ENABLE}") message(STATUS "\t--Unit Test:\t${TNN_UNIT_TEST_ENABLE}") message(STATUS "\tQuantization:\t${TNN_QUANTIZATION_ENABLE}") message(STATUS "\tModelCheck:\t${TNN_MODEL_CHECK_ENABLE}") message(STATUS "\tDEBUG:\t${DEBUG}") message(STATUS "\tPROFILE:\t${TNN_PROFILER_ENABLE}") message(STATUS "\tBENCHMARK:\t${TNN_BENCHMARK_MODE}") message(STATUS "\tBENCHMARK Layer:\t${TNN_UNIT_TEST_BENCHMARK}") message(STATUS "\tModel Converter:\t${TNN_CONVERTER_ENABLE}") message(STATUS "\tONNX2TNN Converter:\t${TNN_ONNX2TNN_ENABLE}") message(STATUS "\tTNN2MEM:\t${TNN_TNN2MEM_ENABLE}") message(STATUS "\tBENCHMARK Test Lib:\t${TNN_BUILD_BENCHMARK_TEST_LIB_ENABLE}")

include_directories(include) include_directories(source)

file(GLOB_RECURSE SRC "source/tnn/core/.h" "source/tnn/core/.cc" "source/tnn/layer/.h" "source/tnn/layer/.cc" "source/tnn/utils/.h" "source/tnn/utils/.cc" "source/tnn/interpreter/.h" "source/tnn/interpreter/.cc" "source/tnn/optimizer/.h" "source/tnn/optimizer/.cc" "source/tnn/extern_wrapper/.h" "source/tnn/extern_wrapper/.cc" "source/tnn/memory_manager/.h" "source/tnn/memory_manager/.cc")

if(TNN_SYMBOL_HIDE AND UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden") endif()

if(TNN_X86_ENABLE) add_subdirectory(source/tnn/device/x86) set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNX86>") endif()

if(TNN_CPU_ENABLE) add_subdirectory(source/tnn/device/cpu) set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNCpu>") endif()

if(TNN_ARM_ENABLE) if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")

elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm")
    add_definitions( -mfpu=neon )
endif()
add_subdirectory(source/tnn/device/arm)
set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNArm>")
if(TNN_ARM82_ENABLE)
    set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNArm82>")
endif()

endif()

if(TNN_OPENVINO_ENABLE) add_subdirectory(source/tnn/network/openvino) set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNOpenVINO>") endif()

if(TNN_OPENCL_ENABLE) include(FindPythonInterp REQUIRED) if (NOT PYTHON_EXECUTABLE) message (FATAL_ERROR "No Python installation found! It is required by OpenCL codegen.") endif ()

if(SHARING_MEM_WITH_OPENGL)
    add_definitions(-DSHARING_MEM_WITH_OPENGL)
    add_definitions(-DCL_HPP_TARGET_OPENCL_VERSION=120)
endif()
add_subdirectory(source/tnn/device/opencl)
set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNOpenCL>")

endif()

if(TNN_METAL_ENABLE) add_subdirectory(source/tnn/device/metal) set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNMetal>") endif()

if(TNN_CUDA_ENABLE) set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --expt-relaxed-constexpr") add_subdirectory(source/tnn/device/cuda) if(TNN_TENSORRT_ENABLE) add_subdirectory(source/tnn/network/tensorrt) set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNTensorRT>") endif() set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNCuda>") endif()

if(TNN_HUAWEI_NPU_ENABLE) if(ANDROID_ABI STREQUAL "armeabi-v7a") link_directories( third_party/huawei_npu/hiai_ddk_latest/armeabi-v7a/ ) else() link_directories( third_party/huawei_npu/hiai_ddk_latest/arm64-v8a/ ) endif() add_subdirectory(source/tnn/device/huawei_npu) set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNNPU>") endif()

if(TNN_RK_NPU_ENABLE) if(CMAKE_SIZEOF_VOID_P EQUAL 8) link_directories( ./third_party/rknpu/rknpu_ddk/lib64/ ) else() link_directories( ./third_party/rknpu/rknpu_ddk/lib/ ) endif() add_subdirectory(source/tnn/device/rknpu) set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNRKNPU>") endif()

if(TNN_BUILD_SHARED) add_library(TNN SHARED ${SRC} ${TARGET_OBJECTS}) set_target_properties(TNN PROPERTIES VERSION ${TNN_VERSION} SOVERSION ${TNN_MAJOR_VERSION}) if(SHARING_MEM_WITH_OPENGL) target_link_libraries(TNN -lEGL -lGLESv2) endif() else() add_library(TNN STATIC ${SRC} ${TARGET_OBJECTS}) set_target_properties(TNN PROPERTIES VERSION ${TNN_VERSION}) if(SHARING_MEM_WITH_OPENGL) target_link_libraries(TNN -lEGL -lGLESv2) endif() endif() target_include_directories(TNN PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)

if(TNN_QUANTIZATION_ENABLE) add_subdirectory(tools/quantization) endif()

if(SYSTEM.Linux) include(platforms/linux/CMakeLists.txt) elseif(SYSTEM.Android) include(platforms/android/CMakeLists.txt) elseif(SYSTEM.iOS) include(platforms/ios/CMakeLists.txt) elseif(SYSTEM.Darwin) include(platforms/mac/CMakeLists.txt) elseif(SYSTEM.Windows) include(platforms/windows/CMakeLists.txt) endif()

if (TNN_TEST_ENABLE OR TNN_CONVERTER_ENABLE OR TNN_MODEL_CHECK_ENABLE) set(TNN_USE_GFLAGS ON) endif ()

if (TNN_USE_GFLAGS) add_subdirectory(third_party/gflags) get_target_property(GFLAGS_INCLUDE_DIRS gflags INTERFACE_INCLUDE_DIRECTORIES) include_directories(BEFORE "${GFLAGS_INCLUDE_DIRS}") endif ()

if(TNN_MODEL_CHECK_ENABLE) add_subdirectory(tools/model_check) endif()

if(TNN_TEST_ENABLE) add_subdirectory(test) endif()

if(TNN_CONVERTER_ENABLE) add_subdirectory(third_party/flatbuffers) add_subdirectory(tools/converter) endif()

if(TNN_ONNX2TNN_ENABLE) add_subdirectory(tools/onnx2tnn/onnx-converter) endif()

if(TNN_COVERAGE) if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-instr-generate -fcoverage-mapping") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -coverage -fprofile-arcs -ftest-coverage") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -coverage -lgcov") endif() endif()

if(TNN_EVALUATION_ENABLE) add_subdirectory(tools/evaluation) endif()

4. 编译日志(build log)

The target system is: Android - 24 - aarch64
The host system is: Darwin - 20.6.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang 
Build flags: 
Id flags: -c 

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o"

The C compiler identification is Clang, found in "/Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/3.22.0/CompilerIdC/CMakeCCompilerId.o"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ 
Build flags: 
Id flags: -c 

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"

The CXX compiler identification is Clang, found in "/Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/3.22.0/CompilerIdCXX/CMakeCXXCompilerId.o"

Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_b1870/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_b1870.dir/build.make CMakeFiles/cmTC_b1870.dir/build
Building C object CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fexceptions  -O2 -g -DNDEBUG -fPIE   -v -MD -MT CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -c /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeCCompilerABI.c
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
(in-process)
"/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" -cc1 -triple aarch64-none-linux-android24 -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 305 -v -ffunction-sections -fdata-sections -resource-dir /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5 -dependency-file CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o.d -MT CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -sys-header-deps -D ANDROID -D _FORTIFY_SOURCE=2 -D NDEBUG -isysroot /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -O2 -Wformat -fdebug-compilation-dir /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp -ferror-limit 19 -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fexceptions -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -x c /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeCCompilerABI.c
clang -cc1 version 11.0.5 based upon LLVM 11.0.5git default target x86_64-apple-darwin20.6.0
ignoring nonexistent directory "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include
End of search list.
Linking C executable cmTC_b1870
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1870.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fexceptions  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections -v CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -o cmTC_b1870   -latomic -lm 
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
"/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_b1870 /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id=sha1 --no-rosegment --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -latomic -lm -lgcc -ldl -lc -lgcc -ldl /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o



Parsed C implicit include dir info from above output: rv=done
 found start of include info
 found start of implicit include info
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include]
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include]
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android]
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]
 end of search list found
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include]
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include]
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android]
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]
 implicit include dirs: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]


Parsed C implicit link information from above output:
 link line regex: [^( *|.*[/\])(ld\.lld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
 ignore line: [Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp]
 ignore line: []
 ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_b1870/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_b1870.dir/build.make CMakeFiles/cmTC_b1870.dir/build]
 ignore line: [Building C object CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o]
 ignore line: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fexceptions  -O2 -g -DNDEBUG -fPIE   -v -MD -MT CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -c /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeCCompilerABI.c]
 ignore line: [Android (6875598  based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)]
 ignore line: [Target: aarch64-none-linux-android24]
 ignore line: [Thread model: posix]
 ignore line: [InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin]
 ignore line: [Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Candidate multilib: .]
 ignore line: [@m64]
 ignore line: [Selected multilib: .]
 ignore line: [@m64]
 ignore line: [ (in-process)]
 ignore line: [ "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" -cc1 -triple aarch64-none-linux-android24 -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 305 -v -ffunction-sections -fdata-sections -resource-dir /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5 -dependency-file CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o.d -MT CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -sys-header-deps -D ANDROID -D _FORTIFY_SOURCE=2 -D NDEBUG -isysroot /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -O2 -Wformat -fdebug-compilation-dir /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp -ferror-limit 19 -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fexceptions -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -x c /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeCCompilerABI.c]
 ignore line: [clang -cc1 version 11.0.5 based upon LLVM 11.0.5git default target x86_64-apple-darwin20.6.0]
 ignore line: [ignoring nonexistent directory "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include"]
 ignore line: [#include "..." search starts here:]
 ignore line: [#include <...> search starts here:]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]
 ignore line: [End of search list.]
 ignore line: [Linking C executable cmTC_b1870]
 ignore line: [/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1870.dir/link.txt --verbose=1]
 ignore line: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fexceptions  -O2 -g -DNDEBUG -Wl --exclude-libs libgcc.a -Wl --exclude-libs libgcc_real.a -Wl --exclude-libs libatomic.a -Wl --build-id=sha1 -Wl --no-rosegment -Wl --fatal-warnings -Qunused-arguments -Wl --no-undefined  -Wl --gc-sections -v CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -o cmTC_b1870   -latomic -lm ]
 ignore line: [Android (6875598  based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)]
 ignore line: [Target: aarch64-none-linux-android24]
 ignore line: [Thread model: posix]
 ignore line: [InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin]
 ignore line: [Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Candidate multilib: .]
 ignore line: [@m64]
 ignore line: [Selected multilib: .]
 ignore line: [@m64]
 link line: [ "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_b1870 /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id=sha1 --no-rosegment --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o -latomic -lm -lgcc -ldl -lc -lgcc -ldl /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o]
   arg [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld] ==> ignore
   arg [--sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot] ==> ignore
   arg [-pie] ==> ignore
   arg [-znoexecstack] ==> ignore
   arg [-EL] ==> ignore
   arg [--fix-cortex-a53-843419] ==> ignore
   arg [--warn-shared-textrel] ==> ignore
   arg [-znow] ==> ignore
   arg [-zrelro] ==> ignore
   arg [-zmax-page-size=4096] ==> ignore
   arg [--hash-style=gnu] ==> ignore
   arg [--enable-new-dtags] ==> ignore
   arg [--eh-frame-hdr] ==> ignore
   arg [-m] ==> ignore
   arg [aarch64linux] ==> ignore
   arg [-dynamic-linker] ==> ignore
   arg [/system/bin/linker64] ==> ignore
   arg [-o] ==> ignore
   arg [cmTC_b1870] ==> ignore
   arg [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o] ==> obj [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
   arg [--exclude-libs] ==> ignore
   arg [libgcc.a] ==> ignore
   arg [--exclude-libs] ==> ignore
   arg [libgcc_real.a] ==> ignore
   arg [--exclude-libs] ==> ignore
   arg [libatomic.a] ==> ignore
   arg [--build-id=sha1] ==> ignore
   arg [--no-rosegment] ==> ignore
   arg [--fatal-warnings] ==> ignore
   arg [--no-undefined] ==> ignore
   arg [--gc-sections] ==> ignore
   arg [CMakeFiles/cmTC_b1870.dir/CMakeCCompilerABI.c.o] ==> ignore
   arg [-latomic] ==> lib [atomic]
   arg [-lm] ==> lib [m]
   arg [-lgcc] ==> lib [gcc]
   arg [-ldl] ==> lib [dl]
   arg [-lc] ==> lib [c]
   arg [-lgcc] ==> lib [gcc]
   arg [-ldl] ==> lib [dl]
   arg [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o] ==> obj [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
 implicit libs: [atomic;m;gcc;dl;c;gcc;dl]
 implicit objs: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o]
 implicit dirs: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
 implicit fwks: []


Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_6cdf2/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_6cdf2.dir/build.make CMakeFiles/cmTC_6cdf2.dir/build
Building CXX object CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fexceptions -frtti -stdlib=libc++  -O2 -g -DNDEBUG -fPIE   -v -MD -MT CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -c /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
(in-process)
"/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++" -cc1 -triple aarch64-none-linux-android24 -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 305 -v -ffunction-sections -fdata-sections -resource-dir /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5 -dependency-file CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o.d -MT CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -D ANDROID -D _FORTIFY_SOURCE=2 -D NDEBUG -isysroot /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1 -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -O2 -Wformat -fdeprecated-macro -fdebug-compilation-dir /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp -ferror-limit 19 -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -x c++ /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp
clang -cc1 version 11.0.5 based upon LLVM 11.0.5git default target x86_64-apple-darwin20.6.0
ignoring nonexistent directory "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include
End of search list.
Linking CXX executable cmTC_6cdf2
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6cdf2.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fexceptions -frtti -stdlib=libc++  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections -v CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_6cdf2   -static-libstdc++ -latomic -lm 
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
"/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_6cdf2 /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id=sha1 --no-rosegment --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -latomic -lm -Bstatic -lc++ -Bdynamic -lm -lgcc -ldl -lc -lgcc -ldl /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o



Parsed CXX implicit include dir info from above output: rv=done
 found start of include info
 found start of implicit include info
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1]
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include]
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include]
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android]
   add: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]
 end of search list found
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1]
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include]
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include]
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android]
 collapse include dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]
 implicit include dirs: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]


Parsed CXX implicit link information from above output:
 link line regex: [^( *|.*[/\])(ld\.lld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
 ignore line: [Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp]
 ignore line: []
 ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_6cdf2/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_6cdf2.dir/build.make CMakeFiles/cmTC_6cdf2.dir/build]
 ignore line: [Building CXX object CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o]
 ignore line: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fexceptions -frtti -stdlib=libc++  -O2 -g -DNDEBUG -fPIE   -v -MD -MT CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -c /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp]
 ignore line: [Android (6875598  based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)]
 ignore line: [Target: aarch64-none-linux-android24]
 ignore line: [Thread model: posix]
 ignore line: [InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin]
 ignore line: [Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Candidate multilib: .]
 ignore line: [@m64]
 ignore line: [Selected multilib: .]
 ignore line: [@m64]
 ignore line: [ (in-process)]
 ignore line: [ "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++" -cc1 -triple aarch64-none-linux-android24 -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 305 -v -ffunction-sections -fdata-sections -resource-dir /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5 -dependency-file CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o.d -MT CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -D ANDROID -D _FORTIFY_SOURCE=2 -D NDEBUG -isysroot /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1 -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -O2 -Wformat -fdeprecated-macro -fdebug-compilation-dir /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp -ferror-limit 19 -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -x c++ /Applications/CMake.app/Contents/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp]
 ignore line: [clang -cc1 version 11.0.5 based upon LLVM 11.0.5git default target x86_64-apple-darwin20.6.0]
 ignore line: [ignoring nonexistent directory "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include"]
 ignore line: [#include "..." search starts here:]
 ignore line: [#include <...> search starts here:]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]
 ignore line: [End of search list.]
 ignore line: [Linking CXX executable cmTC_6cdf2]
 ignore line: [/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6cdf2.dir/link.txt --verbose=1]
 ignore line: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fexceptions -frtti -stdlib=libc++  -O2 -g -DNDEBUG -Wl --exclude-libs libgcc.a -Wl --exclude-libs libgcc_real.a -Wl --exclude-libs libatomic.a -Wl --build-id=sha1 -Wl --no-rosegment -Wl --fatal-warnings -Qunused-arguments -Wl --no-undefined  -Wl --gc-sections -v CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_6cdf2   -static-libstdc++ -latomic -lm ]
 ignore line: [Android (6875598  based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)]
 ignore line: [Target: aarch64-none-linux-android24]
 ignore line: [Thread model: posix]
 ignore line: [InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin]
 ignore line: [Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Candidate multilib: .]
 ignore line: [@m64]
 ignore line: [Selected multilib: .]
 ignore line: [@m64]
 link line: [ "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_6cdf2 /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id=sha1 --no-rosegment --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o -latomic -lm -Bstatic -lc++ -Bdynamic -lm -lgcc -ldl -lc -lgcc -ldl /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o]
   arg [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld] ==> ignore
   arg [--sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot] ==> ignore
   arg [-pie] ==> ignore
   arg [-znoexecstack] ==> ignore
   arg [-EL] ==> ignore
   arg [--fix-cortex-a53-843419] ==> ignore
   arg [--warn-shared-textrel] ==> ignore
   arg [-znow] ==> ignore
   arg [-zrelro] ==> ignore
   arg [-zmax-page-size=4096] ==> ignore
   arg [--hash-style=gnu] ==> ignore
   arg [--enable-new-dtags] ==> ignore
   arg [--eh-frame-hdr] ==> ignore
   arg [-m] ==> ignore
   arg [aarch64linux] ==> ignore
   arg [-dynamic-linker] ==> ignore
   arg [/system/bin/linker64] ==> ignore
   arg [-o] ==> ignore
   arg [cmTC_6cdf2] ==> ignore
   arg [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o] ==> obj [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
   arg [--exclude-libs] ==> ignore
   arg [libgcc.a] ==> ignore
   arg [--exclude-libs] ==> ignore
   arg [libgcc_real.a] ==> ignore
   arg [--exclude-libs] ==> ignore
   arg [libatomic.a] ==> ignore
   arg [--build-id=sha1] ==> ignore
   arg [--no-rosegment] ==> ignore
   arg [--fatal-warnings] ==> ignore
   arg [--no-undefined] ==> ignore
   arg [--gc-sections] ==> ignore
   arg [CMakeFiles/cmTC_6cdf2.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
   arg [-latomic] ==> lib [atomic]
   arg [-lm] ==> lib [m]
   arg [-Bstatic] ==> search static
   arg [-lc++] ==> lib [c++]
   arg [-Bdynamic] ==> search dynamic
   arg [-lm] ==> lib [m]
   arg [-lgcc] ==> lib [gcc]
   arg [-ldl] ==> lib [dl]
   arg [-lc] ==> lib [c]
   arg [-lgcc] ==> lib [gcc]
   arg [-ldl] ==> lib [dl]
   arg [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o] ==> obj [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
 implicit libs: [atomic;m;c++;m;gcc;dl;c;gcc;dl]
 implicit objs: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o]
 implicit dirs: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
 implicit fwks: []


Checking whether the ASM compiler is Clang using "--version" matched "(clang version)":
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Detecting C OpenMP compiler ABI info compiled with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_f5c67/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_f5c67.dir/build.make CMakeFiles/cmTC_f5c67.dir/build
Building C object CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -v -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -MF CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o.d -o CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/FindOpenMP/OpenMPTryFlag.c
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
(in-process)
"/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" -cc1 -triple aarch64-none-linux-android24 -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name OpenMPTryFlag.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 305 -v -ffunction-sections -fdata-sections -resource-dir /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5 -dependency-file CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o.d -MT CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -sys-header-deps -D ANDROID -D _FORTIFY_SOURCE=2 -D TNN_METAL_FULL_PRECISION=1 -D NDEBUG -isysroot /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -O2 -Wformat -Werror=format-security -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -fdebug-compilation-dir /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp -ferror-limit 19 -fopenmp -fopenmp-cuda-parallel-target-regions -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fexceptions -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -x c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/FindOpenMP/OpenMPTryFlag.c
clang -cc1 version 11.0.5 based upon LLVM 11.0.5git default target x86_64-apple-darwin20.6.0
ignoring nonexistent directory "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include
End of search list.
Linking C executable cmTC_f5c67
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f5c67.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -v -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -o cmTC_f5c67  -v  -latomic -lm 
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
"/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_f5c67 /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id=sha1 --no-rosegment --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -latomic -lm -lomp -lgcc -ldl -lc -lgcc -ldl /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o



Parsed C OpenMP implicit link information from above output:
 link line regex: [^( *|.*[/\])(ld\.lld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
 ignore line: [Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp]
 ignore line: []
 ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_f5c67/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_f5c67.dir/build.make CMakeFiles/cmTC_f5c67.dir/build]
 ignore line: [Building C object CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o]
 ignore line: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -v -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -MF CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o.d -o CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/FindOpenMP/OpenMPTryFlag.c]
 ignore line: [Android (6875598  based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)]
 ignore line: [Target: aarch64-none-linux-android24]
 ignore line: [Thread model: posix]
 ignore line: [InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin]
 ignore line: [Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Candidate multilib: .]
 ignore line: [@m64]
 ignore line: [Selected multilib: .]
 ignore line: [@m64]
 ignore line: [ (in-process)]
 ignore line: [ "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" -cc1 -triple aarch64-none-linux-android24 -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name OpenMPTryFlag.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 305 -v -ffunction-sections -fdata-sections -resource-dir /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5 -dependency-file CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o.d -MT CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -sys-header-deps -D ANDROID -D _FORTIFY_SOURCE=2 -D TNN_METAL_FULL_PRECISION=1 -D NDEBUG -isysroot /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -O2 -Wformat -Werror=format-security -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -fdebug-compilation-dir /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp -ferror-limit 19 -fopenmp -fopenmp-cuda-parallel-target-regions -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fexceptions -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -x c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/FindOpenMP/OpenMPTryFlag.c]
 ignore line: [clang -cc1 version 11.0.5 based upon LLVM 11.0.5git default target x86_64-apple-darwin20.6.0]
 ignore line: [ignoring nonexistent directory "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include"]
 ignore line: [#include "..." search starts here:]
 ignore line: [#include <...> search starts here:]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]
 ignore line: [End of search list.]
 ignore line: [Linking C executable cmTC_f5c67]
 ignore line: [/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f5c67.dir/link.txt --verbose=1]
 ignore line: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -v -O2 -g -DNDEBUG -Wl --exclude-libs libgcc.a -Wl --exclude-libs libgcc_real.a -Wl --exclude-libs libatomic.a -Wl --build-id=sha1 -Wl --no-rosegment -Wl --fatal-warnings -Qunused-arguments -Wl --no-undefined  -Wl --gc-sections  CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -o cmTC_f5c67  -v  -latomic -lm ]
 ignore line: [Android (6875598  based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)]
 ignore line: [Target: aarch64-none-linux-android24]
 ignore line: [Thread model: posix]
 ignore line: [InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin]
 ignore line: [Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Candidate multilib: .]
 ignore line: [@m64]
 ignore line: [Selected multilib: .]
 ignore line: [@m64]
 link line: [ "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_f5c67 /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id=sha1 --no-rosegment --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o -latomic -lm -lomp -lgcc -ldl -lc -lgcc -ldl /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o]
   arg [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld] ==> ignore
   arg [--sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot] ==> ignore
   arg [-pie] ==> ignore
   arg [-znoexecstack] ==> ignore
   arg [-EL] ==> ignore
   arg [--fix-cortex-a53-843419] ==> ignore
   arg [--warn-shared-textrel] ==> ignore
   arg [-znow] ==> ignore
   arg [-zrelro] ==> ignore
   arg [-zmax-page-size=4096] ==> ignore
   arg [--hash-style=gnu] ==> ignore
   arg [--enable-new-dtags] ==> ignore
   arg [--eh-frame-hdr] ==> ignore
   arg [-m] ==> ignore
   arg [aarch64linux] ==> ignore
   arg [-dynamic-linker] ==> ignore
   arg [/system/bin/linker64] ==> ignore
   arg [-o] ==> ignore
   arg [cmTC_f5c67] ==> ignore
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
   arg [--exclude-libs] ==> ignore
   arg [libgcc.a] ==> ignore
   arg [--exclude-libs] ==> ignore
   arg [libgcc_real.a] ==> ignore
   arg [--exclude-libs] ==> ignore
   arg [libatomic.a] ==> ignore
   arg [--build-id=sha1] ==> ignore
   arg [--no-rosegment] ==> ignore
   arg [--fatal-warnings] ==> ignore
   arg [--no-undefined] ==> ignore
   arg [--gc-sections] ==> ignore
   arg [CMakeFiles/cmTC_f5c67.dir/OpenMPTryFlag.c.o] ==> ignore
   arg [-latomic] ==> lib [atomic]
   arg [-lm] ==> lib [m]
   arg [-lomp] ==> lib [omp]
   arg [-lgcc] ==> lib [gcc]
   arg [-ldl] ==> lib [dl]
   arg [-lc] ==> lib [c]
   arg [-lgcc] ==> lib [gcc]
   arg [-ldl] ==> lib [dl]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
 implicit libs: [atomic;m;omp;gcc;dl;c;gcc;dl]
 implicit objs: []
 implicit dirs: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
 implicit fwks: []


Detecting CXX OpenMP compiler ABI info compiled with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_2a2cc/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_2a2cc.dir/build.make CMakeFiles/cmTC_2a2cc.dir/build
Building CXX object CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -v -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -MF CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o.d -o CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/FindOpenMP/OpenMPTryFlag.cpp
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
(in-process)
"/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++" -cc1 -triple aarch64-none-linux-android24 -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name OpenMPTryFlag.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 305 -v -ffunction-sections -fdata-sections -resource-dir /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5 -dependency-file CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o.d -MT CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -sys-header-deps -D ANDROID -D _FORTIFY_SOURCE=2 -D TNN_METAL_FULL_PRECISION=1 -D NDEBUG -isysroot /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1 -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -O2 -Wformat -Werror=format-security -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -fdeprecated-macro -fdebug-compilation-dir /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp -ferror-limit 19 -fopenmp -fopenmp-cuda-parallel-target-regions -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -x c++ /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/FindOpenMP/OpenMPTryFlag.cpp
clang -cc1 version 11.0.5 based upon LLVM 11.0.5git default target x86_64-apple-darwin20.6.0
ignoring nonexistent directory "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include
End of search list.
Linking CXX executable cmTC_2a2cc
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2a2cc.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -v -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -o cmTC_2a2cc  -v  -static-libstdc++ -latomic -lm 
Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)
Target: aarch64-none-linux-android24
Thread model: posix
InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
"/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_2a2cc /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id=sha1 --no-rosegment --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -latomic -lm -Bstatic -lc++ -Bdynamic -lm -lomp -lgcc -ldl -lc -lgcc -ldl /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o



Parsed CXX OpenMP implicit link information from above output:
 link line regex: [^( *|.*[/\])(ld\.lld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
 ignore line: [Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp]
 ignore line: []
 ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_2a2cc/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_2a2cc.dir/build.make CMakeFiles/cmTC_2a2cc.dir/build]
 ignore line: [Building CXX object CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o]
 ignore line: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -v -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -MF CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o.d -o CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/FindOpenMP/OpenMPTryFlag.cpp]
 ignore line: [Android (6875598  based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)]
 ignore line: [Target: aarch64-none-linux-android24]
 ignore line: [Thread model: posix]
 ignore line: [InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin]
 ignore line: [Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Candidate multilib: .]
 ignore line: [@m64]
 ignore line: [Selected multilib: .]
 ignore line: [@m64]
 ignore line: [ (in-process)]
 ignore line: [ "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++" -cc1 -triple aarch64-none-linux-android24 -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name OpenMPTryFlag.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 305 -v -ffunction-sections -fdata-sections -resource-dir /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5 -dependency-file CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o.d -MT CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -sys-header-deps -D ANDROID -D _FORTIFY_SOURCE=2 -D TNN_METAL_FULL_PRECISION=1 -D NDEBUG -isysroot /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1 -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include -internal-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include -internal-externc-isystem /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include -O2 -Wformat -Werror=format-security -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -fdeprecated-macro -fdebug-compilation-dir /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp -ferror-limit 19 -fopenmp -fopenmp-cuda-parallel-target-regions -stack-protector 2 -fno-signed-char -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -vectorize-loops -vectorize-slp -o CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -x c++ /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/FindOpenMP/OpenMPTryFlag.cpp]
 ignore line: [clang -cc1 version 11.0.5 based upon LLVM 11.0.5git default target x86_64-apple-darwin20.6.0]
 ignore line: [ignoring nonexistent directory "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/include"]
 ignore line: [#include "..." search starts here:]
 ignore line: [#include <...> search starts here:]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/local/include]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/include]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/aarch64-linux-android]
 ignore line: [ /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include]
 ignore line: [End of search list.]
 ignore line: [Linking CXX executable cmTC_2a2cc]
 ignore line: [/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2a2cc.dir/link.txt --verbose=1]
 ignore line: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -v -O2 -g -DNDEBUG -Wl --exclude-libs libgcc.a -Wl --exclude-libs libgcc_real.a -Wl --exclude-libs libatomic.a -Wl --build-id=sha1 -Wl --no-rosegment -Wl --fatal-warnings -Qunused-arguments -Wl --no-undefined  -Wl --gc-sections  CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -o cmTC_2a2cc  -v  -static-libstdc++ -latomic -lm ]
 ignore line: [Android (6875598  based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)]
 ignore line: [Target: aarch64-none-linux-android24]
 ignore line: [Thread model: posix]
 ignore line: [InstalledDir: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin]
 ignore line: [Found candidate GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Selected GCC installation: /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
 ignore line: [Candidate multilib: .]
 ignore line: [@m64]
 ignore line: [Selected multilib: .]
 ignore line: [@m64]
 link line: [ "/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld" --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=gnu --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_2a2cc /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtbegin_dynamic.o -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24 -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android -L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id=sha1 --no-rosegment --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o -latomic -lm -Bstatic -lc++ -Bdynamic -lm -lomp -lgcc -ldl -lc -lgcc -ldl /Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24/crtend_android.o]
   arg [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/ld] ==> ignore
   arg [--sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot] ==> ignore
   arg [-pie] ==> ignore
   arg [-znoexecstack] ==> ignore
   arg [-EL] ==> ignore
   arg [--fix-cortex-a53-843419] ==> ignore
   arg [--warn-shared-textrel] ==> ignore
   arg [-znow] ==> ignore
   arg [-zrelro] ==> ignore
   arg [-zmax-page-size=4096] ==> ignore
   arg [--hash-style=gnu] ==> ignore
   arg [--enable-new-dtags] ==> ignore
   arg [--eh-frame-hdr] ==> ignore
   arg [-m] ==> ignore
   arg [aarch64linux] ==> ignore
   arg [-dynamic-linker] ==> ignore
   arg [/system/bin/linker64] ==> ignore
   arg [-o] ==> ignore
   arg [cmTC_2a2cc] ==> ignore
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android]
   arg [-L/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib] ==> dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
   arg [--exclude-libs] ==> ignore
   arg [libgcc.a] ==> ignore
   arg [--exclude-libs] ==> ignore
   arg [libgcc_real.a] ==> ignore
   arg [--exclude-libs] ==> ignore
   arg [libatomic.a] ==> ignore
   arg [--build-id=sha1] ==> ignore
   arg [--no-rosegment] ==> ignore
   arg [--fatal-warnings] ==> ignore
   arg [--no-undefined] ==> ignore
   arg [--gc-sections] ==> ignore
   arg [CMakeFiles/cmTC_2a2cc.dir/OpenMPTryFlag.cpp.o] ==> ignore
   arg [-latomic] ==> lib [atomic]
   arg [-lm] ==> lib [m]
   arg [-Bstatic] ==> search static
   arg [-lc++] ==> lib [c++]
   arg [-Bdynamic] ==> search dynamic
   arg [-lm] ==> lib [m]
   arg [-lomp] ==> lib [omp]
   arg [-lgcc] ==> lib [gcc]
   arg [-ldl] ==> lib [dl]
   arg [-lc] ==> lib [c]
   arg [-lgcc] ==> lib [gcc]
   arg [-ldl] ==> lib [dl]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android]
 collapse library dir [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib] ==> [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
 implicit libs: [atomic;m;c++;m;omp;gcc;dl;c;gcc;dl]
 implicit objs: []
 implicit dirs: [/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib64/clang/11.0.5/lib/linux/aarch64;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/lib/gcc/aarch64-linux-android/4.9.x;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/24;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android;/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib]
 implicit fwks: []


Determining if the include file unistd.h exists passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_31120/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_31120.dir/build.make CMakeFiles/cmTC_31120.dir/build
Building CXX object CMakeFiles/cmTC_31120.dir/CheckIncludeFile.cxx.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_31120.dir/CheckIncludeFile.cxx.o -MF CMakeFiles/cmTC_31120.dir/CheckIncludeFile.cxx.o.d -o CMakeFiles/cmTC_31120.dir/CheckIncludeFile.cxx.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_31120
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31120.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_31120.dir/CheckIncludeFile.cxx.o -o cmTC_31120   -static-libstdc++ -latomic -lm 



Determining if the include file stdint.h exists passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_3542f/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_3542f.dir/build.make CMakeFiles/cmTC_3542f.dir/build
Building CXX object CMakeFiles/cmTC_3542f.dir/CheckIncludeFile.cxx.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_3542f.dir/CheckIncludeFile.cxx.o -MF CMakeFiles/cmTC_3542f.dir/CheckIncludeFile.cxx.o.d -o CMakeFiles/cmTC_3542f.dir/CheckIncludeFile.cxx.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_3542f
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3542f.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_3542f.dir/CheckIncludeFile.cxx.o -o cmTC_3542f   -static-libstdc++ -latomic -lm 



Determining if the include file inttypes.h exists passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_e85e5/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_e85e5.dir/build.make CMakeFiles/cmTC_e85e5.dir/build
Building CXX object CMakeFiles/cmTC_e85e5.dir/CheckIncludeFile.cxx.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_e85e5.dir/CheckIncludeFile.cxx.o -MF CMakeFiles/cmTC_e85e5.dir/CheckIncludeFile.cxx.o.d -o CMakeFiles/cmTC_e85e5.dir/CheckIncludeFile.cxx.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_e85e5
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e85e5.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_e85e5.dir/CheckIncludeFile.cxx.o -o cmTC_e85e5   -static-libstdc++ -latomic -lm 



Determining if the include file sys/types.h exists passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_88bde/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_88bde.dir/build.make CMakeFiles/cmTC_88bde.dir/build
Building CXX object CMakeFiles/cmTC_88bde.dir/CheckIncludeFile.cxx.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_88bde.dir/CheckIncludeFile.cxx.o -MF CMakeFiles/cmTC_88bde.dir/CheckIncludeFile.cxx.o.d -o CMakeFiles/cmTC_88bde.dir/CheckIncludeFile.cxx.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_88bde
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88bde.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_88bde.dir/CheckIncludeFile.cxx.o -o cmTC_88bde   -static-libstdc++ -latomic -lm 



Determining if the include file sys/stat.h exists passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_01f1d/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_01f1d.dir/build.make CMakeFiles/cmTC_01f1d.dir/build
Building CXX object CMakeFiles/cmTC_01f1d.dir/CheckIncludeFile.cxx.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_01f1d.dir/CheckIncludeFile.cxx.o -MF CMakeFiles/cmTC_01f1d.dir/CheckIncludeFile.cxx.o.d -o CMakeFiles/cmTC_01f1d.dir/CheckIncludeFile.cxx.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_01f1d
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_01f1d.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_01f1d.dir/CheckIncludeFile.cxx.o -o cmTC_01f1d   -static-libstdc++ -latomic -lm 



Determining if the include file fnmatch.h exists passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_738f1/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_738f1.dir/build.make CMakeFiles/cmTC_738f1.dir/build
Building CXX object CMakeFiles/cmTC_738f1.dir/CheckIncludeFile.cxx.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_738f1.dir/CheckIncludeFile.cxx.o -MF CMakeFiles/cmTC_738f1.dir/CheckIncludeFile.cxx.o.d -o CMakeFiles/cmTC_738f1.dir/CheckIncludeFile.cxx.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_738f1
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_738f1.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_738f1.dir/CheckIncludeFile.cxx.o -o cmTC_738f1   -static-libstdc++ -latomic -lm 



Determining if the include file stddef.h exists passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_62022/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_62022.dir/build.make CMakeFiles/cmTC_62022.dir/build
Building CXX object CMakeFiles/cmTC_62022.dir/CheckIncludeFile.cxx.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_62022.dir/CheckIncludeFile.cxx.o -MF CMakeFiles/cmTC_62022.dir/CheckIncludeFile.cxx.o.d -o CMakeFiles/cmTC_62022.dir/CheckIncludeFile.cxx.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_62022
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_62022.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_62022.dir/CheckIncludeFile.cxx.o -o cmTC_62022   -static-libstdc++ -latomic -lm 



Determining size of uint32_t passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_fac80/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_fac80.dir/build.make CMakeFiles/cmTC_fac80.dir/build
Building CXX object CMakeFiles/cmTC_fac80.dir/uint32_t.cpp.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_fac80.dir/uint32_t.cpp.o -MF CMakeFiles/cmTC_fac80.dir/uint32_t.cpp.o.d -o CMakeFiles/cmTC_fac80.dir/uint32_t.cpp.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CheckTypeSize/uint32_t.cpp
Linking CXX executable cmTC_fac80
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fac80.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_fac80.dir/uint32_t.cpp.o -o cmTC_fac80   -static-libstdc++ -latomic -lm 



Determining if the strtoll exist passed with the following output:
Change Dir: /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make -f Makefile cmTC_24437/fast && /Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/cmTC_24437.dir/build.make CMakeFiles/cmTC_24437.dir/build
Building CXX object CMakeFiles/cmTC_24437.dir/CheckSymbolExists.cxx.o
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/cmTC_24437.dir/CheckSymbolExists.cxx.o -MF CMakeFiles/cmTC_24437.dir/CheckSymbolExists.cxx.o.d -o CMakeFiles/cmTC_24437.dir/CheckSymbolExists.cxx.o -c /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
Linking CXX executable cmTC_24437
/Applications/CMake.app/Contents/bin/cmake -E cmake_link_script CMakeFiles/cmTC_24437.dir/link.txt --verbose=1
/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=aarch64-none-linux-android24 --sysroot=/Users/dunzhixuan/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -Wno-pass-failed -Wno-deprecated-declarations -Wno-ignored-attributes -DTNN_METAL_FULL_PRECISION=1 -fopenmp=libomp -pthread -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility=hidden -fvisibility-inlines-hidden  -O2 -g -DNDEBUG -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Qunused-arguments -Wl,--no-undefined  -Wl,--gc-sections  CMakeFiles/cmTC_24437.dir/CheckSymbolExists.cxx.o -o cmTC_24437   -static-libstdc++ -latomic -lm 


File /Users/dunzhixuan/Desktop/code/TNN/scripts/build64/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <stdlib.h>

int main(int argc, char** argv)
{
 (void)argv;
#ifndef strtoll
 return ((int*)(&strtoll))[argc];
#else
 (void)argc;
 return 0;
#endif
}

5. 详细描述bug 情况 (Describe the bug) 在华为平板M2-A01W 上运行编译好的so文件时,崩溃,崩溃如下:

6. 运行日志(runtime log)

java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH in "libTNN.so" (built with --hash-style=gnu?)
       at java.lang.Runtime.loadLibrary(Runtime.java:383)
       at java.lang.System.loadLibrary(System.java:997)

7. 截图(Screenshots)


dunzhixuan avatar Dec 03 '21 02:12 dunzhixuan