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

compiling error #1

Open
jianshu93 opened this issue Jan 8, 2022 · 0 comments
Open

compiling error #1

jianshu93 opened this issue Jan 8, 2022 · 0 comments

Comments

@jianshu93
Copy link

Hello Any idea?

warning: src/c/annoylib.h(900): remark #15009: _ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(1119): remark #15009: _ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12get_distanceEii has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(1342): remark #15009: _ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(462): remark #15009: _ZN7Angular8distanceIifEET0_PKNS_4NodeIT_S1_EES6_i has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(1239): remark #15009: ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2 has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(365): remark #15009: ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7 has been targeted for automatic cpu dispatch
error: linking with cc failed: exit status: 1
|
= note: "cc" "-m64" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.0.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.1.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.10.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.11.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.12.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.13.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.14.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.15.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.2.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.3.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.4.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.5.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.6.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.7.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.8.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.mnist.3402cdb3-cgu.9.rcgu.o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1.3zphl3ye1k7xes0x.rcgu.o" "-Wl,--as-needed" "-L" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps" "-L" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/build/rannoy-5caf4352a7111541/out" "-L" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librulinalg-7a7dcf34bcd6ab9e.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libmatrixmultiply-ff4f5ca6f6a8e14d.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librawpointer-6794448bafb7f6f3.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libnum-3e1f29e134446192.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libnum_iter-59761f5c819269b1.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libnum_integer-9b6133e5b2537234.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libnum_traits-568a30e5b6f1a797.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librand-8fa0b02e3b47bc33.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librand_chacha-d57739582f5a72b2.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libc2_chacha-86c5cedd3a069980.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libppv_lite86-e8d269eaa77c27ac.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librand_core-bb89955ce8784ce9.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libgetrandom-35656125273283a3.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/liblibc-1f5d2f87a54b4715.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libcfg_if-ecbcf349e8423669.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libmnist-0480bea178a60b3f.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/libbyteorder-1ea7ab9345108320.rlib" "-Wl,--start-group" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c46e4336da0ba77b.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9cb5ef8235cf10de.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c94e3d0069d19330.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-5a532766d1e80b5b.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-d08f0c83526179dc.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d995c6cafdb3d253.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-02ebc04a72bd9433.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-5cbc32ae14534ca9.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-969ebc8623abfcc9.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7f98f837d3579544.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b96a8aea2dd7bf12.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c7b2792f3bc0d0eb.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-7558dde8464d46ce.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b3d84848ab790cf7.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f48e57d6d73020ee.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ffaac76756e3f83b.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f98cce041f593917.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/examples/mnist-217efbc3a2c895e1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
= note: /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function annoy_get_nns_by_vector': binding.cc:(.text.annoy_get_nns_by_vector+0x6a): undefined reference to _intel_fast_memmove'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::add_item(int, float const*, char**)': binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc[_ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc]+0xe): undefined reference to __intel_cpu_feature_indicator'
binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc[_ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc]+0x37): undefined reference to __intel_cpu_features_init' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::add_item(int, float const*, char**) [clone .h]':
binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc.h+0xb4): undefined reference to _intel_fast_memcpy' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc.h+0x454): undefined reference to _intel_fast_memset'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function _ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc.A': binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc.A+0xbc): undefined reference to _intel_fast_memcpy'
binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc.A+0x399): undefined reference to _intel_fast_memset' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::build(int, int, char**)':
binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE5buildEiiPPc[_ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE5buildEiiPPc]+0x17d): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE5buildEiiPPc[_ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE5buildEiiPPc]+0x347): undefined reference to _intel_fast_memmove'
binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE5buildEiiPPc[_ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE5buildEiiPPc]+0x44f): undefined reference to _intel_fast_memcpy' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE5buildEiiPPc[_ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE5buildEiiPPc]+0x63f): undefined reference to _intel_fast_memset'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::load(char const*, bool, char**)': binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE4loadEPKcbPPc[_ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE4loadEPKcbPPc]+0x28a): undefined reference to _intel_fast_memmove'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::get_distance(int, int) const': binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12get_distanceEii[_ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12get_distanceEii]+0xe): undefined reference to __intel_cpu_feature_indicator'
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12get_distanceEii[_ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12get_distanceEii]+0x36): undefined reference to __intel_cpu_features_init' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::_get_all_nns(float const*, unsigned long, int, std::vector<int, std::allocator >, std::vector<float, std::allocator >) const':
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE[_ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE]+0x14): undefined reference to __intel_cpu_feature_indicator' binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE[_ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE]+0x48): undefined reference to __intel_cpu_features_init'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::_get_all_nns(float const*, unsigned long, int, std::vector<int, std::allocator<int> >*, std::vector<float, std::allocator<float> >*) const [clone .h]': binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.h+0x6a): undefined reference to _intel_fast_memcpy'
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.h+0x59c): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.h+0x5e3): undefined reference to _intel_fast_memmove'
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.h+0x606): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.h+0x64b): undefined reference to _intel_fast_memmove'
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.h+0x68c): undefined reference to _intel_fast_memmove' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o):binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.h+0x6e3): more undefined references to _intel_fast_memmove' follow
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function _ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.A': binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.A+0x6a): undefined reference to _intel_fast_memcpy'
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.A+0x4ec): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.A+0x533): undefined reference to _intel_fast_memmove'
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.A+0x556): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.A+0x59b): undefined reference to _intel_fast_memmove'
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.A+0x5dc): undefined reference to _intel_fast_memmove' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o):binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE.A+0x633): more undefined references to _intel_fast_memmove' follow
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function float Angular::distance<int, float>(Angular::Node<int, float> const*, Angular::Node<int, float> const*, int)': binding.cc:(.text._ZN7Angular8distanceIifEET0_PKNS_4NodeIT_S1_EES6_i[_ZN7Angular8distanceIifEET0_PKNS_4NodeIT_S1_EES6_i]+0xe): undefined reference to __intel_cpu_feature_indicator'
binding.cc:(.text._ZN7Angular8distanceIifEET0_PKNS_4NodeIT_S1_EES6_i[_ZN7Angular8distanceIifEET0_PKNS_4NodeIT_S1_EES6_i]+0x36): undefined reference to __intel_cpu_features_init' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::get_item(int, float*) const':
binding.cc:(.text._ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8get_itemEiPf[_ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8get_itemEiPf]+0x21): undefined reference to _intel_fast_memcpy' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::_make_tree(std::vector<int, std::allocator > const&, bool, Kiss64Random&, AnnoyIndexSingleThreadedBuildPolicy&)':
binding.cc:(.text.ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2[ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2]+0x10): undefined reference to __intel_cpu_feature_indicator' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_[_ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_]+0x3c): undefined reference to __intel_cpu_features_init'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function AnnoyIndex<int, float, Angular, Kiss64Random, AnnoyIndexSingleThreadedBuildPolicy>::_make_tree(std::vector<int, std::allocator<int> > const&, bool, Kiss64Random&, AnnoyIndexSingleThreadedBuildPolicy&) [clone .h]': binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.h+0x178): undefined reference to _intel_fast_memmove'
binding.cc:(.text.ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2.h+0xa1d): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.h+0xbf9): undefined reference to _intel_fast_memset'
binding.cc:(.text.ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2.h+0xe46): undefined reference to _intel_fast_memcpy' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.h+0xf62): undefined reference to _intel_fast_memset'
binding.cc:(.text.ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2.h+0x1276): undefined reference to _intel_fast_memcpy' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.h+0x135c): undefined reference to _intel_fast_memset'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function _ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.A': binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.A+0x178): undefined reference to _intel_fast_memmove'
binding.cc:(.text.ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2.A+0x84b): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.A+0xa60): undefined reference to _intel_fast_memset'
binding.cc:(.text.ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2.A+0xccd): undefined reference to _intel_fast_memcpy' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.A+0xdf7): undefined reference to _intel_fast_memset'
binding.cc:(.text.ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2.A+0x10bb): undefined reference to _intel_fast_memcpy' binding.cc:(.text._ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2_.A+0x11a3): undefined reference to _intel_fast_memset'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function void (anonymous namespace)::two_means<float, Kiss64Random, Angular, Angular::Node<int, float> >(std::vector<Angular::Node<int, float>*, std::allocator<Angular::Node<int, float>*> > const&, int, Kiss64Random&, bool, Angular::Node<int, float>*, Angular::Node<int, float>*)': binding.cc:(.text._ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7_+0x14): undefined reference to __intel_cpu_feature_indicator'
binding.cc:(.text.ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7+0x48): undefined reference to __intel_cpu_features_init' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function void (anonymous namespace)::two_means<float, Kiss64Random, Angular, Angular::Node<int, float> >(std::vector<Angular::Node<int, float>, std::allocator<Angular::Node<int, float>> > const&, int, Kiss64Random&, bool, Angular::Node<int, float>, Angular::Node<int, float>) [clone .h]':
binding.cc:(.text.ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7.h+0x148): undefined reference to _intel_fast_memcpy' binding.cc:(.text._ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7_.h+0x17a): undefined reference to _intel_fast_memcpy'
/storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function _ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7_.A': binding.cc:(.text._ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7_.A+0x14b): undefined reference to _intel_fast_memcpy'
binding.cc:(.text.ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7.A+0x17f): undefined reference to _intel_fast_memcpy' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o): In function void std::vector<int, std::allocator >::_M_range_insert<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator > > >(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator > >, std::forward_iterator_tag)':
binding.cc:(.text._ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag[_ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag]+0x86): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag[_ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag]+0xb7): undefined reference to _intel_fast_memmove'
binding.cc:(.text._ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag[_ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag]+0xce): undefined reference to _intel_fast_memmove' binding.cc:(.text._ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag[_ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag]+0xfd): undefined reference to _intel_fast_memmove'
binding.cc:(.text._ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag[_ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag]+0x12d): undefined reference to _intel_fast_memmove' /storage/coda1/p-ktk3/0/jzhao399/rich_project_bio-konstantinidis/apps/rannoy/target/release/deps/librannoy-c0b07dba5d4583e5.rlib(binding.o):binding.cc:(.text._ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag[_ZNSt6vectorIiSaIiEE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPiS1_EEEEvS6_T_S7_St20forward_iterator_tag]+0x154): more undefined references to _intel_fast_memmove' follow
collect2: error: ld returned 1 exit status

= help: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

The following warnings were emitted during compilation:

warning: src/c/annoylib.h(900): remark #15009: _ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE8add_itemEiPKfPPc has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(1119): remark #15009: _ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12get_distanceEii has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(1342): remark #15009: _ZNK10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE12_get_all_nnsEPKfmiPSt6vectorIiSaIiEEPS6_IfSaIfEE has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(462): remark #15009: _ZN7Angular8distanceIifEET0_PKNS_4NodeIT_S1_EES6_i has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(1239): remark #15009: ZN10AnnoyIndexIif7Angular12Kiss64Random35AnnoyIndexSingleThreadedBuildPolicyE10_make_treeERKSt6vectorIiSaIiEEbRS1_RS2 has been targeted for automatic cpu dispatch
warning: src/c/annoylib.h(365): remark #15009: ZN12_GLOBAL__N_19two_meansIf12Kiss64Random7AngularNS2_4NodeIifEEEEvRKSt6vectorIPT2_SaIS7_EEiRT0_bS7_S7 has been targeted for automatic cpu dispatch

error: could not compile rannoy due to previous error

Thanks,

Jianshu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant