From nobody Wed Apr 20 19:16:12 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 4EBB311D3855 for ; Wed, 20 Apr 2022 19:16:13 +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 4Kk9Pn138Zz4qWB for ; Wed, 20 Apr 2022 19:16:13 +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 053E419650 for ; Wed, 20 Apr 2022 19:16:13 +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 23KJGCvN046286 for ; Wed, 20 Apr 2022 19:16:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23KJGCP1046285 for toolchain@FreeBSD.org; Wed, 20 Apr 2022 19:16:12 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: Wed, 20 Apr 2022 19:16:12 +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: pkubaj@FreeBSD.org 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=1650482173; 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=sJljTH82qyp0qPkFI9m8PqhRmeIyoYZQPdBzgskmW3g=; b=w/WLBxIbL/mzeHUzD0AtwYaPdhGfuDLctW7qb2YFrCECOTwrkJxs5IyoYR0lQT7c+txVZf SWXbmxrfMHSwLSGsdm2amwtTYsQu3pu8cHt17BPy81WyGD6vN5S8iv1BSqm3XP28l7eB63 mQbhvtkDhu0O3+oj5bcrDNvuOTto56wm0TXQCalKiZTDqbNXneTv0JRAmIjl0i+lcd/MNk p6nt3Qh+3Uulm39quJXrSX2W7mFdqO/07iDngcBrES0T/EAENHBh1gRN4UUngWdBzrlJRY +rKSdhASR2dV+qgnCZ4OrcVmFX1bqY9FcRJjrDRDH4tGl64/vHse1EdNevVdzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650482173; a=rsa-sha256; cv=none; b=xEyjDOoumjIfNoCG+BkKfdkBgAXCOgVyoSYautUfnaq60E9njUQN5t2YIILyf99GH6mgPD rnyxFKCdtFy+9jdIB4BeLru93gR/aP7p/098Nph5/M7Pi1hQVFp+wOBD0vhjWPE/lV7y8p M02/B/UcJF5JG5CbMASnrVoClGSXtZZuet4OyKjQHgpwJk3qwp/dYorbS/fhZg31zjOgZ4 OVxf+kHoQWRCjNoq9qevgP7hIPS0defVBtVQb20+WLQul6gRqX6AROClvKYB/ZdQeyfU8C Myq6Y67hbMnRCQm5wGBvIbG0r6+Iia3qvoEGOw+HKVz8R1jYcTqiNEXEYblfQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261977 --- Comment #45 from Piotr Kubaj --- (In reply to Matthias Andree from comment #44) 1. I assume it's to build GCC in a way that is as safe as possible, so that= the bootstrapped compiler will work fine. When you combine that with LTO and us using clang to build, it's definitely much safer than plain building. 2. LTO is used only for stage 2 and stage 3 (you can see that in config/bootstrap-lto-noplugin.mk). IMO that is reasonable, since using LTOi= zed GCC from stage 2 in stage 3 lets us make sure that the compiler works fine. (In reply to Robert Clausecker from comment #43) OK, I will disable bootstrap there according to your instructions. Regarding riscv64, we currently don't support GCC there. Regarding your earlier question for a capable ARM hardware, I'd consider getting something like https://www.ipi.wiki/products/ampere-altra-developer-platform. --=20 You are receiving this mail because: You are on the CC list for the bug.=