On Sat, 28 Jun 2025, David Holland wrote:
On Fri, Jun 27, 2025 at 09:28:10PM +0200, Benny Siegert wrote: > What do folks think? Should I commit it? This is obviously terrible -- > if you have suggestions, please tell me where to put the condition > instead. If it works that way, great, but I have a bad feeling if you don't build clang and llvm with the same gcc things will go downhill :-(
I committed my original patch, plus the addition of GCC_REQD=14 to lang/llvm/buildlink3.mk. Thanks to it being in version.mk, clang (which doesn't include LLVM's buildlink???) uses the correct gcc. In addition, Rust will only use the correct C++ compiler if the setting is in buildlink3.mk.
With the diff I committed, my NetBSD 9 VM correctly builds firefox128. I believe we are good for branching! It is pretty late here, so I will do it tomorrow morning (Europe).
-- Benny