Created attachment 474972 [details, diff] gcc-7 patch The build fails with an error about std::bind not being a member of std. All that's needed to make it work is an extra #include<functional> in one file. The attached patch (from https://reviews.llvm.org/D30961?id=91797) fixes it.
LLDB 4 is gone now. Feel free to reopen if you can reproduce with 5+.