DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['TOPDIR/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_10.2.bb:do_populate_sysroot', 'virtual:native:TOPDIR/openembedded-core/meta/recipes-devtools/ninja/ninja_1.10.2.bb:do_populate_sysroot', 'TOPDIR/meta-clang/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', 'virtual:native:TOPDIR/openembedded-core/meta/recipes-devtools/python/python3_3.9.2.bb:do_populate_sysroot', 'TOPDIR/openembedded-core/meta/recipes-core/glibc/glibc_2.33.bb:do_populate_sysroot', 'virtual:native:TOPDIR/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:TOPDIR/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'TOPDIR/openembedded-core/meta/recipes-devtools/cmake/cmake-native_3.19.5.bb:do_populate_sysroot', 'TOPDIR/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:TOPDIR/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['gcc-runtime', 'ninja-native', 'clang-cross-x86_64', 'python3-native', 'glibc', 'patch-native', 'pkgconfig-native', 'cmake-native', 'quilt-native', 'pseudo-native', 're2c-native', 'clang-native', 'binutils-cross-x86_64', 'openssl-native', 'bzip2-native', 'libtool-native', 'util-linux-native', 'zlib-native', 'automake-native', 'xz-native', 'autoconf-native', 'libtirpc-native', 'libffi-native', 'libnsl2-native', 'sqlite3-native', 'linux-libc-headers', 'attr-native', 'ncurses-native', 'curl-native', 'libgcc', 'libedit-native', 'swig-native', 'libxml2-native', 'binutils-native', 'gnu-config-native', 'texinfo-dummy-native', 'flex-native', 'libpcre2-native', 'libcap-ng-native', 'gettext-minimal-native', 'util-linux-uuid-native', 'm4-native', 'libpcre-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_configure
-- The C compiler identification is Clang 12.0.0
-- The CXX compiler identification is Clang 12.0.0
-- The ASM compiler identification is Clang
-- Found assembler: TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang
-- Check for working C compiler: TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang - broken
CMake Error at TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):ninja cmTC_928f4 && [1/2] Building C object CMakeFiles/cmTC_928f4.dir/testCCompiler.c.o
    [2/2] Linking C executable cmTC_928f4
    FAILED: cmTC_928f4 
    : && TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang -target x86_64-foo-linux  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse   -mlittle-endian -Qunused-arguments  --sysroot=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0=/usr/src/debug/compiler-rt/12.0.0-r0                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0=/usr/src/debug/compiler-rt/12.0.0-r0                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native=  -target x86_64-foo-linux  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse   -mlittle-endian -Qunused-arguments  --sysroot=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot -target x86_64-foo-linux  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse   -mlittle-endian -Qunused-arguments  --sysroot=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_928f4.dir/testCCompiler.c.o -o cmTC_928f4   && :
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot open crtbeginS.o: No such file or directory
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot open crtendS.o: No such file or directory
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot find -lgcc
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot find -lgcc
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot find -lgcc
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot find -lgcc
    clang-12: 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:38 (project)


-- Configuring incomplete, errors occurred!
See also "TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/build/CMakeFiles/CMakeOutput.log".
See also "TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/build/CMakeFiles/CMakeError.log".
WARNING: exit code 1 from a shell command.
ERROR: Execution of 'TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/temp/run.do_configure.974869' failed with exit code 1:
-- The C compiler identification is Clang 12.0.0
-- The CXX compiler identification is Clang 12.0.0
-- The ASM compiler identification is Clang
-- Found assembler: TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang
-- Check for working C compiler: TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang - broken
CMake Error at TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):ninja cmTC_928f4 && [1/2] Building C object CMakeFiles/cmTC_928f4.dir/testCCompiler.c.o
    [2/2] Linking C executable cmTC_928f4
    FAILED: cmTC_928f4 
    : && TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-clang -target x86_64-foo-linux  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse   -mlittle-endian -Qunused-arguments  --sysroot=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0=/usr/src/debug/compiler-rt/12.0.0-r0                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0=/usr/src/debug/compiler-rt/12.0.0-r0                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native=  -target x86_64-foo-linux  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse   -mlittle-endian -Qunused-arguments  --sysroot=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot -target x86_64-foo-linux  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse   -mlittle-endian -Qunused-arguments  --sysroot=TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/cmTC_928f4.dir/testCCompiler.c.o -o cmTC_928f4   && :
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot open crtbeginS.o: No such file or directory
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot open crtendS.o: No such file or directory
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot find -lgcc
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot find -lgcc
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot find -lgcc
    TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/recipe-sysroot-native/usr/bin/x86_64-foo-linux/x86_64-foo-linux-ld: error: cannot find -lgcc
    clang-12: 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:38 (project)


-- Configuring incomplete, errors occurred!
See also "TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/build/CMakeFiles/CMakeOutput.log".
See also "TOPDIR/tmp-glibc/work/core2-64-foo-linux/compiler-rt/12.0.0-r0/build/CMakeFiles/CMakeError.log".
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
23/03/21 10:09
Error type:
Recipe
Task:
do_configure
Recipe:
compiler-rt
Recipe version:
12.0.0-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-foo-linux
Host distro:
universal/ubuntu-21.04
Branch:
jansa/master
Commit:
e395de49f77e3b140db0237063751391e98b73d4
Build:
#118673
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug