From owner-dev-commits-ports-all@freebsd.org Sun Oct 3 05:02:21 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 16D2B6AFBFA; Sun, 3 Oct 2021 05:02:21 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HMWtP04VFz3wCS; Sun, 3 Oct 2021 05:02:21 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1633237341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cUe3z0ZAROp3PCWDT3EWvotJyKXZcJ9qzc0LQw/klbE=; b=vazzWSpjrNiHko8nFGc3DCGBNnx7HVDWOPNI00uKuNwObfxDpkpoOLC5s7VE7ykGYFy/yo EnFANguq0AIw7HM0h/npkSY5Lx+AaEsclgxjwna2O6105NhN7/hxD3nU2j3kArMIIefnrA sO/YvSqZkQ0a7X+6g38Y6chA/Hwmim7ZjK/tK1+LBQDMJgWEg/ZfOASwvFAT8K5onAXS8o gI8J/FzO3+w6u53TWFLutYCbBMHUsfTqXtrPdpXIi0pxRZw7lfEr7aJQDwzeKTSsHH+zfo Yfud6arjRjbtRMKnr5dw+ttYHLcIy8CEkZAMxEkIL1DbfEaHWQE098DlBSJroA== Received: by freefall.freebsd.org (Postfix, from userid 1033) id DF7613E10; Sun, 3 Oct 2021 05:02:20 +0000 (UTC) Date: Sun, 3 Oct 2021 05:02:20 +0000 From: Alexey Dokuchaev To: Piotr Kubaj 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: References: <202109301834.18UIYKrL013410@gitrepo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202109301834.18UIYKrL013410@gitrepo.freebsd.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1633237341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cUe3z0ZAROp3PCWDT3EWvotJyKXZcJ9qzc0LQw/klbE=; b=Y1NgxVjjcsrqEKrWaCYNofAo5hG2F830y1+nQ/Pxi/bWgMu8G8o/xdYvliBMXtBlIl0jY/ nbz45yqfcAGuXrhvu3VRA2zIcp/afHwFM7vtGQGkvfDm6YatZ+7kVBh2RQUwe8vktlJgwZ mzb1MeMJKx0xo/UaDloShEoZ4ZRQgNoWkNRYH0UuRXrUoUlvc5+kIGiSyY4q8aU9HCccgd MopW12enDd/Fk5D4VMDC2mA4tfNpDvi7mam8s2I5KqawN1FnpQ5FwWAQg18uVl5MMJPL/7 Kkbo//sHM+Uwu2UJS9DjksM09zknqBOCUEUrDp92q8w3B2ydeHIU61EivFFyfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1633237341; a=rsa-sha256; cv=none; b=S58+mZlILgGmQaicz6iMzK7F51T/WS930exJznCuzv9cPH2TMYd/9vv7WypF+QzAOmPv2/ L5kRXp3ZgZRr9gNEC6Yt3nzKE3cOQAVY+AljWmVB7smBMQmpRf07SAro1mEAqI6x8YB5WO LUZ60/zw4gt2WKx8Z3gDBFmQmUms7dXEwTpeCIABNcEoLMSUnEL7VnGbNhwzCRtyUN9a1M kzg7zWHo7v3t/yk63Wgwka7biKoG0yfEofNDzMXhlJJKIzlWfx8nDF2fwjanV5zzLXNW+o 59Zl6wIhnBwdrauA88wgWHfUaPgWi9S2oc/dcqpHH+6MQKFaY6odgllrlLV+GA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2021 05:02:21 -0000 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