Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

x86_64-linux-musl #208

@BearzRobotics

Description

@BearzRobotics

Building against the latest git clone in the final step of installing zig it errors out with undefined symbols. I don't understand how it can build all three stages and then on the finial step error out.

For context I'm on chimera linux which is a clang/musl based distro.

zbuild_02_UP.log

Attached is the full log of the build. There are 61 errors along this line.

[ 94%] Built target zig2
[100%] Building stage3
install
+- install zig
+- zig build-exe zig ReleaseFast native 61 errors
error: ld.lld: undefined symbol: operator new(unsigned long, std::align_val_t)
note: referenced by MemAlloc.cpp
note: MemAlloc.cpp.o:(llvm::allocate_buffer(unsigned long, unsigned long)) in archive /data/git/zig-bootstrap/out/host/lib/libLLVMSupport.a
error: ld.lld: undefined symbol: operator delete(void*, unsigned long, std::align_val_t)
note: referenced by MemAlloc.cpp
note: MemAlloc.cpp.o:(llvm::deallocate_buffer(void*, unsigned long, unsigned long)) in archive /data/git/zig-bootstrap/out/host/lib/libLLVMSupport.a
error: ld.lld: undefined symbol: operator new[](unsigned long)
note: referenced by raw_ostream.cpp
note: raw_ostream.cpp.o:(llvm::raw_ostream::SetBuffered()) in archive /data/git/zig-bootstrap/out/host/lib/libLLVMSupport.a
note: referenced by ios.instantiations.cpp.o:(std::__1::basic_filebuf<char, std::__1::char_traits>::setbuf(char*, long)) in archive /usr/lib64/libc++.a
note: referenced by ios.instantiations.cpp.o:(std::__1::basic_filebuf<char, std::__1::char_traits>::setbuf(char*, long)) in archive /usr/lib64/libc++.a
note: referenced 572 more times
error: ld.lld: undefined symbol: operator delete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions