Skip to content

[CI] Linux post-commit build failure #13768

@uditagarwal97

Description

@uditagarwal97

Describe the bug

Run: https://github.com/intel/llvm/actions/runs/9058914532/job/24885436139

The issue seems to be with the Docker container.

CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
-- Check for working CXX compiler: /opt/sycl/bin/clang++ - broken
  The C++ compiler

    "/opt/sycl/bin/clang++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /__w/llvm/llvm/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/ninja cmTC_d1aa5 && [1/2] Building CXX object CMakeFiles/cmTC_d1aa5.dir/testCXXCompiler.cxx.o
    [2/2] Linking CXX executable cmTC_d1aa5
    FAILED: cmTC_d1aa5 
    : && /opt/sycl/bin/clang++   CMakeFiles/cmTC_d1aa5.dir/testCXXCompiler.cxx.o -o cmTC_d1aa5   && :
    /usr/bin/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:[45](https://github.com/intel/llvm/actions/runs/9058914532/job/24885436139#step:7:46) (project)

To reproduce

No response

Environment

OS: Linux
DPC++ commit: b11a19b

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions