Boost does not implement atomic functions for RISC-V, and depend that on compiler. For 16-byte atomic ops, the compiler must link against libatomic. (cherry picked from commit 28c9b15a36)
28c9b15a36