I have always had a difficult problem trying to figure out with which version of gcc/libstdc++ a particular version of clang will work. I have asked about this on the clang developers mailing list but received no answer. If there is any information about this anywhere I would surely like to know where it is.
Well.... the answer it appears is trial and error, here's what I have so
far (which is enough to get the tests passing for now):
clang 5:
* No <regex> prior to gcc-5.x
* No thread_local prior to gcc-4.8.x (ABI/linker issues)
Clang 3.x:
* No <future>, <mutex>,