llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while 
building `clang,compiler-rt,llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/95/builds/20856

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: 1200 seconds without output 
running [b'ninja', b'check-all'], attempting to kill
******************** TEST 'Profile-powerpc64le :: Linux/counter_promo_for.c' 
FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -fr 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/counter_promo_for.c.tmp.promo.prof
# executed command: rm -fr 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/counter_promo_for.c.tmp.promo.prof
# RUN: at line 2
rm -fr 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/counter_promo_for.c.tmp.nopromo.prof
# executed command: rm -fr 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/counter_promo_for.c.tmp.nopromo.prof
# RUN: at line 3
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/./bin/clang
   -m64 -fno-function-sections  -ldl  
-fprofile-generate=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/counter_promo_for.c.tmp.promo.prof/
 -o 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/counter_promo_for.c.tmp.promo.gen
 -O2 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/compiler-rt/test/profile/Linux/counter_promo_for.c
 -fno-slp-vectorize
# executed command: 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/./bin/clang
 -m64 -fno-function-sections -ldl 
-fprofile-generate=/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/counter_promo_for.c.tmp.promo.prof/
 -o 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-powerpc64le/Linux/Output/counter_promo_for.c.tmp.promo.gen
 -O2 
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-test-suite/clang-ppc64le-test-suite/llvm-project/compiler-rt/test/profile/Linux/counter_promo_for.c
 -fno-slp-vectorize
# .---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-test-suite/clang-ppc64le-test-suite/build/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-test-suite/clang-ppc64le-test-suite/build/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-test-suite/clang-ppc64le-test-suite/build/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-test-suite/clang-ppc64le-test-suite/build/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-test-suite/clang-ppc64le-test-suite/build/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-test-suite/clang-ppc64le-test-suite/llvm-project/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-test-suite/clang-ppc64le-test-suite/build/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-test-suite/clang-ppc64le-test-suite/llvm-project/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-test-suite/clang-ppc64le-test-suite/llvm-project/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-test-suite/clang-ppc64le-test-suite/build/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-test-suite/clang-ppc64le-test-suite/llvm-project/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
  • [clang] [... Joseph Huber via cfe-commits
    • [cla... Joseph Huber via cfe-commits
    • [cla... Joseph Huber via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... Yaxun Liu via cfe-commits
    • [cla... LLVM Continuous Integration via cfe-commits
    • [cla... Valentin Clement バレンタイン クレメン via cfe-commits
    • [cla... LLVM Continuous Integration via cfe-commits
    • [cla... LLVM Continuous Integration via cfe-commits
    • [cla... LLVM Continuous Integration via cfe-commits
    • [cla... Hans Wennborg via cfe-commits
    • [cla... Joseph Huber via cfe-commits
    • [cla... Yaxun Liu via cfe-commits

Reply via email to