We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the device as follow: NVIDIA GeForce RTX 3080,ubuntu22.04,cuda_11.5
the detail of the problem as follow: (gavin) lucy@pop-os:~/test0710/rwkv.cpp$ cmake --build . --config Release Consolidate compiler generated dependencies of target ggml [ 75%] Built target ggml Consolidate compiler generated dependencies of target rwkv [ 78%] Built target rwkv Consolidate compiler generated dependencies of target test_ggml_basics [ 80%] Built target test_ggml_basics Consolidate compiler generated dependencies of target test_quantized_matmul_on_gpu [ 81%] Linking C executable ../bin/test_quantized_matmul_on_gpu /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_split_buffer_type_alloc_buffer(ggml_backend_buffer_type*, unsigned long)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x217): undefined reference to operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_cuda_log(ggml_log_level, char const*, ...)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x989): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa01): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_buffer_free_buffer(ggml_backend_buffer*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1399): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_split_buffer_free_buffer(ggml_backend_buffer*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1478): undefined reference to operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1497): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_free(ggml_backend*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x16e4): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x16f6): more undefined references to operator delete(void*)' follow /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_event_new(ggml_backend*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x212f): undefined reference to operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_buffer_type_alloc_buffer(ggml_backend_buffer_type*, unsigned long)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x21f1): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x22b8): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct(unsigned long, char)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2339): undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x238a): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_cuda_info()': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x276b): undefined reference to __cxa_guard_acquire' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2786): undefined reference to __cxa_guard_release' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_context::new_pool_for_device(int)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2a23): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2a8e): undefined reference to operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_host_buffer_type': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x4be2): undefined reference to __cxa_guard_acquire' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x4c34): undefined reference to __cxa_guard_release' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_buffer_type': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x53c9): undefined reference to operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x53fc): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct(unsigned long, char)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x5425): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x5444): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x54bd): undefined reference to std::__throw_system_error(int)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_cuda_mul_mat_id(ggml_backend_cuda_context&, ggml_tensor*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x899c): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x8ee4): undefined reference to operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x98ee): undefined reference to std::__throw_length_error(char const*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_init': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa271): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa313): undefined reference to std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct(unsigned long, char)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa3a4): undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa3f2): undefined reference to operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa4c6): undefined reference to operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_split_buffer_init_tensor(ggml_backend_buffer*, ggml_tensor*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb155): undefined reference to operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_split_buffer_type': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb7fb): undefined reference to __cxa_guard_acquire' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb857): undefined reference to __cxa_guard_release' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb88f): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb8fe): undefined reference to std::__throw_system_error(int)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_buffer_free_buffer(ggml_backend_buffer*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x13a2): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_split_buffer_free_buffer(ggml_backend_buffer*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x14af): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_event_free(ggml_backend_event*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x15da): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_free(ggml_backend*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1714): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_cuda_log(ggml_log_level, char const*, ...) [clone .cold]': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x7): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x23): more undefined references to operator delete(void*)' follow /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_cuda_info() [clone .cold]': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x43): undefined reference to __cxa_guard_abort' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_context::new_pool_for_device(int) [clone .cold]': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x57): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_host_buffer_type.cold': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x1a2): undefined reference to __cxa_guard_abort' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_buffer_type.cold': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x1b5): undefined reference to operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x1c7): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_cuda_mul_mat_id(ggml_backend_cuda_context&, ggml_tensor*) [clone .cold]': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x2f3): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function ggml_backend_cuda_init.cold': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x314): undefined reference to operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x31c): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E.isra.0[_ZNSt3mapISt5arrayIfLm16EE24ggml_backend_buffer_typeSt4lessIS1_ESaISt4pairIKS1_S2_EEED5Ev]+0x9e): more undefined references to operator delete(void*)' follow /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function void std::vector<ggml_tensor_extra_gpu*, std::allocator<ggml_tensor_extra_gpu*> >::_M_realloc_insert<ggml_tensor_extra_gpu* const&>(__gnu_cxx::__normal_iterator<ggml_tensor_extra_gpu**, std::vector<ggml_tensor_extra_gpu*, std::allocator<ggml_tensor_extra_gpu*> > >, ggml_tensor_extra_gpu* const&)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_[_ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_]+0x10a): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT[ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT]+0x143): undefined reference to std::__throw_length_error(char const*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function std::_Rb_tree<std::array<float, 16ul>, std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type>, std::_Select1st<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> >, std::less<std::array<float, 16ul> >, std::allocator<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> > >::_M_get_insert_unique_pos(std::array<float, 16ul> const&)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE24_M_get_insert_unique_posERS3[ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE24_M_get_insert_unique_posERS3]+0x10c): undefined reference to std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function std::pair<std::_Rb_tree_iterator<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> >, bool> std::_Rb_tree<std::array<float, 16ul>, std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type>, std::_Select1st<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> >, std::less<std::array<float, 16ul> >, std::allocator<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> > >::_M_emplace_unique<std::array<float, 16ul>&, ggml_backend_buffer_type&>(std::array<float, 16ul>&, ggml_backend_buffer_type&)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT[ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT]+0x1d): undefined reference to operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT_[_ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT_]+0xaa): undefined reference to std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT[ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT]+0xcc): undefined reference to operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.ro._ZTI14ggml_cuda_pool[_ZTI14ggml_cuda_pool]+0x0): undefined reference to vtable for __cxxabiv1::__class_type_info' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.ro._ZTI18ggml_cuda_pool_leg[_ZTI18ggml_cuda_pool_leg]+0x0): undefined reference to vtable for __cxxabiv1::__si_class_type_info' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.ro._ZTI18ggml_cuda_pool_vmm[_ZTI18ggml_cuda_pool_vmm]+0x0): undefined reference to vtable for __cxxabiv1::__si_class_type_info' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status gmake[2]: *** [tests/CMakeFiles/test_quantized_matmul_on_gpu.dir/build.make:106:bin/test_quantized_matmul_on_gpu] 错误 1 gmake[1]: *** [CMakeFiles/Makefile2:219:tests/CMakeFiles/test_quantized_matmul_on_gpu.dir/all] 错误 2 gmake: *** [Makefile:146:all] 错误 2
ggml_backend_cuda_split_buffer_type_alloc_buffer(ggml_backend_buffer_type*, unsigned long)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x217): undefined reference to
ggml_cuda_log(ggml_log_level, char const*, ...)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x989): undefined reference to
operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1497): undefined reference to
ggml_backend_cuda_free(ggml_backend*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x16e4): undefined reference to
operator delete(void*)' follow /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x22b8): undefined reference to
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x238a): undefined reference to
ggml_cuda_info()': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x276b): undefined reference to
__cxa_guard_release' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2a8e): undefined reference to
ggml_backend_cuda_host_buffer_type': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x4be2): undefined reference to
operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x53fc): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x5444): undefined reference to
std::__throw_system_error(int)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x8ee4): undefined reference to
std::__throw_length_error(char const*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa313): undefined reference to
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa3f2): undefined reference to
__cxa_guard_acquire' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb857): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb8fe): undefined reference to
ggml_backend_cuda_buffer_free_buffer(ggml_backend_buffer*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x13a2): undefined reference to
ggml_backend_cuda_split_buffer_free_buffer(ggml_backend_buffer*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x14af): undefined reference to
ggml_backend_cuda_event_free(ggml_backend_event*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x15da): undefined reference to
ggml_backend_cuda_free(ggml_backend*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1714): undefined reference to
ggml_cuda_log(ggml_log_level, char const*, ...) [clone .cold]': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x7): undefined reference to
__cxa_guard_abort' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x1c7): undefined reference to
ggml_cuda_mul_mat_id(ggml_backend_cuda_context&, ggml_tensor*) [clone .cold]': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x2f3): undefined reference to
ggml_backend_cuda_init.cold': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x314): undefined reference to
operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E.isra.0[_ZNSt3mapISt5arrayIfLm16EE24ggml_backend_buffer_typeSt4lessIS1_ESaISt4pairIKS1_S2_EEED5Ev]+0x9e): more undefined references to
void std::vector<ggml_tensor_extra_gpu*, std::allocator<ggml_tensor_extra_gpu*> >::_M_realloc_insert<ggml_tensor_extra_gpu* const&>(__gnu_cxx::__normal_iterator<ggml_tensor_extra_gpu**, std::vector<ggml_tensor_extra_gpu*, std::allocator<ggml_tensor_extra_gpu*> > >, ggml_tensor_extra_gpu* const&)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_[_ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_]+0x10a): undefined reference to
std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT_[_ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT_]+0xaa): undefined reference to
operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.ro._ZTI14ggml_cuda_pool[_ZTI14ggml_cuda_pool]+0x0): undefined reference to
vtable for __cxxabiv1::__si_class_type_info' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.ro._ZTI18ggml_cuda_pool_vmm[_ZTI18ggml_cuda_pool_vmm]+0x0): undefined reference to
The text was updated successfully, but these errors were encountered:
Should be fixed in #179 Feel free to reopen the issue if there are still questions.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
the device as follow:
NVIDIA GeForce RTX 3080,ubuntu22.04,cuda_11.5
the detail of the problem as follow:
(gavin) lucy@pop-os:~/test0710/rwkv.cpp$ cmake --build . --config Release
Consolidate compiler generated dependencies of target ggml
[ 75%] Built target ggml
Consolidate compiler generated dependencies of target rwkv
[ 78%] Built target rwkv
Consolidate compiler generated dependencies of target test_ggml_basics
[ 80%] Built target test_ggml_basics
Consolidate compiler generated dependencies of target test_quantized_matmul_on_gpu
[ 81%] Linking C executable ../bin/test_quantized_matmul_on_gpu
/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_split_buffer_type_alloc_buffer(ggml_backend_buffer_type*, unsigned long)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x217): undefined reference to
operator new(unsigned long)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_cuda_log(ggml_log_level, char const*, ...)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x989): undefined reference to
operator new(unsigned long)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa01): undefined reference to
operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_buffer_free_buffer(ggml_backend_buffer*)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1399): undefined reference to
operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_split_buffer_free_buffer(ggml_backend_buffer*)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1478): undefined reference to
operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1497): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_free(ggml_backend*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x16e4): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x16f6): more undefined references to
operator delete(void*)' follow /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_event_new(ggml_backend*)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x212f): undefined reference to
operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_buffer_type_alloc_buffer(ggml_backend_buffer_type*, unsigned long)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x21f1): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x22b8): undefined reference to
std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct(unsigned long, char)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2339): undefined reference to
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x238a): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_cuda_info()': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x276b): undefined reference to
__cxa_guard_acquire'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2786): undefined reference to
__cxa_guard_release' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_context::new_pool_for_device(int)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2a23): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x2a8e): undefined reference to
operator new(unsigned long)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_host_buffer_type': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x4be2): undefined reference to
__cxa_guard_acquire'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x4c34): undefined reference to
__cxa_guard_release' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_buffer_type':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x53c9): undefined reference to
operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x53fc): undefined reference to
std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct(unsigned long, char)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x5425): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x5444): undefined reference to
std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x54bd): undefined reference to
std::__throw_system_error(int)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_cuda_mul_mat_id(ggml_backend_cuda_context&, ggml_tensor*)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x899c): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x8ee4): undefined reference to
operator delete(void*)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x98ee): undefined reference to
std::__throw_length_error(char const*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_init':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa271): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa313): undefined reference to
std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_construct(unsigned long, char)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa3a4): undefined reference to
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa3f2): undefined reference to
operator delete(void*)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xa4c6): undefined reference to
operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_split_buffer_init_tensor(ggml_backend_buffer*, ggml_tensor*)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb155): undefined reference to
operator new(unsigned long)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_split_buffer_type':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb7fb): undefined reference to
__cxa_guard_acquire' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb857): undefined reference to
__cxa_guard_release'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb88f): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0xb8fe): undefined reference to
std::__throw_system_error(int)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_buffer_free_buffer(ggml_backend_buffer*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x13a2): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_split_buffer_free_buffer(ggml_backend_buffer*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x14af): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_event_free(ggml_backend_event*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x15da): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_free(ggml_backend*)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text+0x1714): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_cuda_log(ggml_log_level, char const*, ...) [clone .cold]': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x7): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x23): more undefined references to
operator delete(void*)' follow /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_cuda_info() [clone .cold]':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x43): undefined reference to
__cxa_guard_abort' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_context::new_pool_for_device(int) [clone .cold]':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x57): undefined reference to
operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_host_buffer_type.cold':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x1a2): undefined reference to
__cxa_guard_abort' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_buffer_type.cold':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x1b5): undefined reference to
operator delete(void*)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x1c7): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_cuda_mul_mat_id(ggml_backend_cuda_context&, ggml_tensor*) [clone .cold]': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x2f3): undefined reference to
operator delete(void*)'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
ggml_backend_cuda_init.cold': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x314): undefined reference to
operator delete(void*)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.unlikely+0x31c): undefined reference to
operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E.isra.0[_ZNSt3mapISt5arrayIfLm16EE24ggml_backend_buffer_typeSt4lessIS1_ESaISt4pairIKS1_S2_EEED5Ev]+0x9e): more undefined references to
operator delete(void*)' follow/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
void std::vector<ggml_tensor_extra_gpu*, std::allocator<ggml_tensor_extra_gpu*> >::_M_realloc_insert<ggml_tensor_extra_gpu* const&>(__gnu_cxx::__normal_iterator<ggml_tensor_extra_gpu**, std::vector<ggml_tensor_extra_gpu*, std::allocator<ggml_tensor_extra_gpu*> > >, ggml_tensor_extra_gpu* const&)': tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_[_ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_]+0x10a): undefined reference to
operator new(unsigned long)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT[ZNSt6vectorIP21ggml_tensor_extra_gpuSaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT]+0x143): undefined reference to
std::__throw_length_error(char const*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
std::_Rb_tree<std::array<float, 16ul>, std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type>, std::_Select1st<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> >, std::less<std::array<float, 16ul> >, std::allocator<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> > >::_M_get_insert_unique_pos(std::array<float, 16ul> const&)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE24_M_get_insert_unique_posERS3[ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE24_M_get_insert_unique_posERS3]+0x10c): undefined reference to
std::_Rb_tree_decrement(std::_Rb_tree_node_base*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o): in function
std::pair<std::_Rb_tree_iterator<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> >, bool> std::_Rb_tree<std::array<float, 16ul>, std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type>, std::_Select1st<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> >, std::less<std::array<float, 16ul> >, std::allocator<std::pair<std::array<float, 16ul> const, ggml_backend_buffer_type> > >::_M_emplace_unique<std::array<float, 16ul>&, ggml_backend_buffer_type&>(std::array<float, 16ul>&, ggml_backend_buffer_type&)':tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT[ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT]+0x1d): undefined reference to
operator new(unsigned long)' /usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text._ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT_[_ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT_]+0xaa): undefined reference to
std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'/usr/bin/ld: tmpxft_0000a863_00000000-6_ggml-cuda.compute_75.cudafe1.cpp:(.text.ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT[ZNSt8_Rb_treeISt5arrayIfLm16EESt4pairIKS1_24ggml_backend_buffer_typeESt10_Select1stIS5_ESt4lessIS1_ESaIS5_EE17_M_emplace_uniqueIJRS1_RS4_EEES2_ISt17_Rb_tree_iteratorIS5_EbEDpOT]+0xcc): undefined reference to
operator delete(void*)' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.ro._ZTI14ggml_cuda_pool[_ZTI14ggml_cuda_pool]+0x0): undefined reference to
vtable for __cxxabiv1::__class_type_info'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.ro._ZTI18ggml_cuda_pool_leg[_ZTI18ggml_cuda_pool_leg]+0x0): undefined reference to
vtable for __cxxabiv1::__si_class_type_info' /usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.ro._ZTI18ggml_cuda_pool_vmm[_ZTI18ggml_cuda_pool_vmm]+0x0): undefined reference to
vtable for __cxxabiv1::__si_class_type_info'/usr/bin/ld: ../ggml/src/libggml.a(ggml-cuda.cu.o):(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status
gmake[2]: *** [tests/CMakeFiles/test_quantized_matmul_on_gpu.dir/build.make:106:bin/test_quantized_matmul_on_gpu] 错误 1
gmake[1]: *** [CMakeFiles/Makefile2:219:tests/CMakeFiles/test_quantized_matmul_on_gpu.dir/all] 错误 2
gmake: *** [Makefile:146:all] 错误 2
The text was updated successfully, but these errors were encountered: