[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 02:32:03 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `compiler-rt,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/10766
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
0.816 [29/98/351] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingPlatformWindows.c.o
0.817 [28/98/352] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o
0.818 [27/98/353] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o
0.824 [26/98/354] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.i386.dir/sanitizer_common_libcdep.cpp.o
0.824 [25/98/355] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.i386.dir/sanitizer_stacktrace_printer.cpp.o
0.824 [24/98/356] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.x86_64.dir/sanitizer_allocator_report.cpp.o
0.826 [23/98/357] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.x86_64.dir/sanitizer_chained_origin_depot.cpp.o
0.827 [22/98/358] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfiling.c.o
0.828 [21/98/359] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingBuffer.c.o
0.830 [20/98/360] Building CXX object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingRuntime.cpp.o
FAILED: compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingRuntime.cpp.o
/b/1/clang-x86_64-debian-fast/llvm.obj/./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/b/1/clang-x86_64-debian-fast/llvm.src/compiler-rt/lib/profile/.. -I/b/1/clang-x86_64-debian-fast/llvm.src/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 -m32 -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-i386.dir/InstrProfilingRuntime.cpp.o -MF compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingRuntime.cpp.o.d -o compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingRuntime.cpp.o -c /b/1/clang-x86_64-debian-fast/llvm.src/compiler-rt/lib/profile/InstrProfilingRuntime.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/compiler-rt/lib/profile/InstrProfilingRuntime.cpp:11:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/compiler-rt/lib/profile/InstrProfiling.h:27:
/b/1/clang-x86_64-debian-fast/llvm.src/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.830 [20/97/361] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingInternal.c.o
0.830 [20/96/362] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingMergeFile.c.o
0.830 [20/95/363] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingNameVar.c.o
0.830 [20/94/364] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingVersionVar.c.o
0.830 [20/93/365] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingPlatformAIX.c.o
0.831 [20/92/366] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingPlatformDarwin.c.o
0.831 [20/91/367] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingPlatformFuchsia.c.o
0.831 [20/90/368] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingPlatformOther.c.o
0.831 [20/89/369] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingPlatformWindows.c.o
0.831 [20/88/370] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o
0.831 [20/87/371] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_symbolizer_libcdep.cpp.o
0.831 [20/86/372] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o
0.831 [20/85/373] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.i386.dir/sanitizer_thread_history.cpp.o
0.831 [20/84/374] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o
0.831 [20/83/375] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o
0.832 [20/82/376] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfiling.c.o
0.832 [20/81/377] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-x86_64.dir/InstrProfilingBuffer.c.o
0.832 [20/80/378] 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
/b/1/clang-x86_64-debian-fast/llvm.obj/./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/b/1/clang-x86_64-debian-fast/llvm.src/compiler-rt/lib/profile/.. -I/b/1/clang-x86_64-debian-fast/llvm.src/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 /b/1/clang-x86_64-debian-fast/llvm.src/compiler-rt/lib/profile/InstrProfilingRuntime.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/compiler-rt/lib/profile/InstrProfilingRuntime.cpp:11:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/compiler-rt/lib/profile/InstrProfiling.h:27:
/b/1/clang-x86_64-debian-fast/llvm.src/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.832 [20/79/379] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-i386.dir/InstrProfilingPlatformLinux.c.o
0.833 [20/78/380] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizerNoHooks.i386.dir/sanitizer_symbolizer.cpp.o
0.836 [20/77/381] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o
0.841 [20/76/382] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.i386.dir/sanitizer_thread_arg_retval.cpp.o
0.843 [20/75/383] Building CXX object compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.i386.dir/sanitizer_posix_libcdep.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/110732
More information about the llvm-commits
mailing list