Commit 4f28e6f
committed
fix(build): link the toolchain libc++/abi dylibs by path (round-5 crash: dual libc++ states)
Crash report named it: exit-time locale::~locale freeing a pointer
malloc never allocated — two libc++ copies in one process, from -l
resolution mixing the sibling libc++.a into the link. By-path dylib
linking removes the ambiguity. Forensics now also counts statically
embedded libc++ text symbols (nm) to prove the binary is archive-free.1 parent 4b552ec commit 4f28e6f
2 files changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
| 350 | + | |
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
410 | 417 | | |
411 | 418 | | |
412 | 419 | | |
| |||
0 commit comments