llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `clang,compiler-rt,llvm` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/14538 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 5 (ninja check 1) failure: stage 1 checked (failure) ******************** TEST 'Profile-powerpc64le :: Linux/coverage_test.cpp' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/./bin/clang -m64 -fno-function-sections -ldl -fprofile-instr-generate -fuse-ld=gold -O2 -fdata-sections -ffunction-sections -fcoverage-mapping -Wl,--gc-sections -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/coverage_test.cpp.tmp /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/profile/Linux/coverage_test.cpp # executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/./bin/clang -m64 -fno-function-sections -ldl -fprofile-instr-generate -fuse-ld=gold -O2 -fdata-sections -ffunction-sections -fcoverage-mapping -Wl,--gc-sections -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/coverage_test.cpp.tmp /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/profile/Linux/coverage_test.cpp # .---command stderr------------ # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformROCm.cpp.o):InstrProfilingPlatformROCm.cpp:function __llvm_profile_offload_register_dynamic_module: error: undefined reference to 'pthread_once' # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformROCm.cpp.o):InstrProfilingPlatformROCm.cpp:function __llvm_profile_offload_unregister_dynamic_module: error: undefined reference to 'pthread_once' # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformROCm.cpp.o):InstrProfilingPlatformROCm.cpp:function processDeviceOffloadPrf(void*, int, char const*): error: undefined reference to 'pthread_once' # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformROCm.cpp.o):InstrProfilingPlatformROCm.cpp:function processDeviceOffloadPrf(void*, int, char const*): error: undefined reference to 'pthread_once' # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(sanitizer_posix_libcdep.cpp.o):sanitizer_posix_libcdep.cpp:function __sanitizer::internal_pthread_attr_getstack(void*, void**, unsigned long*): error: undefined reference to 'pthread_attr_getstack' # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(sanitizer_posix_libcdep.cpp.o):sanitizer_posix_libcdep.cpp:function __sanitizer::AdjustStackSize(void*): error: undefined reference to 'pthread_attr_getstack' # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(sanitizer_posix_libcdep.cpp.o):sanitizer_posix_libcdep.cpp:function __sanitizer::AdjustStackSize(void*): error: undefined reference to 'pthread_attr_setstacksize' # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(sanitizer_linux_libcdep.cpp.o):sanitizer_linux_libcdep.cpp:function __sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*): error: undefined reference to 'pthread_getattr_np' # | clang: error: linker command failed with exit code 1 (use -v to see invocation) # `----------------------------- # error: command failed with exit status: 1 -- ******************** Step 11 (ninja check 2) failure: stage 2 checked (failure) ******************** TEST 'Profile-powerpc64le :: Posix/instrprof-empty-profile.c' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 4 mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Posix/Output/instrprof-empty-profile.c.tmp.d # executed command: mkdir -p /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Posix/Output/instrprof-empty-profile.c.tmp.d # RUN: at line 5 echo "src:other.c" > /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Posix/Output/instrprof-empty-profile.c.tmp-file.list # executed command: echo src:other.c # RUN: at line 6 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/./bin/clang -m64 -fno-function-sections -ldl -fprofile-instr-generate -fprofile-list=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Posix/Output/instrprof-empty-profile.c.tmp-file.list -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Posix/Output/instrprof-empty-profile.c.tmp /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/profile/Posix/instrprof-empty-profile.c # executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/./bin/clang -m64 -fno-function-sections -ldl -fprofile-instr-generate -fprofile-list=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Posix/Output/instrprof-empty-profile.c.tmp-file.list -o /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Posix/Output/instrprof-empty-profile.c.tmp /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/test/profile/Posix/instrprof-empty-profile.c # .---command stderr------------ # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformROCm.cpp.o): in function `__llvm_profile_offload_register_dynamic_module': # | InstrProfilingPlatformROCm.cpp:(.text+0x3a4): undefined reference to `pthread_once' # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformROCm.cpp.o): in function `__llvm_profile_offload_unregister_dynamic_module': # | InstrProfilingPlatformROCm.cpp:(.text+0x80c): undefined reference to `pthread_once' # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformROCm.cpp.o): in function `processDeviceOffloadPrf(void*, int, char const*)': # | InstrProfilingPlatformROCm.cpp:(.text+0xa78): undefined reference to `pthread_once' # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: InstrProfilingPlatformROCm.cpp:(.text+0xd50): undefined reference to `pthread_once' # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: InstrProfilingPlatformROCm.cpp:(.text+0xd9c): undefined reference to `pthread_once' # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformROCm.cpp.o):InstrProfilingPlatformROCm.cpp:(.text+0xde4): more undefined references to `pthread_once' follow # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(sanitizer_posix_libcdep.cpp.o): in function `__sanitizer::internal_pthread_attr_getstack(void*, void**, unsigned long*)': # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp:496: undefined reference to `pthread_attr_getstack' # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(sanitizer_posix_libcdep.cpp.o): in function `__sanitizer::AdjustStackSize(void*)': # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp:496: undefined reference to `pthread_attr_getstack' # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp:515: undefined reference to `pthread_attr_setstacksize' # | /opt/rh/gcc-toolset-13/root/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../bin/ld: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/lib/clang/23/lib/powerpc64le-unknown-linux-gnu/libclang_rt.profile.a(sanitizer_linux_libcdep.cpp.o): in function `__sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*)': # | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:184: undefined reference to `pthread_getattr_np' # | clang: error: linker command failed with exit code 1 (use -v to see invocation) # `----------------------------- # error: command failed with exit status: 1 -- ******************** ``` </details> https://github.com/llvm/llvm-project/pull/177665 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
