DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/markyang/workspace/poky/meta/recipes-core/glibc/glibc_2.42.bb:do_populate_sysroot', '/home/markyang/workspace/poky/meta/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', '/home/markyang/workspace/poky/meta/recipes-devtools/cmake/cmake-native_4.1.1.bb:do_populate_sysroot', '/home/markyang/workspace/poky/meta/recipes-devtools/gcc/gcc-runtime_15.2.bb:do_populate_sysroot', '/home/markyang/workspace/poky/meta/recipes-devtools/gcc/libgcc_15.2.bb:do_populate_sysroot', '/home/markyang/workspace/poky/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:/home/markyang/workspace/poky/meta/recipes-devtools/clang/clang_git.bb:do_populate_sysroot', 'virtual:native:/home/markyang/workspace/poky/meta/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', 'virtual:native:/home/markyang/workspace/poky/meta/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', 'virtual:native:/home/markyang/workspace/poky/meta/recipes-devtools/ninja/ninja_1.13.1.bb:do_populate_sysroot', 'virtual:native:/home/markyang/workspace/poky/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:/home/markyang/workspace/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/markyang/workspace/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/markyang/workspace/poky/meta/recipes-extended/xz/xz_5.8.1.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'glibc', 'binutils-cross-aarch64', 'clang-cross-aarch64', 'llvm-tblgen-native', 'cmake-native', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'linux-libc-headers', 'openssl-native', 'expat-native', 'libxml2-native', 'ncurses-native', 'util-linux-libuuid-native', 'zlib-native', 'binutils-native', 'clang-native', 'compiler-rt-native', 'libcxx-native', 'elfutils-native', 'flex-native', 'gnu-config-native', 'json-c-native', 'libedit-native', 'make-native', 'ninja-native', 'patch-native', 'perl-native', 'pkgconfig-native', 'pseudo-native', 'python3-native', 'bzip2-native', 'libarchive-native', 'libidn2-native', 'xz-native', 'zstd-native', 'acl-native', 'attr-native', 'curl-native', 'gdbm-native', 'gmp-native', 'gnutls-native', 'libtasn1-native', 'libcap-native', 'libffi-native', 'libgcrypt-native', 'libgpg-error-native', 'libmicrohttpd-native', 'libunistring-native', 'nettle-native', 're2c-native', 'sqlite3-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
CMake Warning:
  Ignoring extra path from command line:

   "TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src/llvm"


-- Performing standalone runtimes build.
-- The C compiler identification is Clang 21.1.1
-- The CXX compiler identification is Clang 21.1.1
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang
-- Check for working C compiler: TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang - broken
CMake Error at TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/share/cmake-4.1/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 'TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build/CMakeFiles/CMakeScratch/TryCompile-seSXYO'
    
    Run Build Command(s): ninja -v cmTC_46ddc
    [1/2] TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang --target=aarch64-poky-linux --sysroot=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot   -march=armv8-a+crc -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot  -O2 -g -flto -ffat-lto-objects -fuse-linker-plugin   -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native=  -pipe  -fPIE -MD -MT CMakeFiles/cmTC_46ddc.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_46ddc.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_46ddc.dir/testCCompiler.c.o -c TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build/CMakeFiles/CMakeScratch/TryCompile-seSXYO/testCCompiler.c
    aarch64-poky-linux-clang: warning: optimization flag '-fuse-linker-plugin' is not supported [-Wignored-optimization-argument]
    [2/2] : && TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang --target=aarch64-poky-linux --sysroot=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot -march=armv8-a+crc -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot  -O2 -g -flto -ffat-lto-objects -fuse-linker-plugin   -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native=  -pipe -march=armv8-a+crc -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native=  -flto -ffat-lto-objects -fuse-linker-plugin  -Wl,-z,relro,-z,now -rtlib=libgcc --unwindlib=libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native=  -flto -ffat-lto-objects -fuse-linker-plugin  -Wl,-z,relro,-z,now -rtlib=libgcc --unwindlib=libgcc CMakeFiles/cmTC_46ddc.dir/testCCompiler.c.o -o cmTC_46ddc   && :
    FAILED: [code=1] cmTC_46ddc 
    : && TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang --target=aarch64-poky-linux --sysroot=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot -march=armv8-a+crc -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot  -O2 -g -flto -ffat-lto-objects -fuse-linker-plugin   -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native=  -pipe -march=armv8-a+crc -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native=  -flto -ffat-lto-objects -fuse-linker-plugin  -Wl,-z,relro,-z,now -rtlib=libgcc --unwindlib=libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/build=/usr/src/debug/compiler-rt/21.1.1  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native=  -flto -ffat-lto-objects -fuse-linker-plugin  -Wl,-z,relro,-z,now -rtlib=libgcc --unwindlib=libgcc CMakeFiles/cmTC_46ddc.dir/testCCompiler.c.o -o cmTC_46ddc   && :
    TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ld: TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../lib/LLVMgold.so: error loading plugin: TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
    aarch64-poky-linux-clang: error: linker command failed with exit code 1 (use -v to see invocation)
    ninja: build stopped: subcommand failed.
    
    



  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:23 (project)


-- Configuring incomplete, errors occurred!
WARNING: TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/temp/run.do_configure.3355231:163 exit 1 from 'cmake -G 'Ninja' -DCMAKE_MAKE_PROGRAM=ninja $oecmake_sitefile TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src/llvm -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DPYTHON_EXECUTABLE:PATH=/home/markyang/.pyenv/versions/3.10.12/bin/python3 -DPython_EXECUTABLE:PATH=/home/markyang/.pyenv/versions/3.10.12/bin/python3 -DPython3_EXECUTABLE:PATH=/home/markyang/.pyenv/versions/3.10.12/bin/python3 -DLIB_SUFFIX= -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/toolchain.cmake -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCOMPILER_RT_STANDALONE_BUILD=ON -DCOMPILER_RT_INCLUDE_TESTS=OFF -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_BUILD_MEMPROF=OFF -DCOMPILER_RT_BUILD_LIBFUZZER=OFF -DCOMPILER_RT_DEFAULT_TARGET_ARCH=aarch64 -DLLVM_ENABLE_RUNTIMES='compiler-rt' -DLLVM_LIBDIR_SUFFIX= -DLLVM_APPEND_VC_REV=OFF -DCOMPILER_RT_INSTALL_PATH=/usr/lib/clang/21.1.1 -S TOPDIR/tmp/work-shared/llvm-project-source-21.1.1-r0/sources/llvm-project-21.1.1.src/runtimes -DCOMPILER_RT_BUILD_CRT:BOOL=OFF -DCOMPILER_RT_BUILD_CTX_PROFILE=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_RANLIB=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-llvm-ranlib -DCMAKE_AR=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-llvm-ar -DCMAKE_NM=TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-llvm-nm -DCMAKE_C_COMPILER_TARGET=aarch64-poky-linux -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF -Wno-dev'
WARNING: Backtrace (BB generated script): 
	#1: cmake_do_configure, TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/temp/run.do_configure.3355231, line 163
	#2: do_configure, TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/temp/run.do_configure.3355231, line 142
	#3: main, TOPDIR/tmp/work/armv8a-poky-linux/compiler-rt/21.1.1/temp/run.do_configure.3355231, line 181

Error details

Submitted on:
30/09/25 03:43
Error type:
Recipe
Task:
do_configure
Recipe:
compiler-rt
Recipe version:
21.1.1-r0
Machine:
genericarm64
Distro:
poky
Build system:
x86_64-linux
Target system:
aarch64-poky-linux
Host distro:
universal/ubuntu-22.04
Branch:
master
Commit:
702c515a7568b10bb208635d1d747b529e810690
Build:
#217736
Submitter:
mark.yang@lge.com
Similar errors:
0
Open a bug