Failed to compile RNBRemote.cpp

Trying to build a HEAD version of lldb with libc++ in the repository fails to compile at lldb/tools/debugserver/source/RNBRemote.cpp:2588

I think this commit triggers the problem (std::char_traits<unsigned char> is needed ?).

Try applying ⚙ D158391 [lldb][debugserver] Fix build after libcxx removed generic char_traits implementation (“Download Raw Diff”).

Not 100% it works without a Mac to build on, but that’s what we did for lldb-server (debugserver’s non-MacOS equivalent).

The patch resolves the compilation error. Thanks!

It’s been committed so you can ditch the patch and just update from Gtihub now.

2 Likes