From nobody Sun Mar 27 15:47:14 2022 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A730E1A56727 for ; Sun, 27 Mar 2022 15:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KRKvl2DYrz3Dcl for ; Sun, 27 Mar 2022 15:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 212BB18020 for ; Sun, 27 Mar 2022 15:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22RFlF4d002184 for ; Sun, 27 Mar 2022 15:47:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22RFlFRx002183 for toolchain@FreeBSD.org; Sun, 27 Mar 2022 15:47:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 261977] lang/gcc12-devel: enable LTO Date: Sun, 27 Mar 2022 15:47:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkubaj@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648396035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pF9ggyEdm1ppnvNKDaS52lfUoOzj/WakWm2I1NHoa7g=; b=qiiM7+21X7vsMdz/IoyXuT4VzT5c5h38ji1gztvu0+yYqRvQjfwJojSktf7ULO0PtUkP/r /SaA3lCIfrYMDY1VguNckAx1y5iMFzPmEiKslp3fd0aILDLwHyUUbwt5pbXwhHAVyX5MFq ELRRj7pxAY1v+Sqnsp08K9v8vxv37M5400QUww21CbELYoOcfX7cSC//275OnTIVL4kCE7 jZ9dal/p9lL8xd8CUnkgmM45qSFrLM6InDukbYnRbQhy/1HN2Uyb4EmbRIAWEkzhI6oZxh 1j7t081lIFbGSQkA2WUcOC01Kxh7awssz+WNoO5d322KG1ahXjm1h2Cofb+LcQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648396035; a=rsa-sha256; cv=none; b=CXkrrAN3Fd9nMXLtC5hYTv3lbdYZFVETtsuCKAPCYjEKQZiG2OpfL5WZG35CE2ZR0MLfav GkT7zxYKLRQes6B/QDtJS+F8tigawYlbI8pY6aEe86LVoanqkJ+CEuy/ZPvl2v0U0I0xZo VDYw4JQDrdqnvZQMNz6EhR9mUIgQZRmm+jIlOI/1MG5sVsMGCWBfO0heiSslREdI5uSC/8 O9W6fne0Ki6VPscklU7vq6ZoIiXblUHMESuEWvXG4EG9TeuVI1Trat7QIkHsWOdUk8gmmB A0/N5/CW1z8hss236JEG7LXY5vydDKhf4h3PbKZCf7djjzwKUQwgDOhbvkdETA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261977 --- Comment #8 from Mark Millard --- (In reply to Mark Millard from comment #6) Just for reference: I tested the build time for reverting the code in my context: # git -C /usr/ports/ diff lang/gcc12-devel/Makefile diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile index 644abf2cbb86..fab28c952f80 100644 --- a/lang/gcc12-devel/Makefile +++ b/lang/gcc12-devel/Makefile @@ -83,7 +83,7 @@ CONFIGURE_OUTSOURCE=3D yes .if empty(PORT_OPTIONS:MBOOTSTRAP) CONFIGURE_ARGS+=3D--disable-bootstrap .else -CONFIGURE_ARGS+=3D--with-build-config=3Dbootstrap-lto-noplugin +CONFIGURE_ARGS+=3D--with-build-config=3Dbootstrap-debug ALL_TARGET=3D bootstrap-lean .endif INSTALL_TARGET=3D install-strip The result was 01:38:45 for using bootstrap-debug: [01:39:00] [01] [01:38:45] Finished lang/gcc12-devel | gcc12-devel-12.0.1.s20220306_1: Success instead of the earlier 04:06:27 for using bootstrap-lto-noplugin : [04:33:13] [01] [04:06:27] Finished lang/gcc12-devel | gcc12-devel-12.0.1.s20220306_1: Success --=20 You are receiving this mail because: You are on the CC list for the bug.=