[clang] [compiler-rt] [XRay] Add support for instrumentation of DSOs on x86_64 (PR #90959)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 11 03:56:59 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vls` running on `linaro-g3-02` while building `clang,compiler-rt` at step 6 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/143/builds/2751
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (build stage 1) failure: 'ninja' (failure)
...
213 | if (ObjId <= 0 || ObjId >= __xray_num_objects()) {
| ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[588/655] Building ASM object compiler-rt/lib/orc/CMakeFiles/RTOrc.aarch64.dir/elfnix_tls.aarch64.S.o
[589/655] Building ASM object compiler-rt/lib/orc/CMakeFiles/RTOrc.aarch64.dir/elfnix_tls.ppc64.S.o
[590/655] Linking CXX static library /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/lib/clang/20/lib/aarch64-unknown-linux-gnu/libclang_rt.ubsan_minimal.a
[591/655] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.aarch64.dir/xray_AArch64.cpp.o
[592/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.aarch64.dir/FuzzerInterceptors.cpp.o
[593/655] Building CXX object compiler-rt/lib/orc/CMakeFiles/RTOrc.aarch64.dir/debug.cpp.o
[594/655] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.aarch64.dir/xray_interface.cpp.o
FAILED: compiler-rt/lib/xray/CMakeFiles/RTXray.aarch64.dir/xray_interface.cpp.o
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/stage1/./bin/clang++ --target=aarch64-unknown-linux-gnu -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -DXRAY_HAS_EXCEPTIONS=1 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/compiler-rt/lib/xray/.. -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/compiler-rt/lib/xray/../../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 -std=c++17 -march=armv8-a -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -Wno-format -fno-rtti -MD -MT compiler-rt/lib/xray/CMakeFiles/RTXray.aarch64.dir/xray_interface.cpp.o -MF compiler-rt/lib/xray/CMakeFiles/RTXray.aarch64.dir/xray_interface.cpp.o.d -o compiler-rt/lib/xray/CMakeFiles/RTXray.aarch64.dir/xray_interface.cpp.o -c /home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/compiler-rt/lib/xray/xray_interface.cpp
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls/llvm/compiler-rt/lib/xray/xray_interface.cpp:16:10: fatal error: 'llvm/Support/ErrorHandling.h' file not found
16 | #include "llvm/Support/ErrorHandling.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[595/655] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayBASIC.aarch64.dir/xray_basic_logging.cpp.o
[596/655] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.aarch64.dir/xray_buffer_queue.cpp.o
[597/655] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.aarch64.dir/xray_utils.cpp.o
[598/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer_main.aarch64.dir/FuzzerMain.cpp.o
[599/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerExtFunctionsWeak.cpp.o
[600/655] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayPROFILING.aarch64.dir/xray_profile_collector.cpp.o
[601/655] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayPROFILING.aarch64.dir/xray_profiling.cpp.o
[602/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerSHA1.cpp.o
[603/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerIOPosix.cpp.o
[604/655] Building CXX object compiler-rt/lib/orc/CMakeFiles/RTOrc.aarch64.dir/dlfcn_wrapper.cpp.o
[605/655] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayFDR.aarch64.dir/xray_fdr_logging.cpp.o
[606/655] Building CXX object compiler-rt/lib/orc/CMakeFiles/RTOrc.aarch64.dir/run_program_wrapper.cpp.o
[607/655] Building CXX object compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone_cxx-aarch64.dir/wrappers_cpp.cpp.o
[608/655] Building CXX object compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-aarch64.dir/wrappers_cpp.cpp.o
[609/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtilLinux.cpp.o
[610/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerCrossOver.cpp.o
[611/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtilPosix.cpp.o
[612/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerUtil.cpp.o
[613/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerIO.cpp.o
[614/655] Building CXX object compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-aarch64.dir/wrappers_c.cpp.o
[615/655] Building CXX object compiler-rt/lib/scudo/standalone/CMakeFiles/clang_rt.scudo_standalone-dynamic-aarch64.dir/wrappers_c.cpp.o
[616/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMutate.cpp.o
[617/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerTracePC.cpp.o
[618/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerDataFlowTrace.cpp.o
[619/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerMerge.cpp.o
[620/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerFork.cpp.o
[621/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerDriver.cpp.o
[622/655] Building CXX object compiler-rt/lib/orc/CMakeFiles/RTOrc.aarch64.dir/elfnix_platform.cpp.o
[623/655] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.aarch64.dir/FuzzerLoop.cpp.o
[624/655] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-aarch64.dir/tsan_interceptors_posix.cpp.o
[625/655] Building CXX object compiler-rt/lib/msan/CMakeFiles/clang_rt.msan-aarch64.dir/msan_interceptors.cpp.o
[626/655] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-aarch64.dir/tsan_interceptors_posix.cpp.o
[627/655] Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.aarch64.dir/asan_interceptors.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/90959
More information about the cfe-commits
mailing list