The linking fails when building lldb-server for mips32 unless the atomic library is added explicitly. This is related to the recent issue reported for Android (link: https://code.google.com/p/android/issues/detail?id=182094) and the corresponding LLVM commit (link: http://reviews.llvm.org/rL244298#6ea97418). However, this commit doesn't seem to solve the issue for lldb-server. The attached patch fixes the problem. Please, could you advise whether there's a neater or more generic way to solve this?
Thanks!