[llvm] [LoongArch] Pre-commit tests for tls-desc scheduling. NFC (PR #121538)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 19:34:28 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: ExecutionEngine/JITLink/RISCV/ELF_branch.s' FAILED ********************
Exit Code: 134

Command Output (stderr):
--
RUN: at line 1: rm -rf /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp && mkdir -p /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp
+ rm -rf /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp
+ mkdir -p /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp
RUN: at line 2: /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple=riscv64 -filetype=obj -riscv-asm-relax-branches=0      -o /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp/elf_riscv64_branch.o /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple=riscv64 -filetype=obj -riscv-asm-relax-branches=0 -o /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp/elf_riscv64_branch.o /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s
RUN: at line 4: /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple=riscv32 -filetype=obj -riscv-asm-relax-branches=0      -o /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp/elf_riscv32_branch.o /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-mc -triple=riscv32 -filetype=obj -riscv-asm-relax-branches=0 -o /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp/elf_riscv32_branch.o /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s
RUN: at line 6: /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink -noexec      -slab-allocate 100Kb -slab-address 0xfff00ff4 -slab-page-size 4096      -abs external_func_positive_offset=0xfff00ffc -abs external_func_negative_offset=0xfff00000     -check /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp/elf_riscv64_branch.o
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink -noexec -slab-allocate 100Kb -slab-address 0xfff00ff4 -slab-page-size 4096 -abs external_func_positive_offset=0xfff00ffc -abs external_func_negative_offset=0xfff00000 -check /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp/elf_riscv64_branch.o
llvm-jitlink: /b/ml-opt-devrel-x86-64-b1/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/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink -noexec -slab-allocate 100Kb -slab-address 0xfff00ff4 -slab-page-size 4096 -abs external_func_positive_offset=0xfff00ffc -abs external_func_negative_offset=0xfff00000 -check /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp/elf_riscv64_branch.o
 #0 0x000055e43040ffe8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink+0x1140fe8)
 #1 0x000055e43040d3cc SignalHandler(int) Signals.cpp:0:0
 #2 0x00007fa47f136140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
 #3 0x00007fa47ec2dd51 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d51)
 #4 0x00007fa47ec17537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
 #5 0x00007fa47ec1740f (/lib/x86_64-linux-gnu/libc.so.6+0x2240f)
 #6 0x00007fa47ec266d2 (/lib/x86_64-linux-gnu/libc.so.6+0x316d2)
 #7 0x000055e42fa11c7f (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink+0x742c7f)
 #8 0x000055e4302bc14a llvm::orc::ExecutorProcessControl::~ExecutorProcessControl() (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink+0xfed14a)
 #9 0x000055e4302bc373 llvm::orc::SelfExecutorProcessControl::~SelfExecutorProcessControl() crtstuff.c:0:0
#10 0x000055e4301da8b6 llvm::orc::ExecutionSession::~ExecutionSession() (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink+0xf0b8b6)
#11 0x000055e42f9c31ce main (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink+0x6f41ce)
#12 0x00007fa47ec18d7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#13 0x000055e42fa012fa _start (/b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink+0x7322fa)
/b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.script: line 5: 1541372 Aborted                 /b/ml-opt-devrel-x86-64-b1/build/bin/llvm-jitlink -noexec -slab-allocate 100Kb -slab-address 0xfff00ff4 -slab-page-size 4096 -abs external_func_positive_offset=0xfff00ffc -abs external_func_negative_offset=0xfff00000 -check /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/ExecutionEngine/JITLink/RISCV/ELF_branch.s /b/ml-opt-devrel-x86-64-b1/build/test/ExecutionEngine/JITLink/RISCV/Output/ELF_branch.s.tmp/elf_riscv64_branch.o

--

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


```

</details>

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


More information about the llvm-commits mailing list