Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 2021 05:02:20 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        Piotr Kubaj <pkubaj@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: fb5f03a87cf4 - main - Mk/bsd.lto.mk: add global LTO support for ports
Message-ID:  <YVk5XHU4nphMpYcW@FreeBSD.org>
In-Reply-To: <202109301834.18UIYKrL013410@gitrepo.freebsd.org>
References:  <202109301834.18UIYKrL013410@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 30, 2021 at 06:34:20PM +0000, Piotr Kubaj wrote:
> commit fb5f03a87cf432751fae1f0ae7f29c9d4fc65917
> 
>     Mk/bsd.lto.mk: add global LTO support for ports
>     
>     It's well known that LTO provides both performance and size benefits
>     for binaries.

It's also well known that it may easily require tens (or is it hundreds
these days already?) gigs of RAM which pretty much rules out regular
users who build ports on their commodity laptops and desktops with ~4-8
GB worth of RAM.

>     Add preliminary, opt-in support for global LTO enforcement to ports.

That said, thanks for making it opt-in.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YVk5XHU4nphMpYcW>