Hi there, I have been trying to build swift 5.0 from source on linux. The build is fine, however i have experienced clang related error when running the validation test:
...
/root/swift5/llvm/tools/clang/include/clang/Basic/Diagnostic.h:489: error: undefined reference to 'clang::DiagnosticsEngine::DiagStateMap::dump(clang::SourceManager&, llvm::StringRef) const'
/root/swift5/llvm/tools/clang/include/clang/Basic/Diagnostic.h:491: error: undefined reference to 'clang::DiagnosticsEngine::DiagStateMap::dump(clang::SourceManager&, llvm::StringRef) const'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[4/43] Building CXX object unittests/IDE/CMakeFiles/SwiftIDETests.dir/Placeholders.cpp.o
ninja: build stopped: subcommand failed.
./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
Any ideas? This is Unbuntu 18.04 with clang 6.0.0.