[llvm] [SPIR-V] Fix support of OpGenericCastToPtr __spirv_ wrappers (PR #96655)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 10:54:05 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `llvm` at step 7 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /build/buildbot/premerge-monolithic-linux/build/bin/lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
+ /build/buildbot/premerge-monolithic-linux/build/bin/lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
lli: /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h:282: llvm::orc::SymbolStringPool::~SymbolStringPool(): Assertion `Pool.empty() && "Dangling references at pool destruction time"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /build/buildbot/premerge-monolithic-linux/build/bin/lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
 #0 0x00005cbbd07dde58 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:13
 #1 0x00005cbbd07db97e llvm::sys::RunSignalHandlers() /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Support/Signals.cpp:106:18
 #2 0x00005cbbd07de508 SignalHandler(int) /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Support/Unix/Signals.inc:413:1
 #3 0x00007e6236697520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007e62366eb9fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
 #5 0x00007e6236697476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x00007e623667d7f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00007e623667d71b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x00007e623668ee96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x00005cbbcf8e864c (/build/buildbot/premerge-monolithic-linux/build/bin/lli+0x12ce64c)
#10 0x00005cbbd03a9f38 __is_single_threaded /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/atomicity.h:52:12
#11 0x00005cbbd03a9f38 __exchange_and_add_dispatch /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/atomicity.h:98:9
#12 0x00005cbbd03a9f38 _M_release /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:180:10
#13 0x00005cbbd03a9f38 ~__shared_count /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:705:11
#14 0x00005cbbd03a9f38 ~__shared_ptr /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:1154:31
#15 0x00005cbbd03a9f38 llvm::orc::ExecutorProcessControl::~ExecutorProcessControl() /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp:26:49
#16 0x00005cbbd03ab7e2 llvm::orc::SelfExecutorProcessControl::~SelfExecutorProcessControl() /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h:511:7
#17 0x00005cbbd023157f ~unique_ptr /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:362:8
#18 0x00005cbbd023157f llvm::orc::ExecutionSession::~ExecutionSession() /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/ExecutionEngine/Orc/Core.cpp:1614:1
#19 0x00005cbbd03260fe operator() /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:85:2
#20 0x00005cbbd03260fe ~unique_ptr /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:361:4
#21 0x00005cbbd03260fe llvm::orc::LLJIT::~LLJIT() /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp:843:1
#22 0x00005cbbd032bc44 llvm::orc::LLLazyJIT::~LLLazyJIT() /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:267:7
#23 0x00005cbbcf8dcd46 runOrcJIT(char const*) /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/unique_ptr.h:0:2
#24 0x00005cbbcf8d7544 main /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/tools/lli/lli.cpp:452:12
#25 0x00007e623667ed90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#26 0x00007e623667ee40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#27 0x00005cbbcf8d4125 _start (/build/buildbot/premerge-monolithic-linux/build/bin/lli+0x12ba125)
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll

--

********************


```

https://github.com/llvm/llvm-project/pull/96655


More information about the llvm-commits mailing list