[llvm] [lld][Bazel] Allow lld to build with Apple C++ toolchains (PR #211667)

Karim Alweheshy via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 07:50:03 PDT 2026


karim-alweheshy wrote:

Closing because a clean same-input reproduction disproved the premise. With Bazel 9.1.1rc1, apple_support 2.4.0, rules_cc 0.2.19, and Xcode 26.5, the unpatched generated lld driver compiles successfully with strict module layering enabled. The earlier result was obtained amid inconsistent Bazel external-repository/output-base state, and a later revalidation used the wrong Bzlmod canonical override. Since llvm_driver_cc_binary already declares //llvm:Support and the generated module map permits it, disabling layering_check is not justified.

https://github.com/llvm/llvm-project/pull/211667


More information about the llvm-commits mailing list