[libc-commits] [libc] [llvm] [libc] Remove RPC server API and use the header directly (PR #117075)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Mon Nov 25 05:27:17 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 `libc,offload` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/9098
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (compile-openmp) failure: build (failure)
...
1.439 [3481/10/865] Linking CXX shared module unittests/Passes/Plugins/TestPlugin.so
1.442 [3481/9/866] Linking CXX shared module unittests/Analysis/InlineOrderPlugin.so
1.442 [3481/8/867] Linking CXX shared module unittests/Passes/Plugins/DoublerPlugin.so
1.444 [3481/7/868] Linking CXX shared module lib/Bye.so
1.517 [3481/6/869] Building ARMTargetParserDef.inc...
1.524 [3480/6/870] Linking CXX executable bin/llvm-opt-report
1.546 [3480/5/871] Linking CXX executable bin/llvm-remarkutil
1.703 [3480/4/872] Linking CXX executable bin/llvm-tblgen
1.713 [3451/32/873] Building COFFOptions.inc...
1.866 [3450/32/874] Building CXX object projects/libc/utils/gpu/loader/CMakeFiles/gpu_loader.dir/Main.cpp.o
FAILED: projects/libc/utils/gpu/loader/CMakeFiles/gpu_loader.dir/Main.cpp.o
ccache /usr/bin/g++ -I/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/projects/libc/utils/gpu/loader -I/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader -I/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/include -I/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc -I/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/llvm/include -I/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-rtti -std=c++17 -MD -MT projects/libc/utils/gpu/loader/CMakeFiles/gpu_loader.dir/Main.cpp.o -MF projects/libc/utils/gpu/loader/CMakeFiles/gpu_loader.dir/Main.cpp.o.d -o projects/libc/utils/gpu/loader/CMakeFiles/gpu_loader.dir/Main.cpp.o -c /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/Main.cpp
In file included from /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:21,
from /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/Loader.h:16,
from /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/Main.cpp:14:
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc_util.h:151:60: error: missing binary operator before token "("
151 | #elif defined(LIBC_TARGET_ARCH_IS_AARCH64) && __has_builtin(__builtin_arm_isb)
| ^
In file included from /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/Loader.h:16,
from /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/Main.cpp:14:
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:32:19: error: missing binary operator before token "("
32 | #if !__has_builtin(__scoped_atomic_load_n)
| ^
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:41:19: error: missing binary operator before token "("
41 | #if !__has_builtin(__scoped_atomic_thread_fence)
| ^
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:599:19: error: missing binary operator before token "("
599 | #if !__has_builtin(__scoped_atomic_load_n)
| ^
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:605:19: error: missing binary operator before token "("
605 | #if !__has_builtin(__scoped_atomic_thread_fence)
| ^
In file included from /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/Loader.h:16,
from /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/utils/gpu/loader/Main.cpp:14:
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h: In member function ‘uint32_t rpc::Process<Invert>::load_inbox(uint64_t, uint32_t) const’:
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:125:43: error: ‘__MEMORY_SCOPE_SYSTEM’ was not declared in this scope
125 | __MEMORY_SCOPE_SYSTEM));
| ^~~~~~~~~~~~~~~~~~~~~
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:124:20: error: there are no arguments to ‘__scoped_atomic_load_n’ that depend on a template parameter, so a declaration of ‘__scoped_atomic_load_n’ must be available [-fpermissive]
124 | lane_mask, __scoped_atomic_load_n(&inbox[index], __ATOMIC_RELAXED,
| ^~~~~~~~~~~~~~~~~~~~~~
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:124:20: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h: In member function ‘uint32_t rpc::Process<Invert>::load_outbox(uint64_t, uint32_t) const’:
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:132:43: error: ‘__MEMORY_SCOPE_SYSTEM’ was not declared in this scope
132 | __MEMORY_SCOPE_SYSTEM));
| ^~~~~~~~~~~~~~~~~~~~~
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/libc/shared/rpc.h:131:20: error: there are no arguments to ‘__scoped_atomic_load_n’ that depend on a template parameter, so a declaration of ‘__scoped_atomic_load_n’ must be available [-fpermissive]
131 | lane_mask, __scoped_atomic_load_n(&outbox[index], __ATOMIC_RELAXED,
| ^~~~~~~~~~~~~~~~~~~~~~
```
</details>
https://github.com/llvm/llvm-project/pull/117075
More information about the libc-commits
mailing list