From nobody Tue Apr 19 21:27: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 E626B11E11E0 for ; Tue, 19 Apr 2022 21:27:14 +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 4KjcMQ5TV0z3BrV for ; Tue, 19 Apr 2022 21:27:14 +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 993FB2EBE7 for ; Tue, 19 Apr 2022 21:27:14 +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 23JLREqL015019 for ; Tue, 19 Apr 2022 21:27:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23JLRE74015018 for toolchain@FreeBSD.org; Tue, 19 Apr 2022 21:27:14 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: Tue, 19 Apr 2022 21:27: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=1650403634; 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=EHMeBRE6bk/ej913a65n6QUHSnwvSZXPWe+hOlFsLAY=; b=wATWA58gIKrEyhZgZ51AwFcnwj21KKmPc6kO5vbGySnm7/yj6zNgFkWokXjG7RJKS+7HnG Ti4FCWrSu6IUWDHGaoey/s4qS61+QMkcSkbXdNehQoUN60NDnWWQPn1N2UnuntQXGEXr6Y dEA0Fi+CA92i0xe89NlF289p38jDFuxXVbUoxyJnkthW+LoS9EzeeWasX5XMZUl41ePQ9H Af4oicJQxQqGQV3sVCdGGCKfxpGyNDcMhvUl2q/dCDkCOLOlcdEboAsVSNKzxFPtwPcWsQ AIkoHSni1rCU9HREO7n7ATeFV7lHIftZ4RzMlDskXAi8t7vYdCPSsQLYksNcCQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650403634; a=rsa-sha256; cv=none; b=BIHJnLTbPgXjjRor8Cn9yLp3teP+4HCzfDWQAMyFZyyLLCQaSIqC8A29laNOK5YhYNUYTz qnZdIruPphIPMzM0eb04dFz4nnZJd8+1llEtGev/CG6sCOc2YXVOFLniCMe622AQbh64Ht nGN0dd9P6hud5s9Yj8VpJ5IP66mEGac6vMRr+L+xBD6JgeJt0RqDvnVLIg+kiTVh28g8v6 yaeZzXuXKC2+MDnAV+MqyO/8Cte2xbHRGZGVov1mMYptAayvzKy49E7qzn/SmPpx4V0kGH VR9mKXzQ7WYxip/6KOetoBoxhWr982TwBZ77R+22HNBksXNy4xj7FTDthAph7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261977 --- Comment #31 from Mark Millard --- (In reply to Mark Millard from comment #28) As for what I can get for aarch64 . . . http://ampere2.nyi.freebsd.org/build.html?mastername=3Dmain-arm64-default&b= uild=3Dp1853d90f79b6_s27ac4281fd actually has both gcc1[12]-devels in LTO style built successfully in a 30,000+ port bulk -a . (Seems rare for the 30,000+ bulks on aarch64.) where: 115:50:28 vs. [predating the LTO style use (Feb.)]. http://ampere2.nyi.freebsd.org/build.html?mastername=3Dmain-arm64-default&b= uild=3Dpde1a3d3a0c66_sa4a31271cc where: 107:17:11 So, like amd64, not a huge difference in the time scale --for how the FreeBSD servers are used-- but an increase observed. But the increases for amd64 and aarch64 are small enough to not be clearly mostly-gcc-LTO related for the cause of the variation. Still, it would not be surprising for LTO being a contribution, just not huge for the overall time involved. As near as I can tell, unless having gcc11 as the default and built via LTO so more ports wait and that changes things significantly, having LTO used on the FreeBSD servers looks reasonable relative to how other aspects are (and have been) handled. [A context configured to allow for high load averages relative to hardware threads and large RAM+SWAP to match (avoiding processing slack) might get significantly different results. But that is not how FreeBSD build servers are used.] --=20 You are receiving this mail because: You are on the CC list for the bug.=