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
While running cargo install espup, I have a bug at compilation time.
I suspect that it is due to the fact I am on a ARM Mac M1.
Here is the error:
= note: ld: warning: ignoring file /opt/homebrew/Cellar/xz/5.4.4/lib/liblzma.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
"_lzma_code", referenced from:
_$LT$xz2..bufread..XzDecoder$LT$R$GT$$u20$as$u20$std..io..Read$GT$::read::h0cf12baeac3eea91 in espup-d3739f70c9711ea7.espup-6e07ce6c45161945.espup.1576fe4529cab319-cgu.15.rcgu.o.rcgu.o
"_lzma_end", referenced from:
core::ptr::drop_in_place$LT$tar..archive..Archive$LT$xz2..read..XzDecoder$LT$$RF$$u5b$u8$u5d$$GT$$GT$$GT$::hef792c4607495d10 in espup-d3739f70c9711ea7.espup-6e07ce6c45161945.espup.1576fe4529cab319-cgu.00.rcgu.o.rcgu.o
core::ptr::drop_in_place$LT$tar..archive..Archive$LT$xz2..read..XzDecoder$LT$$RF$$u5b$u8$u5d$$GT$$GT$$GT$::hef792c4607495d10 in espup-d3739f70c9711ea7.espup-6e07ce6c45161945.espup.1576fe4529cab319-cgu.02.rcgu.o.rcgu.o
core::ptr::drop_in_place$LT$tar..archive..Archive$LT$xz2..read..XzDecoder$LT$$RF$$u5b$u8$u5d$$GT$$GT$$GT$::hef792c4607495d10 in espup-d3739f70c9711ea7.espup-6e07ce6c45161945.espup.1576fe4529cab319-cgu.12.rcgu.o.rcgu.o
core::ptr::drop_in_place$LT$xz2..read..XzDecoder$LT$$RF$$u5b$u8$u5d$$GT$$GT$::ha2e9c68d18256a65 (.llvm.4747039821596474401) in espup-d3739f70c9711ea7.espup-6e07ce6c45161945.espup.1576fe4529cab319-cgu.13.rcgu.o.rcgu.o
core::ptr::drop_in_place$LT$xz2..stream..Stream$GT$::hce3b6527b1e25e20 (.llvm.12690339763100604783) in espup-d3739f70c9711ea7.xz2-f0a1d1668fd3957c.xz2.aaba150174409dfe-cgu.1.rcgu.o.rcgu.o
xz2::stream::Stream::new_stream_decoder::h1d673b021f6a6278 in espup-d3739f70c9711ea7.xz2-f0a1d1668fd3957c.xz2.aaba150174409dfe-cgu.1.rcgu.o.rcgu.o
"_lzma_stream_decoder", referenced from:
xz2::stream::Stream::new_stream_decoder::h1d673b021f6a6278 in espup-d3739f70c9711ea7.xz2-f0a1d1668fd3957c.xz2.aaba150174409dfe-cgu.1.rcgu.o.rcgu.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `espup` (bin "espup") due to previous error
error: failed to compile `espup v0.5.0`, intermediate artifacts can be found at `/var/folders/ww/lc242p6n5b96bbzp12rwffk40000gn/T/cargo-installSam5Um`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
The text was updated successfully, but these errors were encountered:
Bug description
While running
cargo install espup
, I have a bug at compilation time.I suspect that it is due to the fact I am on a ARM Mac M1.
Here is the error:
The text was updated successfully, but these errors were encountered: