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
--jemalloc-roothas description: “set directory where libjemalloc_pic.a is located”, but it actually expects full path of libjemalloc_pic.a, not a directory.
When I set --jemalloc-root=/usr/lib (and --enable-rustbuild), then build fails:
Running `/home/jirutjak/rust/build/bootstrap/debug/rustc src/liballoc_jemalloc/lib.rs --crate-name alloc_jemalloc --crate-type lib -C opt-level=2 -C metadata=fa1cd829f11122da -C extra-filename=-fa1cd829f11122da --out-dir /home/jirutjak/rust/build/x86_64-unknown-linux-musl/stage0-std/x86_64-unknown-linux-musl/release/deps --emit=dep-info,link --target x86_64-unknown-linux-musl -L dependency=/home/jirutjak/rust/build/x86_64-unknown-linux-musl/stage0-std/x86_64-unknown-linux-musl/release/deps -L dependency=/home/jirutjak/rust/build/x86_64-unknown-linux-musl/stage0-std/x86_64-unknown-linux-musl/release/deps --extern core=/home/jirutjak/rust/build/x86_64-unknown-linux-musl/stage0-std/x86_64-unknown-linux-musl/release/deps/libcore-eccf49d39f88a622.rlib --extern libc=/home/jirutjak/rust/build/x86_64-unknown-linux-musl/stage0-std/x86_64-unknown-linux-musl/release/deps/liblibc-5aeeadd0596ef5a0.rlib -L native=/usr --cfg cargobuild -l dylib=`
Fresh panic_unwind v0.0.0 (file:///home/jirutjak/rust/src/libpanic_unwind)
error: empty library name given via `-l`
error: aborting due to previous error
error: Could not compile `alloc_jemalloc`.
--jemalloc-root
has description: “set directory where libjemalloc_pic.a is located”, but it actually expects full path oflibjemalloc_pic.a
, not a directory.When I set
--jemalloc-root=/usr/lib
(and --enable-rustbuild), then build fails:The problem is in src/liballoc_jemalloc/build.rs:30.
It works fine with
--jemalloc-root=/usr/lib/libjemalloc_pic.a
.The text was updated successfully, but these errors were encountered: