rust-1.93 build failure due to "symbol(s) not found for architecture x86_64 std::__1::__libcpp_verbose_abort "
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Summary
As there is no clue to resolve issue #153415 , I decide to take a try for next new rust version 1.93.1 (01f6ddf75 2026-02-11).
But no luck again.
I have built llvm@21 and start build rust 1.93.1 with it, it was blocked again by PassWrapper.o,
in this time, it raise new error "std::__1::__libcpp_verbose_abort(char const*, ...)" instead of "vtable for std::__1::bad_function_call" in issue #153415
the whole errors is:
"-L" "/usr/local/Cellar/llvm/21.1.8_1/lib" "-L" "/usr/local/opt/llvm/lib/c++" "-L" "/usr/local/opt/llvm/lib/unwind" "-o" "/private/tmp/rust-20260305-60252-bwj099/rustc-1.93.1-src/build/x86_64-apple-darwin/stage1-rustc/x86_64-apple-darwin/release/deps/librustc_driver-80138b15a3088610.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-install_name" "-Wl,@rpath/librustc_driver-80138b15a3088610.dylib" "-nodefaultlibs" "-Wl,-rpath,@loader_path/../lib"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: Undefined symbols for architecture x86_64:
"std::__1::__libcpp_verbose_abort(char const*, ...)", referenced from:
__ZNSt3__120__throw_length_errorB8nn210108EPKc in librustc_codegen_llvm-0c022f111432115d.rlib(ef10e86dc40538c1-RustWrapper.o)
__ZSt28__throw_bad_array_new_lengthB8nn210108v in librustc_codegen_llvm-0c022f111432115d.rlib(ef10e86dc40538c1-RustWrapper.o)
__ZNSt3__125__throw_bad_function_callB8nn210108Ev in librustc_codegen_llvm-0c022f111432115d.rlib(ef10e86dc40538c1-PassWrapper.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `rustc_driver` (lib) due to 1 previous error
Operating system
macos 10.13.6, llvm@21 , lld 1.93.1 (01f6ddf75 2026-02-11)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing issue #153415 and the rustc_driver link failure in the Rust 1.93.1 build on macOS 10.13.6 with llvm@21. Focus on the undefined __libcpp_verbose_abort references from RustWrapper.o and PassWrapper.o. Done means the x86_64 rustc_driver link completes without these missing symbols.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100