I have unmasked llvm_slot_20 use flag and ran into compilation errors for www-client/chromium-136.0.7103.113 I added the upstream bugs and attach the build.log. I guess <www-client/chromium-137 has to be restricted to max <LLVM/Clang 20 and <rust-1.87.0 I can test as soon as you add an ebuild for chromium-137. Reproducible: Always
Created attachment 928970 [details] buidl.log for www-client/chromium-136.0.7103.113
It seems unlikely that LLVM 19 would work and LLVM 20 is the culprit; M136 builds with LLVM 21 and a nightly Rust (likely 1.87.0) upstream. More to the point, the issues that you've linked point to defective GN dependencies on `//build/rust/allocator`, which indicates that this could occur on any LLVM/Rust combo. The `#[global_allocator]` code has been in for a bit - I had to upstream a patch to make that code build with the `unbundle` toolchain on M137: https://github.com/chromium/chromium/commit/87d5ad2f621e0d5c81849dde24f3a5347efcb167 It looks like most of those changes have been in-tree since M137, with the exception of https://github.com/chromium/chromium/commit/ecdd28a15dfd184c9190d36d2609a308677743f0 which appears to be in our currently-packaged M138. M137 has been in-tree for a bit now (Since the 17th), so you should be able to try that out (and M138 if willing to unmask; it's not scary). Let me know how you go. We may need to backport those patches, but M137 is due to be promoted to (early) stable from Tomorrow so we'll likely be able to just use that instead. Let me know how M137 and M138 work for you.