Skip to content

rust-1.93 build failure due to "symbol(s) not found for architecture x86_64 std::__1::__libcpp_verbose_abort " #153455

@xlla

Description

@xlla

Summary

As there is no clue to resolve issue #153415 , I decide to take a try for next new rust version 1.93.1 (01f6ddf 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 (01f6ddf 2026-02-11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions