[llvm] [SPIR-V] Fix OpName and LinkageAttributes decoration of global variables (PR #120492)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 04:07:48 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `llvm` at step 7 "test-build-unified-tree-check-llvm".

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

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

```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
RUN: at line 1: rm -rf /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp && mkdir -p /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6 && mkdir -p /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv7 && mkdir -p /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/thumbv7
+ rm -rf /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp
+ mkdir -p /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6
+ mkdir -p /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv7
+ mkdir -p /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/thumbv7
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-mc -triple=armv6-none-linux-gnueabi -arm-add-build-attributes -filetype=obj -o /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6/out.o /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-mc -triple=armv6-none-linux-gnueabi -arm-add-build-attributes -filetype=obj -o /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6/out.o /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s
RUN: at line 3: /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-objdump -r /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6/out.o | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck --check-prefix=CHECK-TYPE /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-objdump -r /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6/out.o
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck --check-prefix=CHECK-TYPE /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s
RUN: at line 4: /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-jitlink -noexec -slab-address 0x76ff0000 -slab-allocate 10Kb -slab-page-size 4096               -abs target=0x76bbe88f -check /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6/out.o
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-jitlink -noexec -slab-address 0x76ff0000 -slab-allocate 10Kb -slab-page-size 4096 -abs target=0x76bbe88f -check /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6/out.o
llvm-jitlink: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h:285: 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: /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-jitlink -noexec -slab-address 0x76ff0000 -slab-allocate 10Kb -slab-page-size 4096 -abs target=0x76bbe88f -check /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6/out.o
 #0 0x00007ffa32770557 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/1/llvm-x86_64-debian-dylib/build/lib/libLLVM.so.20.0git+0xf12557)
 #1 0x00007ffa3276e00e llvm::sys::RunSignalHandlers() (/b/1/llvm-x86_64-debian-dylib/build/lib/libLLVM.so.20.0git+0xf1000e)
 #2 0x00007ffa32770c2f SignalHandler(int) Signals.cpp:0:0
 #3 0x00007ffa31848140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #4 0x00007ffa3136ed51 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d51)
 #5 0x00007ffa31358537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #6 0x00007ffa3135840f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #7 0x00007ffa313676d2 (/lib/x86_64-linux-gnu/libc.so.6+0x316d2)
 #8 0x000000000043e3bc (/b/1/llvm-x86_64-debian-dylib/build/bin/llvm-jitlink+0x43e3bc)
 #9 0x00007ffa34f7a227 llvm::orc::ExecutorProcessControl::~ExecutorProcessControl() (/b/1/llvm-x86_64-debian-dylib/build/lib/libLLVM.so.20.0git+0x371c227)
#10 0x00007ffa34f7bf0f llvm::orc::SelfExecutorProcessControl::~SelfExecutorProcessControl() crtstuff.c:0:0
#11 0x00007ffa34e6c1d1 llvm::orc::ExecutionSession::~ExecutionSession() (/b/1/llvm-x86_64-debian-dylib/build/lib/libLLVM.so.20.0git+0x360e1d1)
#12 0x0000000000416180 llvm::Session::~Session() (/b/1/llvm-x86_64-debian-dylib/build/bin/llvm-jitlink+0x416180)
#13 0x00000000004213ac main (/b/1/llvm-x86_64-debian-dylib/build/bin/llvm-jitlink+0x4213ac)
#14 0x00007ffa31359d7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#15 0x000000000041144a _start (/b/1/llvm-x86_64-debian-dylib/build/bin/llvm-jitlink+0x41144a)
/b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.script: line 10: 1666886 Aborted                 /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-jitlink -noexec -slab-address 0x76ff0000 -slab-allocate 10Kb -slab-page-size 4096 -abs target=0x76bbe88f -check /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/ExecutionEngine/JITLink/AArch32/ELF_relocations_data.s /b/1/llvm-x86_64-debian-dylib/build/test/ExecutionEngine/JITLink/AArch32/Output/ELF_relocations_data.s.tmp/armv6/out.o

--

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


```

</details>

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


More information about the llvm-commits mailing list