Open
Description
Hello! Thank you for the great tool.
I am cross-compiling ruff 0.5.3 on Ubuntu 20.04 against x86_64-apple-darwin
target using cargo-zigbuild. Other targets are fine, but for this one I got an error like this:
= note: error: duplicate symbol definition: _malloc_printf
note: defined by /opt/zig/lib/libc/darwin/libSystem.tbd
note: defined by /tmp/rustcmNzciC/libtikv_jemalloc_sys-d0b27344258bf71e.rlib(malloc_io.pic.o)
error: could not compile `ruff` (bin "ruff") due to 1 previous error
Full trace here https://gist.github.com/serjflint/2e67f06207383c3fbddf97798dd103f8
Last time I was building ruff 0.3.4 (with tikv-jemallocator = { version = "0.5.0" }
) about 4 months ago and it was working.My Mac OS SDK is about 1 year old.
The issue is probably related to the recent bump of tikv-jemallocator to "0.6.0"
It is not issue with ruff per se, just heads up.
I've filed issues tikv/jemallocator#97 and ziglang/zig#20694