[lld] [lld][WebAssembly] Always initialize fixed `__tls_base` in single threaded mode (PR #193563)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 11:57:50 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3836 tests passed
* 212 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lld
<details>
<summary>lld.wasm/pic-static.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=wasm32-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/wasm/Inputs/ret32.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.ret32.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=wasm32-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/wasm/Inputs/ret32.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.ret32.o
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=wasm32-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/wasm/pic-static.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple=wasm32-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/wasm/pic-static.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.o
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/wasm-ld --allow-undefined --export-all -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.wasm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.ret32.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/wasm-ld --allow-undefined --export-all -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.wasm /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.ret32.o
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.wasm | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/wasm/pic-static.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/obj2yaml /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lld/test/wasm/Output/pic-static.s.tmp.wasm
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/wasm/pic-static.s
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/wasm/pic-static.s:127:15: error: CHECK-NEXT: is not on the line after the previous match
# | # CHECK-NEXT: Value: 0
# | ^
# | <stdin>:81:2: note: 'next' match was here
# | Value: 0
# | ^
# | <stdin>:62:19: note: previous match ended here
# | Opcode: I32_CONST
# | ^
# | <stdin>:63:1: note: non-matching line after previous match is here
# | Value: 65536
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lld/test/wasm/pic-static.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 76: - Index: 6
# | 77: Type: I32
# | 78: Mutable: false
# | 79: InitExpr:
# | 80: Opcode: I32_CONST
# | 81: Value: 0
# | next:127 !~~~~~~~ error: match on wrong line
# | 82: - Index: 7
# | 83: Type: I32
# | 84: Mutable: false
# | 85: InitExpr:
# | 86: Opcode: I32_CONST
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/193563
More information about the llvm-commits
mailing list