-
-
Notifications
You must be signed in to change notification settings - Fork 100
Description
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.
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