[clang] [libc] [llvm] [AMDGPU] Use COV6 by default (PR #118515)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 3 16:56:34 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang,libc,llvm,offload` at step 7 "Add check check-offload".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/9555
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (Add check check-offload) failure: test (failure)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: api/ompx_sync.c' FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang -fopenmp -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/api/ompx_sync.c -o /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/api/Output/ompx_sync.c.tmp -Xoffload-linker -lc -Xoffload-linker -lm /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a && /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/api/Output/ompx_sync.c.tmp | /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/api/ompx_sync.c
# executed command: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang -fopenmp -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/api/ompx_sync.c -o /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/api/Output/ompx_sync.c.tmp -Xoffload-linker -lc -Xoffload-linker -lm /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
# executed command: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/api/Output/ompx_sync.c.tmp
# .---command stderr------------
# | "PluginInterface" error: Failure to load binary image 0x5638f6881620 on device 0: Error in hsa_executable_load_agent_code_object: HSA_STATUS_ERROR_INVALID_CODE_OBJECT: The code object is invalid.
# | omptarget error: Failed to load image Failed to load binary 0x5638f6881620
# | omptarget fatal error 0: Failed to load images on device '0'
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/api/ompx_sync.c
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/api/ompx_sync.c
# `-----------------------------
# error: command failed with exit status: 2
--
********************
Step 8 (Add check check-libc-amdgcn-amd-amdhsa) failure: test (failure)
...
[1578/2684] Linking CXX executable libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.startup_args_test.__build__
[1579/2684] Building CXX object libc/test/integration/startup/gpu/CMakeFiles/libc.test.integration.startup.gpu.startup_rpc_stream_test.__build__.dir/rpc_stream_test.cpp.o
clang++: warning: code object v6 is still in development and not ready for production use yet; use at your own risk
[1580/2684] Building CXX object libc/test/src/inttypes/CMakeFiles/libc.test.src.inttypes.strtoumax_test.__hermetic__.__build__.dir/strtoumax_test.cpp.o
clang++: warning: code object v6 is still in development and not ready for production use yet; use at your own risk
[1581/2684] Linking CXX executable libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.init_fini_array_test.__build__
[1582/2684] Building CXX object libc/test/src/inttypes/CMakeFiles/libc.test.src.inttypes.strtoimax_test.__hermetic__.__build__.dir/strtoimax_test.cpp.o
clang++: warning: code object v6 is still in development and not ready for production use yet; use at your own risk
[1583/2684] Linking CXX executable libc/test/integration/src/stdio/libc.test.integration.src.stdio.sprintf_size_test_no_sprintf.__build__
[1584/2684] Running integration test libc.test.integration.startup.gpu.startup_args_test
FAILED: libc/test/integration/startup/gpu/CMakeFiles/libc.test.integration.startup.gpu.startup_args_test /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/startup/gpu/CMakeFiles/libc.test.integration.startup.gpu.startup_args_test
cd /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/startup/gpu && FRANCE=Paris GERMANY=Berlin /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/amdhsa-loader /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.startup_args_test.__build__ 1 2 3
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/amdgpu/amdhsa-loader.cpp:383:0: Error: HSA_STATUS_ERROR_INVALID_CODE_OBJECT: The code object is invalid.
[1585/2684] Linking CXX executable libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_test.__build__
[1586/2684] Running integration test libc.test.integration.startup.gpu.init_fini_array_test
FAILED: libc/test/integration/startup/gpu/CMakeFiles/libc.test.integration.startup.gpu.init_fini_array_test /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/startup/gpu/CMakeFiles/libc.test.integration.startup.gpu.init_fini_array_test
cd /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/startup/gpu && /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/amdhsa-loader /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.init_fini_array_test.__build__
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/amdgpu/amdhsa-loader.cpp:383:0: Error: HSA_STATUS_ERROR_INVALID_CODE_OBJECT: The code object is invalid.
[1587/2684] Running integration test libc.test.integration.src.stdio.sprintf_size_test_no_sprintf
FAILED: libc/test/integration/src/stdio/CMakeFiles/libc.test.integration.src.stdio.sprintf_size_test_no_sprintf /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/src/stdio/CMakeFiles/libc.test.integration.src.stdio.sprintf_size_test_no_sprintf
cd /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/src/stdio && /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/bin/amdhsa-loader /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/libc/test/integration/src/stdio/libc.test.integration.src.stdio.sprintf_size_test_no_sprintf.__build__ %s\ %c\ %d First\ arg a 0
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/amdgpu/amdhsa-loader.cpp:383:0: Error: HSA_STATUS_ERROR_INVALID_CODE_OBJECT: The code object is invalid.
[1588/2684] Linking CXX executable libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_interface_test.__build__
[1589/2684] Building CXX object libc/test/include/CMakeFiles/libc.test.include.sys_queue_test.__hermetic__.__build__.dir/sys/queue_test.cpp.o
clang++: warning: code object v6 is still in development and not ready for production use yet; use at your own risk
[1590/2684] Linking CXX executable libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_lane_test_w32.__build__
[1591/2684] Linking CXX executable libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_lane_test_w64.__build__
[1592/2684] Linking CXX executable libc/test/integration/src/stdlib/libc.test.integration.src.stdlib.getenv_test.__build__
[1593/2684] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoint32_test.__hermetic__.__build__.dir/strtoint32_test.cpp.o
clang++: warning: code object v6 is still in development and not ready for production use yet; use at your own risk
[1594/2684] Linking CXX executable libc/test/integration/src/__support/GPU/libc.test.integration.src.__support.GPU.scan_reduce_test.__build__
[1595/2684] Building CXX object libc/test/include/CMakeFiles/libc.test.include.complex_test.__hermetic__.__build__.dir/complex_test.cpp.o
clang++: warning: code object v6 is still in development and not ready for production use yet; use at your own risk
[1596/2684] Linking CXX executable libc/test/integration/startup/gpu/libc.test.integration.startup.gpu.startup_rpc_stream_test.__build__
[1597/2684] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoint64_test.__hermetic__.__build__.dir/strtoint64_test.cpp.o
clang++: warning: code object v6 is still in development and not ready for production use yet; use at your own risk
[1598/2684] Building CXX object libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/LibcTest.cpp.o
clang++: warning: code object v6 is still in development and not ready for production use yet; use at your own risk
[1599/2684] Linking CXX executable libc/test/integration/src/stdio/gpu/libc.test.integration.src.stdio.gpu.printf_test.__build__
ninja: build stopped: subcommand failed.
FAILED: runtimes/CMakeFiles/check-libc-amdgcn-amd-amdhsa /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/CMakeFiles/check-libc-amdgcn-amd-amdhsa
cd /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins && /usr/local/cmake/bin/cmake --build /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-amdgcn-amd-amdhsa-bins/ --target check-libc --config Release
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/118515
More information about the cfe-commits
mailing list