You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
Do you have an idea how to better solve this issue?
I found a similar one #81 and created one for zig ziglang/zig#20694
The text was updated successfully, but these errors were encountered:
Perhaps you can also try to build with zig 0.13.0 and tikv-jemalloc 0.5.0. I'm not familiar with Zig, it's possible a new release zig brings new symbols in libSystem.tbd.
Hello! Thank you for the great library.
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: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.
Do you have an idea how to better solve this issue?
I found a similar one #81 and created one for zig ziglang/zig#20694
The text was updated successfully, but these errors were encountered: