From 336aa3c332067ad7109a60a1276ce7a8f193ed0e Mon Sep 17 00:00:00 2001 From: Jonathan Marler Date: Sat, 29 Jan 2022 15:36:02 -0700 Subject: [PATCH] remove __muloti4 from libc++ fixes https://github.com/ziglang/zig/issues/10719 compiler_rt already provides __muloti4 but libc++ is also providing it and when linking libc++ it causes a crash on my windows x86_64 machine. --- src/libcxx.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libcxx.zig b/src/libcxx.zig index 14ef2a7b04..b2974e24c9 100644 --- a/src/libcxx.zig +++ b/src/libcxx.zig @@ -43,7 +43,9 @@ const libcxx_files = [_][]const u8{ "src/exception.cpp", "src/experimental/memory_resource.cpp", "src/filesystem/directory_iterator.cpp", - "src/filesystem/int128_builtins.cpp", + // omit int128_builtins.cpp because it provides __muloti4 which is already provided + // by compiler_rt and crashes on Windows x86_64: https://github.com/ziglang/zig/issues/10719 + //"src/filesystem/int128_builtins.cpp", "src/filesystem/operations.cpp", "src/format.cpp", "src/functional.cpp",