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

detectLang build failed #38

Open
t3chguy opened this issue Jan 8, 2018 · 5 comments · May be fixed by blevesearch/cld2#1
Open

detectLang build failed #38

t3chguy opened this issue Jan 8, 2018 · 5 comments · May be fixed by blevesearch/cld2#1

Comments

@t3chguy
Copy link

t3chguy commented Jan 8, 2018

https://github.com/blevesearch/cld2 having issues disabled I've opted to make it here instead.

/usr/lib/go-1.6/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::deallocate(CLD2::ResultChunk*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `CLD2::TrimCLDLangTagsHint(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_hint_code.cc:1059: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long)':
/usr/include/c++/5/bits/basic_string.h:754: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `CLD2::SetCLDLangTagsHint(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CLD2::CLDLangPriors*)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_hint_code.cc:1402: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::erase(unsigned long, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1460: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned long, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long) const':
/usr/include/c++/5/bits/basic_string.h:1935: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check(unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:261: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:216: undefined reference to `std::__throw_logic_error(char const*)'
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `CLD2::CheapSqueezeInplace(char*, int, int)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:781: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:849: undefined reference to `operator delete[](void*)'
/tmp/go-link-716788234/000001.o: In function `CLD2::CheapSqueezeInplaceOverwrite(char*, int, int)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:865: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:924: undefined reference to `operator delete[](void*)'
/tmp/go-link-716788234/000001.o: In function `CLD2::CheapSqueezeTriggerTest(char const*, int, int)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:945: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:955: undefined reference to `operator delete[](void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)':
/usr/include/c++/5/ext/new_allocator.h:104: undefined reference to `operator new(unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<int>::deallocate(int*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<int>::deallocate(int*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)':
/usr/include/c++/5/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `CLD2::DetectLanguageSummaryV2(char const*, int, bool, CLD2::CLDHints const*, bool, int, CLD2::Language, CLD2::Language*, int*, double*, std::vector<CLD2::ResultChunk, std::allocator<CLD2::ResultChunk> >*, int*, bool*)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:1813: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:1858: undefined reference to `operator delete[](void*)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:1920: undefined reference to `operator delete[](void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:216: undefined reference to `std::__throw_logic_error(char const*)'
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o:/usr/include/c++/5/bits/basic_string.h:1029: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)' follow
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o:/usr/include/c++/5/ext/new_allocator.h:110: more undefined references to `operator delete(void*)' follow
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check(unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:261: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `CLD2::ScriptScanner::ScriptScanner(char const*, int, bool)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:556: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:557: undefined reference to `operator new[](unsigned long)'
/tmp/go-link-716788234/000001.o: In function `CLD2::ScriptScanner::ScriptScanner(char const*, int, bool, bool, bool)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:576: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:577: undefined reference to `operator new[](unsigned long)'
/tmp/go-link-716788234/000001.o: In function `CLD2::ScriptScanner::~ScriptScanner()':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:584: undefined reference to `operator delete[](void*)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:585: undefined reference to `operator delete[](void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::push_back(char)':
/usr/include/c++/5/bits/basic_string.h:1082: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/go-link-716788234/000001.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:216: undefined reference to `std::__throw_logic_error(char const*)'
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o:/usr/include/c++/5/ext/new_allocator.h:110: more undefined references to `operator delete(void*)' follow
/tmp/go-link-716788234/000001.o: In function `CLD2::ScoreCJKScriptSpan(CLD2::LangSpan const&, CLD2::ScoringContext*, CLD2::DocTote*, std::vector<CLD2::ResultChunk, std::allocator<CLD2::ResultChunk> >*)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/scoreonescriptspan.cc:1166: undefined reference to `operator new(unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/scoreonescriptspan.cc:1209: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `CLD2::ScoreQuadScriptSpan(CLD2::LangSpan const&, CLD2::ScoringContext*, CLD2::DocTote*, std::vector<CLD2::ResultChunk, std::allocator<CLD2::ResultChunk> >*)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/scoreonescriptspan.cc:1234: undefined reference to `operator new(unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/scoreonescriptspan.cc:1274: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::allocate(unsigned long, void const*)':
/usr/include/c++/5/ext/new_allocator.h:104: undefined reference to `operator new(unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::deallocate(CLD2::ResultChunk*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o: In function `std::vector<CLD2::ResultChunk, std::allocator<CLD2::ResultChunk> >::_M_check_len(unsigned long, char const*) const':
/usr/include/c++/5/bits/stl_vector.h:1425: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::allocate(unsigned long, void const*)':
/usr/include/c++/5/ext/new_allocator.h:104: undefined reference to `operator new(unsigned long)'
/tmp/go-link-716788234/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::deallocate(CLD2::ResultChunk*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-716788234/000001.o:(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status

# github.com/matrix-org/matrix-search/cmd/appservice-registration
github.com/matrix-org/matrix-search/cmd/appservice-registration
/usr/lib/go-1.6/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::deallocate(CLD2::ResultChunk*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `CLD2::TrimCLDLangTagsHint(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_hint_code.cc:1059: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long)':
/usr/include/c++/5/bits/basic_string.h:754: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `CLD2::SetCLDLangTagsHint(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CLD2::CLDLangPriors*)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_hint_code.cc:1402: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::erase(unsigned long, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1460: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned long, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long) const':
/usr/include/c++/5/bits/basic_string.h:1935: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check(unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:261: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:216: undefined reference to `std::__throw_logic_error(char const*)'
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `CLD2::CheapSqueezeInplace(char*, int, int)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:781: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:849: undefined reference to `operator delete[](void*)'
/tmp/go-link-663370001/000001.o: In function `CLD2::CheapSqueezeInplaceOverwrite(char*, int, int)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:865: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:924: undefined reference to `operator delete[](void*)'
/tmp/go-link-663370001/000001.o: In function `CLD2::CheapSqueezeTriggerTest(char const*, int, int)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:945: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:955: undefined reference to `operator delete[](void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)':
/usr/include/c++/5/ext/new_allocator.h:104: undefined reference to `operator new(unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<int>::deallocate(int*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<int>::deallocate(int*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)':
/usr/include/c++/5/ext/new_allocator.h:102: undefined reference to `std::__throw_bad_alloc()'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `CLD2::DetectLanguageSummaryV2(char const*, int, bool, CLD2::CLDHints const*, bool, int, CLD2::Language, CLD2::Language*, int*, double*, std::vector<CLD2::ResultChunk, std::allocator<CLD2::ResultChunk> >*, int*, bool*)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:1813: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:1858: undefined reference to `operator delete[](void*)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/compact_lang_det_impl.cc:1920: undefined reference to `operator delete[](void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:216: undefined reference to `std::__throw_logic_error(char const*)'
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)':
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1015: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(unsigned long, char)':
/usr/include/c++/5/bits/basic_string.h:1042: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o:/usr/include/c++/5/bits/basic_string.h:1029: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)' follow
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)':
/usr/include/c++/5/bits/basic_string.h:1029: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check_length(unsigned long, unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:271: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:983: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o:/usr/include/c++/5/ext/new_allocator.h:110: more undefined references to `operator delete(void*)' follow
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check(unsigned long, char const*) const':
/usr/include/c++/5/bits/basic_string.h:261: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `CLD2::ScriptScanner::ScriptScanner(char const*, int, bool)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:556: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:557: undefined reference to `operator new[](unsigned long)'
/tmp/go-link-663370001/000001.o: In function `CLD2::ScriptScanner::ScriptScanner(char const*, int, bool, bool, bool)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:576: undefined reference to `operator new[](unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:577: undefined reference to `operator new[](unsigned long)'
/tmp/go-link-663370001/000001.o: In function `CLD2::ScriptScanner::~ScriptScanner()':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:584: undefined reference to `operator delete[](void*)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/getonescriptspan.cc:585: undefined reference to `operator delete[](void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::push_back(char)':
/usr/include/c++/5/bits/basic_string.h:1082: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/5/bits/basic_string.h:1095: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/go-link-663370001/000001.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:216: undefined reference to `std::__throw_logic_error(char const*)'
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o:/usr/include/c++/5/ext/new_allocator.h:110: more undefined references to `operator delete(void*)' follow
/tmp/go-link-663370001/000001.o: In function `CLD2::ScoreCJKScriptSpan(CLD2::LangSpan const&, CLD2::ScoringContext*, CLD2::DocTote*, std::vector<CLD2::ResultChunk, std::allocator<CLD2::ResultChunk> >*)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/scoreonescriptspan.cc:1166: undefined reference to `operator new(unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/scoreonescriptspan.cc:1209: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `CLD2::ScoreQuadScriptSpan(CLD2::LangSpan const&, CLD2::ScoringContext*, CLD2::DocTote*, std::vector<CLD2::ResultChunk, std::allocator<CLD2::ResultChunk> >*)':
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/scoreonescriptspan.cc:1234: undefined reference to `operator new(unsigned long)'
/home/t3chguy/go/src/matrix-search/vendor/src/github.com/blevesearch/cld2/scoreonescriptspan.cc:1274: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::allocate(unsigned long, void const*)':
/usr/include/c++/5/ext/new_allocator.h:104: undefined reference to `operator new(unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::deallocate(CLD2::ResultChunk*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o: In function `std::vector<CLD2::ResultChunk, std::allocator<CLD2::ResultChunk> >::_M_check_len(unsigned long, char const*) const':
/usr/include/c++/5/bits/stl_vector.h:1425: undefined reference to `std::__throw_length_error(char const*)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::allocate(unsigned long, void const*)':
/usr/include/c++/5/ext/new_allocator.h:104: undefined reference to `operator new(unsigned long)'
/tmp/go-link-663370001/000001.o: In function `__gnu_cxx::new_allocator<CLD2::ResultChunk>::deallocate(CLD2::ResultChunk*, unsigned long)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
/tmp/go-link-663370001/000001.o:(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status

# github.com/matrix-org/matrix-search/cmd/matrix-search-as-service
github.com/matrix-org/matrix-search/cmd/matrix-search-as-service
FATAL: command "build" failed: exit status 2
@t3chguy
Copy link
Author

t3chguy commented Jan 8, 2018

adding

// #cgo LDFLAGS: -lstdc++
// #cgo CPPFLAGS: -stc=c++98

to cld2.go
fixes this but is there any way around it at this level?
(and causes 3 warnings)

@MTRNord
Copy link

MTRNord commented Jan 10, 2018

Can reproduce with go-1.9 but workaround by @t3chguy doesn't work for me (I missplaced that line. After asking @t3chguy the workaround works)

@mschoch
Copy link
Contributor

mschoch commented Jan 10, 2018

@t3chguy issues are disabled because it is a fork of another repo.

It still seems to work in our travis continuous build environment:

https://travis-ci.org/blevesearch/blevex

I suspect it may be an environment or compiler version leading to different behavior. Can you share which OS/compiler versions might be having problems?

@kreativka
Copy link

It's a common issue.
CLD2Owners/cld2#47
CLD2Owners/cld2#26
After gcc 5 it doesn't compile without little hacks. Travis builds on gcc-4.8.

@t3chguy t3chguy linked a pull request Jun 7, 2018 that will close this issue
@t3chguy
Copy link
Author

t3chguy commented Jun 15, 2018

@mschoch could you take a look at the related PR blevesearch/cld2#1

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

Successfully merging a pull request may close this issue.

4 participants