[compiler-rt] [SystemZ][XRay] XRay runtime support for SystemZ (PR #113252)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 6 00:07:41 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running on `systemz-1` while building `compiler-rt` at step 4 "build stage 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/42/builds/1784
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (build stage 1) failure: 'ninja -j4' (failure)
...
[420/489] Building C object compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-s390x.dir/InstrProfilingUtil.c.o
[421/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_flags.cpp.o
[422/489] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-s390x.dir/tsan_mman.cpp.o
[423/489] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-s390x.dir/tsan_interface_atomic.cpp.o
[424/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_init.cpp.o
[425/489] Building ASM object compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_trampoline_s390x.S.o
[426/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayFDR.s390x.dir/xray_fdr_flags.cpp.o
[427/489] Generating exported symbols for clang_rt.ubsan_minimal-s390x
[428/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayBASIC.s390x.dir/xray_basic_flags.cpp.o
[429/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_s390x.cpp.o
FAILED: compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_s390x.cpp.o
/home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/./bin/clang++ --target=s390x-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/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/lib/xray/.. -I/home/uweigand/sandbox/buildbot/clang-s390x-linux/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 -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 -std=c++17 -MD -MT compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_s390x.cpp.o -MF compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_s390x.cpp.o.d -o compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_s390x.cpp.o -c /home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/lib/xray/xray_s390x.cpp
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/lib/xray/xray_s390x.cpp:20:14: error: out-of-line definition of 'patchFunctionEntry' does not match any declaration in namespace '__xray'
20 | bool __xray::patchFunctionEntry(const bool Enable, uint32_t FuncId,
| ^~~~~~~~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/lib/xray/xray_s390x.cpp:44:14: error: out-of-line definition of 'patchFunctionExit' does not match any declaration in namespace '__xray'
44 | bool __xray::patchFunctionExit(const bool Enable, uint32_t FuncId,
| ^~~~~~~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/lib/xray/xray_s390x.cpp:68:14: error: out-of-line definition of 'patchFunctionTailExit' does not match any declaration in namespace '__xray'
68 | bool __xray::patchFunctionTailExit(const bool Enable, const uint32_t FuncId,
| ^~~~~~~~~~~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/lib/xray/xray_s390x.cpp:71:10: error: no matching function for call to 'patchFunctionExit'
71 | return patchFunctionExit(Enable, FuncId, Sled);
| ^~~~~~~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/clang-s390x-linux/llvm/compiler-rt/lib/xray/xray_interface_internal.h:144:6: note: candidate function not viable: requires 4 arguments, but 3 were provided
144 | bool patchFunctionExit(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | const XRayTrampolines &Trampolines);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[430/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerExtFunctionsDlsym.cpp.o
[431/489] Linking CXX static library /home/uweigand/sandbox/buildbot/clang-s390x-linux/stage1/lib/clang/20/lib/s390x-unknown-linux-gnu/libclang_rt.profile.a
[432/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerExtFunctionsWindows.cpp.o
[433/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerExtraCounters.cpp.o
[434/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_buffer_queue.cpp.o
[435/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerExtraCountersDarwin.cpp.o
[436/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayPROFILING.s390x.dir/xray_profiling_flags.cpp.o
[437/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerExtraCountersWindows.cpp.o
[438/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayBASIC.s390x.dir/xray_basic_logging.cpp.o
[439/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerExtFunctionsWeak.cpp.o
[440/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXray.s390x.dir/xray_interface.cpp.o
[441/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayPROFILING.s390x.dir/xray_profiling.cpp.o
[442/489] Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-s390x.dir/tsan_rtl_access.cpp.o
[443/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayPROFILING.s390x.dir/xray_profile_collector.cpp.o
[444/489] Building CXX object compiler-rt/lib/xray/CMakeFiles/RTXrayFDR.s390x.dir/xray_fdr_logging.cpp.o
[445/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerCrossOver.cpp.o
[446/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerIO.cpp.o
[447/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerDataFlowTrace.cpp.o
[448/489] Building CXX object compiler-rt/lib/fuzzer/CMakeFiles/RTfuzzer.s390x.dir/FuzzerFork.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/113252
More information about the llvm-commits
mailing list