llvm-project
llvm-project copied to clipboard
[-fmodules] linker errors when building llvm with libc++
Same build of llvm as #59063, just with libc++. https://github.com/Trass3r/llvm-project/actions/runs/3652405070/jobs/6170757099
https://github.com/Trass3r/llvm-project/blob/64a7e047880c0c7211be9db740deb1ac4949a545/.github/workflows/CI.yml#L146-L163
Error: ld.lld: error: undefined symbol: clang::ast_matchers::internal::DynTypedMatcher::matches(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
@llvm/issue-subscribers-clang-modules
It might be related to those old hacks: https://github.com/llvm/llvm-project/blob/main/clang/include/module.modulemap#L14 https://github.com/llvm/llvm-project/commit/91cef98d2c41eff0dea474a760d2dce5ba873209 https://github.com/llvm/llvm-project/blob/main/clang/include/module.modulemap#L193 https://github.com/llvm/llvm-project/commit/d0782a69ff4c04dc4f1dc1c11cb2fb43c6b638f5