DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-core/musl/musl_git.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/cmake/cmake-native_4.0.3.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/gcc/gcc-runtime_15.1.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/gcc/libgcc_15.1.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/clang/clang_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/ninja/ninja_1.13.1.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-devtools/python/python3_3.13.5.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemuarm64/build/meta/recipes-extended/xz/xz_5.8.1.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['quilt-native', 'patch-native']
NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'bsd-headers', 'libssp-nonshared', 'musl', 'clang-cross-aarch64', 'llvm-tblgen-native', 'cmake-native', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-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', 'perl-native', 'pkgconfig-native', 'pseudo-native', 'python3-native', 'swig-native', 'bzip2-native', 'libarchive-native', 'libidn2-native', 'xz-native', 'zstd-native', 'spirv-headers-native', 'spirv-tools-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', 'libpcre2-native', 'libunistring-native', 'nettle-native', 're2c-native', 'sqlite3-native']
DEBUG: sed -e 's:^[^/]*/:TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/:g' TOPDIR/tmp/sysroots-components/x86_64/quilt-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:TOPDIR/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:TOPDIR/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:TOPDIR/tmp/pkgdata/qemuarm64:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/temp/fifo.615042:g'
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-20.1.8-r0/sources/llvm-project-20.1.8.src/llvm"


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

    "TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-clang"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 'TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build/CMakeFiles/CMakeScratch/TryCompile-XzBhxF'
    
    Run Build Command(s): ninja -v cmTC_bacd3
    [1/2] TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-clang --target=aarch64-poky-linux-musl --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot   -mcpu=cortex-a57+crc+nocrypto -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot  -O2 -g  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.src=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native=  -pipe  -fPIE -MD -MT CMakeFiles/cmTC_bacd3.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_bacd3.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_bacd3.dir/testCCompiler.c.o -c TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build/CMakeFiles/CMakeScratch/TryCompile-XzBhxF/testCCompiler.c
    [2/2] : && TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-clang --target=aarch64-poky-linux-musl --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot -mcpu=cortex-a57+crc+nocrypto -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot  -O2 -g  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.src=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native=  -pipe  -mcpu=cortex-a57+crc+nocrypto -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.src=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native=  -Wl,-z,relro,-z,now -rtlib=libgcc --unwindlib=libgcc  --rtlib=libgcc --unwindlib=libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.src=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native=  -Wl,-z,relro,-z,now -rtlib=libgcc --unwindlib=libgcc  --rtlib=libgcc --unwindlib=libgcc CMakeFiles/cmTC_bacd3.dir/testCCompiler.c.o -o cmTC_bacd3   && :
    FAILED: [code=1] cmTC_bacd3 
    : && TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-clang --target=aarch64-poky-linux-musl --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot -mcpu=cortex-a57+crc+nocrypto -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot  -O2 -g  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.src=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native=  -pipe  -mcpu=cortex-a57+crc+nocrypto -mbranch-protection=standard  -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.src=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native=  -Wl,-z,relro,-z,now -rtlib=libgcc --unwindlib=libgcc  --rtlib=libgcc --unwindlib=libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.src=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/build=/usr/src/debug/compiler-rt/20.1.8  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native=  -Wl,-z,relro,-z,now -rtlib=libgcc --unwindlib=libgcc  --rtlib=libgcc --unwindlib=libgcc CMakeFiles/cmTC_bacd3.dir/testCCompiler.c.o -o cmTC_bacd3   && :
    TOPDIR/tmp/hosttools/ld: unrecognised emulation mode: aarch64linux
    Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386pep i386pe elf64bpf
    aarch64-poky-linux-musl-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)


WARNING: TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/temp/run.do_configure.615042:169 exit 1 from 'cmake -G 'Ninja' -DCMAKE_MAKE_PROGRAM=ninja $oecmake_sitefile TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.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=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/python3-native/python3 -DPython_EXECUTABLE:PATH=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/python3-native/python3 -DPython3_EXECUTABLE:PATH=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/python3-native/python3 -DLIB_SUFFIX= -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/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/20.1.8 -S TOPDIR/tmp/work-shared/llvm-project-source-20.1.8-r0/sources/llvm-project-20.1.8.src/runtimes -DCOMPILER_RT_BUILD_CRT:BOOL=OFF -DCOMPILER_RT_BUILD_CTX_PROFILE=OFF -DCOMPILER_RT_BUILD_PROFILE=OFF -DCMAKE_RANLIB=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-llvm-ranlib -DCMAKE_AR=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-llvm-ar -DCMAKE_NM=TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/aarch64-poky-linux-musl-llvm-nm -DCMAKE_C_COMPILER_TARGET=aarch64-poky-linux-musl -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/cortexa57-poky-linux-musl/compiler-rt/20.1.8/temp/run.do_configure.615042, line 169
	#2: do_configure, TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/temp/run.do_configure.615042, line 148
	#3: main, TOPDIR/tmp/work/cortexa57-poky-linux-musl/compiler-rt/20.1.8/temp/run.do_configure.615042, line 187

Error details

Submitted on:
28/07/25 14:02
Error type:
Recipe
Task:
do_configure
Recipe:
compiler-rt
Recipe version:
20.1.8-r0
Machine:
qemuarm64
Distro:
poky
Build system:
x86_64-linux
Target system:
aarch64-poky-linux-musl
Host distro:
fedora-39/fedora-39
Branch:
mathieu/master-next
Commit:
30f4b59ea986c1890700ed27ed82271c569ab628
Build:
#212178
Submitter:
yp-ab-fedora39-vk-2.yocto.io
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/854
Similar errors:
1
Open a bug