Repository navigation
Update contrib/llvm-project to pick up the libunwind ppc64le unw_getcontext fix - #129808
Conversation
|
Workflow [PR], commit [ad6ed75] Summary: ✅
AI ReviewSummaryThis PR updates Missing context / blind spots
Final VerdictStatus: ✅ Approve. No inline findings to post. |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Compile time of recompiled translation units6 translation units recompiled, 4 s compile time in total, 6 of them have a recent master baseline. |
|
It needs backports to different versions, as in our side the bug happens in both 26.3 and 26.8. |
|
@PedroTadim is it possible to do a backport for 26.3 lts and 26.8 lts at least? |
…etcontext` fix Backport of #129808: the libunwind fix cherry-picked onto the LLVM commit this release already uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…etcontext` fix Backport of #129808: the libunwind fix cherry-picked onto the LLVM commit this release already uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…etcontext` fix Backport of #129808: the libunwind fix cherry-picked onto the LLVM commit this release already uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…etcontext` fix Backport of #129808: the libunwind fix cherry-picked onto the LLVM commit this release already uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Cherry pick #129808 to 26.3: Update `contrib/llvm-project` to pick up the libunwind ppc64le `unw_getcontext` fix
Cherry pick #129808 to 26.8: Update `contrib/llvm-project` to pick up the libunwind ppc64le `unw_getcontext` fix
Cherry pick #129808 to 26.9: Update `contrib/llvm-project` to pick up the libunwind ppc64le `unw_getcontext` fix
Cherry pick #129808 to 26.10: Update `contrib/llvm-project` to pick up the libunwind ppc64le `unw_getcontext` fix
…e libunwind ppc64le `unw_getcontext` fix
…e libunwind ppc64le `unw_getcontext` fix
…e libunwind ppc64le `unw_getcontext` fix
…he libunwind ppc64le `unw_getcontext` fix
Backport #129808 to 26.10: Update `contrib/llvm-project` to pick up the libunwind ppc64le `unw_getcontext` fix
Backport #129808 to 26.9: Update `contrib/llvm-project` to pick up the libunwind ppc64le `unw_getcontext` fix
Backport #129808 to 26.8: Update `contrib/llvm-project` to pick up the libunwind ppc64le `unw_getcontext` fix
Backport #129808 to 26.3: Update `contrib/llvm-project` to pick up the libunwind ppc64le `unw_getcontext` fix
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix a ppc64le bug where the bundled libunwind's
unw_getcontextleft callee-saved vector registers byte-swapped, which could makeclickhouse-serverfail to start intermittently.Documentation entry for user-facing changes
Closes #127366.
Bumps
contrib/llvm-projectto31938f7(ClickHouse/release-22.x), which includes ClickHouse/llvm-project#142, a backport of llvm/llvm-project@6b0a46958c.On little-endian ppc64le,
PPC64_STVS(n)inlibunwind/src/UnwindRegistersSave.Sdidxxswapd n, n; stxvd2x n, 0, 4and never swapped back, sounw_getcontextreturned with v20-v31 and f14-f31 byte-swapped. Compiled code that keeps a vector constant in one of those registers across a stack trace capture then used corrupted data; the server failed to start in about 10-19% of runs under qemu-user (UNKNOWN_TABLE, "Both table name and UUID are empty").Not tested on native POWER hardware.
Workflow [PR]
Sync PR [sync-upstream/pr/129808]
Version info
26.11.1.2070-master(included in26.11and later)26.10.12.5,26.9.37.10,26.8.45.9,26.3.71.2