https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241257

--- Comment #5 from Mike Cui <[email protected]> ---
I agree that WITH_SHARED_TOOLCHAIN should be the default.

But here one small reason I care about having statically linked pre-built
toolchain binaries. I have a really slow Intel Atom machine, buildworld on this
machine takes 10+ hours, and most of that time is spent building llvm/clang
twice. To save the toolchain bootstrap time, nowadays I download base.txz from
the release I'm upgrading to, extract /usr/bin/{cc,c++,cpp,ld} and
/usr/lib/clang, then do a make buildworld WITHOUT_CROSS_COMPILER=1. It's a
massive timesaver. Because the base toolchain binaries are static I can almost
always run newer version on older systems. When I tried this going to 12.1 RC
it didn't work because ld.lld depended on a libc symbol I didn't have in 11.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to