Closed
Description
🐛 Bug description
Lining failed while installation.
See the failure here:
Compiling wasm-pack v0.10.1
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-arch" "arm64" "/var/folders/xg/tcm76ljx07j4g2qc8h8k4mwr0000gn/T/cargo-installRJhOEb/release/deps/wasm_pack-165230815be70d50.wasm_pack.06767d3d-cgu.0.rcgu.o"
....
a lot more files here
....
"/Users/roba/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-7313ce3da41d0cb8.rlib" "/Users/roba/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-e5a12dd0c19af964.rlib" "-framework" "Security" "-framework" "CoreFoundation" "-lcurl" "-framework" "Security" "-lc" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/roba/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/var/folders/xg/tcm76ljx07j4g2qc8h8k4mwr0000gn/T/cargo-installRJhOEb/release/deps/wasm_pack-165230815be70d50" "-Wl,-dead_strip" "-nodefaultlibs"
= note: 0 0x102798224 __assert_rtn + 128
1 0x10279d7e8 ld::tool::OutputFile::addressAndTarget(ld::Internal const&, ld::Fixup const*, ld::Atom const**) (.cold.1) + 0
2 0x1026d7104 ld::tool::OutputFile::addressOf(ld::Internal const&, ld::Fixup const*, ld::Atom const**) + 252
3 0x1026d8dfc ld::tool::OutputFile::applyFixUps(ld::Internal&, unsigned long long, ld::Atom const*, unsigned char*) + 4004
4 0x1026dd540 ld::tool::OutputFile::writeAtoms(ld::Internal&, unsigned char*) + 356
5 0x1026d4fa4 ld::tool::OutputFile::writeOutputFile(ld::Internal&) + 408
6 0x1026cdadc ld::tool::OutputFile::write(ld::Internal&) + 216
7 0x10265b1d8 main + 584
A linker snapshot was created at:
/tmp/wasm_pack-165230815be70d50-2021-09-26-173240.ld-snapshot
ld: Assertion failed: (_mode == modeFinalAddress), function finalAddress, file ld.hpp, line 1190.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: failed to compile `wasm-pack v0.10.1`, intermediate artifacts can be found at `/var/folders/xg/tcm76ljx07j4g2qc8h8k4mwr0000gn/T/cargo-installRJhOEb`
Caused by:
could not compile `wasm-pack` due to previous error
👟 Steps to reproduce
Run the following command on a M1 Mac
cargo install was-pack
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: latest released on cargo
rustc version: rstable-aarch64-apple-darwin (default) - rustc 1.56.0 (09c42c458 2021-10-18)
Metadata
Metadata
Assignees
Labels
No labels