DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['TOPDIR/sources/poky/meta/recipes-devtools/cmake/cmake-native_3.31.6.bb:do_populate_sysroot', 'TOPDIR/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/poky/meta/recipes-devtools/ninja/ninja_1.12.1.bb:do_populate_sysroot', 'virtual:native:TOPDIR/sources/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', 'cmake-native', 'libtool-native', 'quilt-native', 'texinfo-dummy-native', 'openssl-native', 'ncurses-native', 'zlib-native', 'make-native', 'ninja-native', 'perl-native', 'bzip2-native', 'xz-native', 'zstd-native', 'gdbm-native', 're2c-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- The ASM compiler identification is GNU
-- Found assembler: TMPDIR/hosttools/gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: TMPDIR/hosttools/gcc
-- Check for working C compiler: TMPDIR/hosttools/gcc - broken
CMake Error at TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/share/cmake-3.31/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "TMPDIR/hosttools/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: 'TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/build/CMakeFiles/CMakeScratch/TryCompile-qSMmed'
    
    Run Build Command(s): ninja -v cmTC_58c6c
    [1/2] TMPDIR/hosttools/gcc   -isystemTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/include -O2 -pipe -o CMakeFiles/cmTC_58c6c.dir/testCCompiler.c.o -c TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/build/CMakeFiles/CMakeScratch/TryCompile-qSMmed/testCCompiler.c
    [2/2] : && TMPDIR/hosttools/gcc -isystemTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/include -O2 -pipe   -isystemTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/include -LTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -LTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,-rpath,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TMPDIR/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread -rtlib=libgcc --unwindlib=libgcc  -LTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -LTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,-rpath,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TMPDIR/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread -rtlib=libgcc --unwindlib=libgcc CMakeFiles/cmTC_58c6c.dir/testCCompiler.c.o -o cmTC_58c6c   && :
    FAILED: cmTC_58c6c 
    : && TMPDIR/hosttools/gcc -isystemTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/include -O2 -pipe   -isystemTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/include -LTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -LTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,-rpath,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TMPDIR/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread -rtlib=libgcc --unwindlib=libgcc  -LTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -LTMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,-rpath,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TMPDIR/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread -rtlib=libgcc --unwindlib=libgcc CMakeFiles/cmTC_58c6c.dir/testCCompiler.c.o -o cmTC_58c6c   && :
    gcc: error: unrecognized command-line option ‘-rtlib=libgcc’
    gcc: error: unrecognized command-line option ‘--unwindlib=libgcc’
    gcc: error: unrecognized command-line option ‘-rtlib=libgcc’
    gcc: error: unrecognized command-line option ‘--unwindlib=libgcc’
    ninja: build stopped: subcommand failed.
    
    

  

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


-- Configuring incomplete, errors occurred!
WARNING: TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/temp/run.do_configure.766827:165 exit 1 from 'cmake -G 'Ninja' -DCMAKE_MAKE_PROGRAM=ninja $oecmake_sitefile TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/rustc-1.86.0-src/src/llvm-project/llvm -DCMAKE_INSTALL_PREFIX:PATH=TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3 -DPython_EXECUTABLE:PATH=/usr/bin/python3 -DPython3_EXECUTABLE:PATH=/usr/bin/python3 -DLIB_SUFFIX= -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/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=Release -DLLVM_TARGETS_TO_BUILD='ARM;AArch64;Mips;PowerPC;RISCV;X86' -DLLVM_BUILD_DOCS=OFF -DLLVM_ENABLE_TERMINFO=OFF -DLLVM_ENABLE_ZLIB=OFF -DLLVM_ENABLE_ZSTD=OFF -DLLVM_ENABLE_LIBXML2=OFF -DLLVM_ENABLE_FFI=OFF -DLLVM_ENABLE_LIBEDIT=OFF -DLLVM_INSTALL_UTILS=ON -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_BUILD_TESTS=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_TARGET_ARCH=x86_64 -DCMAKE_INSTALL_PREFIX:PATH=TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/recipe-sysroot-native/usr/lib/llvm-rust -DPY_PYGMENTS_FOUND=OFF -DPY_PYGMENTS_LEXERS_C_CPP_FOUND=OFF -DPY_YAML_FOUND=OFF -Wno-dev'
WARNING: Backtrace (BB generated script): 
	#1: cmake_do_configure, TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/temp/run.do_configure.766827, line 165
	#2: do_configure, TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/temp/run.do_configure.766827, line 144
	#3: main, TMPDIR/work/x86_64-linux/rust-llvm-native/1.86.0/temp/run.do_configure.766827, line 183

Error details

Submitted on:
13/06/25 15:42
Error type:
Recipe
Task:
do_configure
Recipe:
rust-llvm-native
Recipe version:
1.86.0-r0
Machine:
qemuarm
Distro:
yoe
Build system:
x86_64-linux
Target system:
arm-yoe-linux-gnueabi
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
c8cf020c56a18c7f972b9cb57bde67fd15f3d2dd
Build:
#208180
Submitter:
ab@rdk
Similar errors:
15
Open a bug