[temp][DO NOT MERGE] mixed-C/C++ static-libc++ SIGSEGV forensics#117
Closed
Sunrisepeak wants to merge 2 commits into
Closed
[temp][DO NOT MERGE] mixed-C/C++ static-libc++ SIGSEGV forensics#117Sunrisepeak wants to merge 2 commits into
Sunrisepeak wants to merge 2 commits into
Conversation
Sunrisepeak
added a commit
that referenced
this pull request
Jun 5, 2026
…GSEGV) CI forensics (PR #117, m1-m7 matrix + crash report): plain by-path archive linking leaves default-visibility libc++ symbols that dyld then unifies with the system libc++ from the shared cache — a split-brain where ostream<<int crosses from the static copy into the system copy's locale machinery (collate/num_put) and SIGSEGVs. -Wl,-load_hidden forces the archive AND hides its symbols; m6 (mixed C/C++) and m7 (pure-C++ int output) both run clean where m1/m3 crashed. (-hidden-l remains unusable under lld: it picks the sibling dylib.)
Member
Author
✅ 取证完成 — 根因确认 + 修复已落地 main矩阵结果(m1–m7 + crash report):
根因(crash report 实锤):split-brain libc++ —— 直链 修复: 本 PR 使命完成,关闭并删分支。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Minimal pure-clang repro matrix for the deferred TODO #1 (e2e
36_llvm_toolchainexit 139; see PR #116 deferred registry): five variants isolating the C-object factor, plus macOS crash-report harvesting. No mcpp involvement — separates toolchain-level from build-tool-level causes.