Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on Mac M1 #707

Closed
kbwo opened this issue Jun 7, 2021 · 3 comments
Closed

Cannot build on Mac M1 #707

kbwo opened this issue Jun 7, 2021 · 3 comments
Labels
bug Something isn't working macOS

Comments

@kbwo
Copy link

kbwo commented Jun 7, 2021

Environment (please complete the following information):

  • OS: mac OS big sur (m1 macbook air)
  • (Neo)Vim version: NeoVim v0.4.4

Describe the bug
I have already installed cargo.
When I execute ":Clap install-binary" command, this error occured.

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-arch" "arm64" "-L" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch
_rs.3dr6rezh-cgu.0.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.1.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/dep
s/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.10.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.11.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzz
ymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.12.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.13.rcgu.o" "/Users/kbwo/.vim/plugge
d/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.14.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.15.rcgu
.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.2.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzyma
tch_rs.3dr6rezh-cgu.3.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.4.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/
deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.5.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.6.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuz
zymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.7.rcgu.o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.8.rcgu.o" "/Users/kbwo/.vim/plugged
/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.9.rcgu.o" "-o" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libfuzzymatch_rs.dylib" "-Wl,-exported_symbol
s_list,/var/folders/rn/xt6w16kj6hs2r3gyl9h029br0000gn/T/rustcqyBzxs/list" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/fuzzymatch_rs.3o5yzc2g4zew38ao.rcgu.o" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib"
"-nodefaultlibs" "-L" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps" "-L" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/kbwo/.vim/plugged/vim-cl
ap/pythonx/clap/fuzzymatch-rs/target/release/deps/libfilter-0673ad4a1fbc8433.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libprinter-9d75360a9765d204.rlib" "/Users/kbwo/.vim/plugged/vim-clap/python
x/clap/fuzzymatch-rs/target/release/deps/libserde_json-86fe7d0114f6eaf3.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libryu-1b1d512b797fa6bd.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fu
zzymatch-rs/target/release/deps/libitoa-e9dc458c58df3f53.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libserde-95a8f5dcb80b80ec.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/t
arget/release/deps/libutility-7b13d4ffb0c30414.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libsimdutf8-9ce089269686fd59.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/r
elease/deps/libanyhow-e72c931496c360c8.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libmatcher-5fe115db5521eb87.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/de
ps/libextracted_fzy-621d13e9f27e3796.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libfuzzy_matcher-48a7e6a51e038603.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/releas
e/deps/libsource_item-06b5baa1d41aed3a.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libicon-042f4fdee41dd0f4.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/
libpattern-57bb5134045b7a05.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libregex-ab5b362491f43425.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libthread_
local-8c8da847a5832bca.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libregex_syntax-6c52501dc29bf7bf.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libaho_c
orasick-c59a8a47887424c9.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libmemchr-4aa1852ea81a37a5.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libonce_cell
-a836c66163e77f6a.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/liblog-e602c951079eda2d.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libstructopt-d40f84ba4
9a4f488.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libclap-88f79a632405d6c7.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libvec_map-6854adef8190bf75.rli
b" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libtextwrap-a20d2414ccca99dc.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libunicode_width-7a014f37b9fae1db.rlib
" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libstrsim-cc1bb443dca7644c.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libbitflags-8ff2f466552f950d.rlib" "/User
s/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libatty-2c23e1346a197421.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libansi_term-0214f1ba6224799e.rlib" "/Users/kbwo/.v
im/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/librayon-224e71d5c7072bc7.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/librayon_core-887daaba97055803.rlib" "/Users/kbwo/.vim/plug
ged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libnum_cpus-078df88a8d9e27ed.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libcrossbeam_deque-40cbdc6affa611d4.rlib" "/Users/kbwo/.vim/plu
gged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libcrossbeam_epoch-ecec0d96eda9ced1.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libmemoffset-be998152de88f36c.rlib" "/Users/kbwo/.vim/p
lugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libcrossbeam_channel-711bcb4f1d1beac8.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libcrossbeam_utils-4168be600d5fee2f.rlib" "/Users/k
bwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/liblazy_static-94a79e213b27f5e5.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libeither-2cc2c44bfe1c6961.rlib" "/Users/kbwo/.
vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libpyo3-1df4557b5142dc97.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libcfg_if-4bc630cac91c37dd.rlib" "/Users/kbwo/.vim/plugged/
vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libparking_lot-86c4c679cf671706.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libparking_lot_core-f394e424f3068973.rlib" "/Users/kbwo/.vim/plu
gged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libsmallvec-90b738d0f3cba18d.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libcfg_if-1fed35c49f4be568.rlib" "/Users/kbwo/.vim/plugged/vim
-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/liblock_api-460160879a3f9b8e.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libscopeguard-ecdf997ecd2653e2.rlib" "/Users/kbwo/.vim/plugged/vim-cla
p/pythonx/clap/fuzzymatch-rs/target/release/deps/libinstant-dc732756461b3a21.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/liblibc-d295e657bcbc514b.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/c
lap/fuzzymatch-rs/target/release/deps/libunindent-17daa767d24b2e40.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libpaste-ef85ce41d58658c9.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzy
match-rs/target/release/deps/libinventory-998a664a2130d285.rlib" "/Users/kbwo/.vim/plugged/vim-clap/pythonx/clap/fuzzymatch-rs/target/release/deps/libindoc-0606d6f1a8222480.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/l
ib/rustlib/aarch64-apple-darwin/lib/libstd-a77d2ee571f558e4.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-b9303f5dcd4c8d61.rlib" "/Users/kbwo/.rustup/toolchains/stable
-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-ae5454bb02d34cb7.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-074193e7ccb12f2d.rlib" "/Users/kbwo/.r
ustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-ba7e4c687a24d092.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-592dc2260cf
64a27.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-95abce77d407cda5.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/li
b/librustc_std_workspace_alloc-6d0f3b01c36286cc.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-07ad8f4801703872.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-dar
win/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-e33a663a2dcce97d.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-d02e2e94e82428e3.rlib" "/Users/kbwo/.rustup/toolchains/stable
-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-9911d63dc36d4937.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-f2cc3399f2e93551.rlib" "
/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-e12e04ef43bf5ffa.rlib" "/Users/kbwo/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_buil
tins-d8b74547953a18ba.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv"
  = note: Undefined symbols for architecture arm64:
            "_PyUnicodeDecodeError_Create", referenced from:
                pyo3::exceptions::PyUnicodeDecodeError::new_utf8::h78c7ac51ce89e864 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.0.rcgu.o)
            "_PyModule_GetName", referenced from:
                pyo3::types::function::PyCFunction::internal_new::h6eb3849700c7af9a in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.1.rcgu.o)
            "_PyErr_GivenExceptionMatches", referenced from:
                pyo3::types::module::PyModule::index::hc7232a9fbe272946 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.9.rcgu.o)
            "_PyDict_Size", referenced from:
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
                pyo3::types::dict::PyDict::len::h54fb31302f2c0108 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.15.rcgu.o)
            "_PyGILState_Release", referenced from:
                _$LT$pyo3..gil..GILGuard$u20$as$u20$core..ops..drop..Drop$GT$::drop::h0df424e676dfd914 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.12.rcgu.o)
            "_PyDict_New", referenced from:
                pyo3::types::dict::PyDict::new::h80f09a2627b11ed8 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.15.rcgu.o)
            "_Py_IsInitialized", referenced from:
                parking_lot::once::Once::call_once_force::_$u7b$$u7b$closure$u7d$$u7d$::hd9b2672264bf304a in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.12.rcgu.o)
                core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h99697612cf7f22e1 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.12.rcgu.o)
            "__Py_Dealloc", referenced from:
                pyo3::conversion::ToBorrowedObject::with_borrowed_ptr::h99e3fa1f8d5a5480 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.11.rcgu.o
                pyo3::conversion::ToBorrowedObject::with_borrowed_ptr::h3b7548ce7029b873 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.8.rcgu.o
                pyo3::types::module::PyModule::add_wrapped::hfe09470ea97b6469 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.9.rcgu.o
                pyo3::types::module::PyModule::add::h5c9f4e3488683a64 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.9.rcgu.o
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
                pyo3::gil::ReferencePool::update_counts::h3e2028f6672e49f6 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.12.rcgu.o)
                _$LT$pyo3..gil..GILPool$u20$as$u20$core..ops..drop..Drop$GT$::drop::h5de1ebbf959f855b in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.12.rcgu.o)
                ...
            "_PyIter_Next", referenced from:
                _$LT$$RF$pyo3..types..iterator..PyIterator$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::he0c8931e2d48a95c in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.7.rcgu.o)
            "_PyErr_PrintEx", referenced from:
                pyo3::err::PyErr::print::h25898dbeb19cb280 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
            "_PyTuple_GetSlice", referenced from:
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
            "_PyExc_BaseException", referenced from:
                pyo3::err::PyErr::fetch::hbbf63e9e258f1139 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
                pyo3::panic::PanicException::type_object_raw::h71fefbf18beafab0 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.7.rcgu.o)
            "_PyCFunction_NewEx", referenced from:
                pyo3::types::function::PyCFunction::internal_new::h6eb3849700c7af9a in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.1.rcgu.o)
            "_PyGILState_Ensure", referenced from:
                pyo3::gil::GILGuard::acquire::h82881bbdda9e70f3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.12.rcgu.o)
            "_PyObject_Str", referenced from:
                pyo3::derive_utils::argument_extraction_error::hf883dec926c6b792 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
                _$LT$pyo3..types..any..PyAny$u20$as$u20$core..fmt..Display$GT$::fmt::hb7fa7b87105c5702 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
            "_PyErr_Print", referenced from:
                pyo3::err::panic_after_error::hfe5c48c66750bd20 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
            "_PyList_Append", referenced from:
                pyo3::types::module::PyModule::add_wrapped::hfe09470ea97b6469 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.9.rcgu.o
                pyo3::types::module::PyModule::add::h5c9f4e3488683a64 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.9.rcgu.o
            "_PyDict_GetItem", referenced from:
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
            "_PyExc_TypeError", referenced from:
                pyo3::err::PyErr::new::h0f6f2387926c1bb1 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.7.rcgu.o
                pyo3::err::PyErr::new::h4886d6315bd7d4d0 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.7.rcgu.o
                pyo3::derive_utils::argument_extraction_error::hf883dec926c6b792 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
                pyo3::err::PyErr::new::h6124e5eeec3b2f9c in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
                pyo3::err::PyErr::new::h797525e5aa90861b in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
                pyo3::err::PyErr::from_type::h35cdf83d78cef458 (.llvm.15974776690092918725) in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
                pyo3::types::module::PyModule::str_from_ptr::h993a109e00d316da (.llvm.11261058459372022108) in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.9.rcgu.o)
                ...
            "_PyErr_NewException", referenced from:
                pyo3::err::PyErr::new_type::hc43755b5e12afb18 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
            "_PyDict_DelItem", referenced from:
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
            "_PySequence_Size", referenced from:
                pyo3::types::sequence::extract_sequence::h7ddd758a987c69e9 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.15.rcgu.o
            "_PyDict_Copy", referenced from:
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
            "_PyObject_GetAttr", referenced from:
                pyo3::types::module::PyModule::add_wrapped::hfe09470ea97b6469 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.9.rcgu.o
                pyo3::conversion::ToBorrowedObject::with_borrowed_ptr::hddf2d14517609f6f in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.1.rcgu.o)
            "_PyEval_ThreadsInitialized", referenced from:
                parking_lot::once::Once::call_once_force::_$u7b$$u7b$closure$u7d$$u7d$::hd9b2672264bf304a in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.12.rcgu.o)
                core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h99697612cf7f22e1 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.12.rcgu.o)
            "_PyErr_Occurred", referenced from:
                _$LT$$RF$pyo3..types..iterator..PyIterator$u20$as$u20$core..iter..traits..iterator..Iterator$GT$::next::he0c8931e2d48a95c in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.7.rcgu.o)
            "_PyErr_Fetch", referenced from:
                pyo3::err::PyErr::fetch::hbbf63e9e258f1139 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
            "_PyUnicode_AsUTF8AndSize", referenced from:
                pyo3::types::string::_$LT$impl$u20$pyo3..conversion..FromPyObject$u20$for$u20$alloc..string..String$GT$::extract::h5b1301a0760e5646 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.3.rcgu.o)
                pyo3::types::any::PyAny::extract::hfd42a15b909884fd in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
                pyo3::types::string::PyString::to_string_lossy::he4e44f4ea76ca7df in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
                pyo3::types::string::_$LT$impl$u20$pyo3..conversion..FromPyObject$u20$for$u20$$RF$str$GT$::extract::h9f80a23e2952e41c in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
            "_PyObject_SetAttr", referenced from:
                pyo3::conversion::ToBorrowedObject::with_borrowed_ptr::h3b7548ce7029b873 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.8.rcgu.o
                pyo3::conversion::ToBorrowedObject::with_borrowed_ptr::heb720c525ed8ec71 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.1.rcgu.o)
            "_PyExc_SystemError", referenced from:
                pyo3::err::PyErr::new::h6124e5eeec3b2f9c in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
                pyo3::err::PyErr::normalized::h2dfbda38ed29d928 (.llvm.15974776690092918725) in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
            "_PyList_New", referenced from:
                _$LT$T$u20$as$u20$pyo3..callback..IntoPyCallbackOutput$LT$$BP$mut$u20$pyo3..ffi..object..PyObject$GT$$GT$::convert::h72c7af46cab25410 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.3.rcgu.o
                pyo3::types::module::PyModule::index::hc7232a9fbe272946 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.9.rcgu.o)
            "_PyErr_NormalizeException", referenced from:
                pyo3::err::PyErr::normalized::h2dfbda38ed29d928 (.llvm.15974776690092918725) in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
            "_PyTuple_New", referenced from:
                _$LT$T$u20$as$u20$pyo3..callback..IntoPyCallbackOutput$LT$$BP$mut$u20$pyo3..ffi..object..PyObject$GT$$GT$::convert::h72c7af46cab25410 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.3.rcgu.o
                core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h591d044e879ee229 (.llvm.11193802075519699523) in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.8.rcgu.o
                core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h91b9c0b5626bf100 (.llvm.11193802075519699523) in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.8.rcgu.o
            "_PyList_SetItem", referenced from:
                _$LT$T$u20$as$u20$pyo3..callback..IntoPyCallbackOutput$LT$$BP$mut$u20$pyo3..ffi..object..PyObject$GT$$GT$::convert::h72c7af46cab25410 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.3.rcgu.o
            "_PyBytes_AsString", referenced from:
                pyo3::types::string::PyString::to_string_lossy::he4e44f4ea76ca7df in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
            "_PyErr_Restore", referenced from:
                fuzzymatch_rs::__pyo3_raw_fuzzy_match::h3ba72c790bc9f4bc (.llvm.11045170651038897617) in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.4.rcgu.o
                _PyInit_fuzzymatch_rs in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.4.rcgu.o
                pyo3::err::PyErr::print::h25898dbeb19cb280 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.5.rcgu.o)
            "_PySequence_Check", referenced from:
                pyo3::types::sequence::extract_sequence::h7ddd758a987c69e9 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.15.rcgu.o
            "_PyTuple_GetItem", referenced from:
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
            "_PyUnicode_FromStringAndSize", referenced from:
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
                pyo3::derive_utils::argument_extraction_error::hf883dec926c6b792 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
                pyo3::types::string::_$LT$impl$u20$pyo3..conversion..IntoPy$LT$pyo3..instance..Py$LT$pyo3..types..any..PyAny$GT$$GT$$u20$for$u20$alloc..string..String$GT$::into_py::h07537173c834a779 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df
4557b5142dc97.pyo3.189q38ip-cgu.3.rcgu.o)
                core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::ha64c84c296de756b (.llvm.12852399804659238266) in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.7.rcgu.o)
                core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::had1b8302798dae31 (.llvm.12852399804659238266) in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.7.rcgu.o)
                pyo3::types::string::PyString::new::h59928cfa8956f2d2 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
                pyo3::conversion::ToBorrowedObject::with_borrowed_ptr::hddf2d14517609f6f in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.1.rcgu.o)
                ...
            "_PyTuple_SetItem", referenced from:
                _$LT$T$u20$as$u20$pyo3..callback..IntoPyCallbackOutput$LT$$BP$mut$u20$pyo3..ffi..object..PyObject$GT$$GT$::convert::h72c7af46cab25410 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.3.rcgu.o
                core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h591d044e879ee229 (.llvm.11193802075519699523) in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.8.rcgu.o
                core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h91b9c0b5626bf100 (.llvm.11193802075519699523) in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.8.rcgu.o
            "_PyLong_FromUnsignedLongLong", referenced from:
                pyo3::types::num::_$LT$impl$u20$pyo3..conversion..IntoPy$LT$pyo3..instance..Py$LT$pyo3..types..any..PyAny$GT$$GT$$u20$for$u20$usize$GT$::into_py::h0e893b5925864acd in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.
189q38ip-cgu.7.rcgu.o)
            "_PyModule_Create2", referenced from:
                pyo3::derive_utils::ModuleDef::make_module::ha0837b96f7221866 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.13.rcgu.o
            "_PyUnicode_AsEncodedString", referenced from:
                pyo3::types::string::PyString::to_string_lossy::he4e44f4ea76ca7df in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
            "_PyDict_SetItem", referenced from:
                pyo3::conversion::ToBorrowedObject::with_borrowed_ptr::h99e3fa1f8d5a5480 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.11.rcgu.o
            "_PyObject_Repr", referenced from:
                _$LT$pyo3..types..any..PyAny$u20$as$u20$core..fmt..Debug$GT$::fmt::h028c8c95f0d75e6d in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
                _$LT$pyo3..exceptions..PyIOError$u20$as$u20$core..fmt..Debug$GT$::fmt::h20a29a30c81795fd in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.0.rcgu.o)
                _$LT$pyo3..types..typeobject..PyType$u20$as$u20$core..fmt..Debug$GT$::fmt::h775ba8dc64cb9dbd in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.10.rcgu.o)
            "_PyTuple_Size", referenced from:
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
            "_PyObject_GetIter", referenced from:
                pyo3::types::any::PyAny::iter::hc3b157c329d1a24d in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
            "_PyDict_Next", referenced from:
                pyo3::types::dict::_$LT$impl$u20$pyo3..conversion..FromPyObject$u20$for$u20$std..collections..hash..map..HashMap$LT$K$C$V$C$S$GT$$GT$::extract::hb4dceac763615fa3 in fuzzymatch_rs.fuzzymatch_rs.3dr6rezh-cgu.7.rcgu.o
                pyo3::derive_utils::parse_fn_args::h84dd7f23cefdb1c3 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.8.rcgu.o)
            "_PyExc_AttributeError", referenced from:
                pyo3::types::module::PyModule::index::hc7232a9fbe272946 in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.9.rcgu.o)
            "_PyBytes_Size", referenced from:
                pyo3::types::string::PyString::to_string_lossy::he4e44f4ea76ca7df in libpyo3-1df4557b5142dc97.rlib(pyo3-1df4557b5142dc97.pyo3.189q38ip-cgu.4.rcgu.o)
          ld: symbol(s) not found for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)


error: aborting due to previous error

error: could not compile `fuzzymatch-rs`

Is there any solution?
I have already tried 'xcode-select --install' and 'xcode-select --reset', but not working.

@kbwo kbwo added the bug Something isn't working label Jun 7, 2021
@liuchengxu
Copy link
Owner

Py03 seemingly failed to compiled on M1. You can use compile the Rust binary and ignore the Python dynamic module, just run cargo build --release under the vim-clap directory.

@liuchengxu
Copy link
Owner

With the latest patch, everything should be ok now. Ref PyO3/pyo3#1330

@kbwo
Copy link
Author

kbwo commented Jun 8, 2021

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS
Projects
None yet
Development

No branches or pull requests

2 participants