[libc] [llvm] [LLVM] Make the GPU loader utilities an LLVM tool (PR #132096)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 20 15:46:00 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-solaris11-sparcv9` running on `solaris11-sparcv9` while building `libc,llvm` at step 4 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/13/builds/6068
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (build stage 1) failure: 'ninja -j8' (failure)
...
[4939/5611] Building CXX object tools/llvm-debuginfod-find/CMakeFiles/llvm-debuginfod-find.dir/llvm-debuginfod-find.cpp.o
[4940/5611] Building CXX object tools/llvm-diff/CMakeFiles/llvm-diff.dir/llvm-diff.cpp.o
[4941/5611] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp-driver.cpp.o
[4942/5611] Linking CXX static library lib/libLLVMExegesis.a
[4943/5611] Building CXX object tools/llvm-debuginfo-analyzer/CMakeFiles/llvm-debuginfo-analyzer.dir/llvm-debuginfo-analyzer.cpp.o
[4944/5611] Building CXX object tools/llvm-debuginfo-analyzer/CMakeFiles/llvm-debuginfo-analyzer.dir/Options.cpp.o
[4945/5611] Building CXX object tools/llvm-dis/CMakeFiles/llvm-dis.dir/llvm-dis.cpp.o
[4946/5611] Building CXX object tools/llvm-dwp/CMakeFiles/llvm-dwp.dir/llvm-dwp.cpp.o
[4947/5611] Building CXX object tools/llvm-gsymutil/CMakeFiles/llvm-gsymutil.dir/llvm-gsymutil-driver.cpp.o
[4948/5611] Building CXX object tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o
/opt/llvm/19/bin/clang++ -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/tools/llvm-gpu-loader -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/stage1/include -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/include -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/include/llvm/Support/Solaris -I/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -MF tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o.d -o tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.o -c /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:16:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/macros/properties/complex_types.h:13:
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/include/llvm-libc-types/cfloat128.h:41:9: warning: '_Complex' is a C99 extension [-Wc99-extensions]
41 | typedef _Complex long double cfloat128;
| ^
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:15:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.h:16:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/shared/rpc_server.h:12:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/RPC/rpc_server.h:38:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/stdio/printf_core/converter.h:13:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/stdio/printf_core/core_structs.h:15:
In file included from /opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits.h:29:
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:34: warning: '_Complex' is a C99 extension [-Wc99-extensions]
31 | __is_unqualified_any_of<T, _Complex float, _Complex double,
| ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:31:50: warning: '_Complex' is a C99 extension [-Wc99-extensions]
31 | __is_unqualified_any_of<T, _Complex float, _Complex double,
| ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:32:31: warning: '_Complex' is a C99 extension [-Wc99-extensions]
32 | _Complex long double
| ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:126:53: error: use of undeclared identifier 'O_RDONLY'
126 | fd = open(get_main_executable(argv[0]).c_str(), O_RDONLY);
| ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:127:19: error: use of undeclared identifier 'LOCK_EX'
127 | if (flock(fd, LOCK_EX) == -1)
| ^
/opt/llvm-buildbot/home/solaris11-sparcv9/clang-solaris11-sparcv9/llvm/llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp:138:18: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
138 | report_error(std::move(elf_or_err.takeError()));
| ^
```
</details>
https://github.com/llvm/llvm-project/pull/132096
More information about the llvm-commits
mailing list