Skip to content

SYCL Pre Commit on Linux / test (AMD/HIP, ["Linux", "amdgpu"] - fails #13612

@YuriPlyakhin

Description

@YuriPlyakhin

Describe the bug

Examples:
https://github.com/intel/llvm/actions/runs/8902304706/job/24448240388
https://github.com/intel/llvm/actions/runs/8901979915/job/24447200947
https://github.com/intel/llvm/actions/runs/8901229785/job/24445348363

CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
  The C++ compiler

-- Check for working CXX compiler: /__w/llvm/llvm/toolchain/bin//clang++ - broken
    "/__w/llvm/llvm/toolchain/bin//clang++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /__w/llvm/llvm/build-e2e/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/ninja cmTC_6b983 && [1/2] Building CXX object CMakeFiles/cmTC_6b983.dir/testCXXCompiler.cxx.o
    [2/2] Linking CXX executable cmTC_6b983
    FAILED: cmTC_6b983 
    : && /__w/llvm/llvm/toolchain/bin//clang++   CMakeFiles/cmTC_6b983.dir/testCXXCompiler.cxx.o -o cmTC_6b983   && :
    /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.

To reproduce

No response

Environment

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghipIssues related to execution on HIP backend.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions