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

/usr/include/c++/7/atomic:239: undefined reference to `__atomic_store_16' #2

Open
manojps opened this issue Jul 6, 2020 · 0 comments

Comments

@manojps
Copy link

manojps commented Jul 6, 2020

I am getting the following error when building insdb.

out-static/db/sktable.o: In function `insdb::SKTableMem::FlushSKTableMem(insdb::Manifest*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::queue<insdb::KeyBlockPrimaryMeta*, std::deque<insdb::KeyBlockPrimaryMeta*, std::allocator<insdb::KeyBlockPrimaryMeta*> > >&)':
/usr/include/c++/7/atomic:239: undefined reference to `__atomic_store_16'
collect2: error: ld returned 1 exit status
Makefile:383: recipe for target 'out-static/db_test' failed
make: *** [out-static/db_test] Error 1
out-static/db/manifest.o: In function `insdb::Manifest::KBMUpdateThread()':
/usr/include/c++/7/atomic:250: undefined reference to `__atomic_load_16'
out-static/db/sktable.o: In function `insdb::SKTableMem::FlushSKTableMem(insdb::Manifest*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::queue<insdb::KeyBlockPrimaryMeta*, std::deque<insdb::KeyBlockPrimaryMeta*, std::allocator<insdb::KeyBlockPrimaryMeta*> > >&)':
/usr/include/c++/7/atomic:239: undefined reference to `__atomic_store_16'
collect2: error: ld returned 1 exit status
Makefile:428: recipe for target 'out-static/skiplist_test_ext' failed
make: *** [out-static/skiplist_test_ext] Error 1

Could please advise, how to resolve this issue?

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

No branches or pull requests

1 participant