status of WITH_SHARED_TOOLCHAIN

David Chisnall theraven at FreeBSD.org
Sun Dec 25 18:29:01 UTC 2016


On 25 Dec 2016, at 19:21, Nikolai Lifanov <lifanov at FreeBSD.org> wrote:
> 
> Hi list,
> 
> I would like to understand why WITH_SHARED_TOOLCHAIN is not the default.
> My Raspberry Pi 3 is self-hosting with -j4 and doesn't run out of memory
> if the toolchain is shared. Is there a downside to this option?

Yes, there is a noticeable performance hit.  Buildworld takes 20-50% longer with a shared toolchain.  I don’t know if anyone has done any profiling of rtld to see if there’s any space for optimisation there (I suspect very little).

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3698 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-toolchain/attachments/20161225/73cb1742/attachment.bin>


More information about the freebsd-toolchain mailing list