Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Linux post-commit build failure #13768

Closed
uditagarwal97 opened this issue May 13, 2024 · 3 comments
Closed

[CI] Linux post-commit build failure #13768

uditagarwal97 opened this issue May 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@uditagarwal97
Copy link
Contributor

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

@uditagarwal97 uditagarwal97 added the bug Something isn't working label May 13, 2024
@uditagarwal97 uditagarwal97 self-assigned this May 13, 2024
@uditagarwal97
Copy link
Contributor Author

@JackAKirk Could this be related to #13752?

@uditagarwal97 uditagarwal97 changed the title Linux post-commit build failure [CI] Linux post-commit build failure May 13, 2024
@JackAKirk
Copy link
Contributor

@JackAKirk Could this be related to #13752?

I think so, it seems that the post-commit uses the nightly image. Although I don't understand why it didn't occur here: https://github.com/intel/llvm/actions/runs/9056583535
Here is a temporary fix #13769

AMD recently added a new apt package for rocm 6.1.1. I'll see if that works without the libstdc++-12-dev package...

@KornevNikita
Copy link
Contributor

@uditagarwal97 @JackAKirk I guess it can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants