DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/musl-qemux86-64/build/meta/recipes-devtools/cmake/cmake-native_4.0.3.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemux86-64/build/meta/recipes-devtools/clang/clang_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemux86-64/build/meta/recipes-devtools/ninja/ninja_1.13.0.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemux86-64/build/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemux86-64/build/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemux86-64/build/meta/recipes-devtools/python/python3_3.13.5.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/musl-qemux86-64/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', 'cmake-native', 'libtool-native', 'm4-native', 'texinfo-dummy-native', 'openssl-native', 'expat-native', 'libxml2-native', 'ncurses-native', 'util-linux-libuuid-native', 'zlib-native', 'binutils-native', 'clang-native', 'elfutils-native', 'flex-native', 'gnu-config-native', 'json-c-native', 'libedit-native', 'make-native', 'ninja-native', 'perl-native', 'pkgconfig-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/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/:g' TOPDIR/tmp/sysroots-components/x86_64/quilt-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/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/qemux86-64:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/temp/fifo.2713513: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.7-r0/sources/llvm-project-20.1.7.src/llvm"


-- Performing standalone runtimes build.
-- The C compiler identification is Clang 20.1.7
-- The CXX compiler identification is Clang 20.1.7
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/bin/clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/bin/clang++
-- Check for working CXX compiler: TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/bin/clang++ - broken
CMake Error at TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/share/cmake-4.0/Modules/CMakeTestCXXCompiler.cmake:73 (message):
  The C++ compiler

    "TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/bin/clang++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 'TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/build/CMakeFiles/CMakeScratch/TryCompile-EfKZia'
    
    Run Build Command(s): ninja -v cmTC_1c0a4
    [1/2] TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/bin/clang++   -isystemTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/include -O2 -pipe   -fvisibility-inlines-hidden -stdlib=libstdc++ -MD -MT CMakeFiles/cmTC_1c0a4.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_1c0a4.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_1c0a4.dir/testCXXCompiler.cxx.o -c TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/build/CMakeFiles/CMakeScratch/TryCompile-EfKZia/testCXXCompiler.cxx
    [2/2] : && TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/bin/clang++ -isystemTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/include -O2 -pipe   -fvisibility-inlines-hidden -stdlib=libstdc++   -isystemTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/include -O2 -pipe   -fvisibility-inlines-hidden -stdlib=libstdc++ -LTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -LTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread -rtlib=libgcc --unwindlib=libgcc  --rtlib=libgcc --unwindlib=libgcc -LTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -LTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread -rtlib=libgcc --unwindlib=libgcc  --rtlib=libgcc --unwindlib=libgcc CMakeFiles/cmTC_1c0a4.dir/testCXXCompiler.cxx.o -o cmTC_1c0a4   && :
    FAILED: [code=1] cmTC_1c0a4 
    : && TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/bin/clang++ -isystemTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/include -O2 -pipe   -fvisibility-inlines-hidden -stdlib=libstdc++   -isystemTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/include -O2 -pipe   -fvisibility-inlines-hidden -stdlib=libstdc++ -LTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -LTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread -rtlib=libgcc --unwindlib=libgcc  --rtlib=libgcc --unwindlib=libgcc -LTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -LTOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/compiler-rt-native/20.1.7/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread -rtlib=libgcc --unwindlib=libgcc  --rtlib=libgcc --unwindlib=libgcc CMakeFiles/cmTC_1c0a4.dir/testCXXCompiler.cxx.o -o cmTC_1c0a4   && :
    TOPDIR/tmp/hosttools/ld: cannot find -lstdc++: No such file or directory
    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: exit code 1 from a shell command.

Error details

Submitted on:
02/07/25 13:06
Error type:
Recipe
Task:
do_configure
Recipe:
compiler-rt-native
Recipe version:
20.1.7-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux-musl
Host distro:
ubuntu-24.04/ubuntu-24.04
Branch:
agodard/master-next
Commit:
dd42cb57d4398579d180977daa41518004c21e18
Build:
#210654
Submitter:
yp-ab-ubuntu2404-vk-2
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/2018
Similar errors:
3
Open a bug