[compiler-rt] [llvm] Add explicit symbol visibility macros to InstrProfData.inc (PR #110732)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 01:52:59 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `compiler-rt,llvm` at step 6 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/12891
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (build-unified-tree) failure: build (failure)
...
121.209 [126/12/3122] Performing build step for 'runtimes'
0.006 [7/22/1] Copying compiler-rt's profile/InstrProfData.inc...
0.032 [7/21/2] Building CXX object compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_dynamic_version_script_dummy.x86_64.dir/dummy.cpp.o
0.032 [6/21/3] Building CXX object compiler-rt/lib/hwasan/CMakeFiles/RTHwasan_dynamic_version_script_dummy.x86_64.dir/dummy.cpp.o
0.033 [4/22/4] Building CXX object compiler-rt/lib/nsan/CMakeFiles/RTNsan_dynamic_version_script_dummy.x86_64.dir/dummy.cpp.o
0.033 [3/22/5] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.x86_64.dir/dummy.cpp.o
0.043 [2/22/6] Building CXX object compiler-rt/lib/memprof/CMakeFiles/RTMemprof_dynamic_version_script_dummy.x86_64.dir/dummy.cpp.o
0.045 [1/22/7] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingVersionVar.c.o
0.045 [1/21/8] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingNameVar.c.o
0.046 [1/20/9] Building CXX object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingRuntime.cpp.o
FAILED: compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingRuntime.cpp.o
/build/buildbot/premerge-monolithic-linux/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/lib/profile/.. -I/build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/lib/profile/../../include -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 -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 -Wall -Wno-unused-parameter -O3 -DNDEBUG -m64 -fno-lto -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -DCOMPILER_RT_HAS_FCNTL_LCK=1 -DCOMPILER_RT_HAS_FLOCK=1 -DCOMPILER_RT_HAS_UNAME=1 -nostdinc++ -std=c++17 -MD -MT compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingRuntime.cpp.o -MF compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingRuntime.cpp.o.d -o compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingRuntime.cpp.o -c /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/lib/profile/InstrProfilingRuntime.cpp
In file included from /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/lib/profile/InstrProfilingRuntime.cpp:11:
In file included from /build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/lib/profile/InstrProfiling.h:27:
/build/buildbot/premerge-monolithic-linux/llvm-project/compiler-rt/lib/profile/../../include/profile/InstrProfData.inc:69:10: fatal error: 'llvm/Support/Compiler.h' file not found
69 | #include "llvm/Support/Compiler.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
0.050 [1/19/10] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingInternal.c.o
0.056 [1/18/11] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingMergeFile.c.o
0.060 [1/17/12] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingPlatformWindows.c.o
0.063 [1/16/13] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingPlatformDarwin.c.o
0.069 [1/15/14] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfiling.c.o
0.073 [1/14/15] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingBuffer.c.o
0.091 [1/13/16] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingPlatformLinux.c.o
0.096 [1/12/17] Linking CXX shared library /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.ubsan_standalone.so
0.100 [1/11/18] Linking CXX shared library /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan.so
0.102 [1/10/19] Linking CXX shared library /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.hwasan_aliases.so
0.107 [1/9/20] Linking CXX shared library /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.nsan.so
0.118 [1/8/21] Linking CXX shared library /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.asan.so
0.120 [1/7/22] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingWriter.c.o
0.124 [1/6/23] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingMerge.c.o
0.124 [1/5/24] Linking CXX shared library /build/buildbot/premerge-monolithic-linux/build/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.memprof.so
0.137 [1/4/25] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingUtil.c.o
0.165 [1/3/26] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/GCDAProfiling.c.o
0.204 [1/2/27] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingFile.c.o
0.214 [1/1/28] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingValue.c.o
ninja: build stopped: subcommand failed.
FAILED: runtimes/runtimes-stamps/runtimes-build /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-stamps/runtimes-build
cd /build/buildbot/premerge-monolithic-linux/build/runtimes/runtimes-bins && /etc/cmake/bin/cmake --build .
123.388 [126/11/3124] Generating builtins.opt.cayman-r600--.bc
123.731 [126/10/3125] Generating builtins.opt.cypress-r600--.bc
124.481 [126/9/3126] Generating builtins.opt.cedar-r600--.bc
125.640 [126/8/3127] Generating builtins.opt.barts-r600--.bc
132.763 [126/7/3128] Generating builtins.opt.nvptx--.bc
133.137 [126/6/3129] Generating builtins.opt.nvptx--nvidiacl.bc
134.565 [126/5/3130] Generating builtins.opt.nvptx64--.bc
135.687 [126/4/3131] Generating builtins.opt.nvptx64--nvidiacl.bc
136.244 [126/3/3132] Generating builtins.opt.tahiti-amdgcn-mesa-mesa3d.bc
```
</details>
https://github.com/llvm/llvm-project/pull/110732
More information about the llvm-commits
mailing list