From nobody Tue Apr 19 16:47:51 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 15B2011FF1CD for ; Tue, 19 Apr 2022 16:47:52 +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 4KjV935Xd2z3lRt for ; Tue, 19 Apr 2022 16:47:51 +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 9EE382AE5E for ; Tue, 19 Apr 2022 16:47:51 +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 23JGlpGl061245 for ; Tue, 19 Apr 2022 16:47:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23JGlpC8061244 for toolchain@FreeBSD.org; Tue, 19 Apr 2022 16:47:51 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 16:47:51 +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: fuz@fuz.su 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=1650386871; 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=7bFvl7ZTXeQE0GDOdv8wPv3Tt+VcEgRYMjCFBUDDYkk=; b=cCoS6R+AbV1hehGCcIwg4eKR3mWuoSduFna5F0yu//Rl57PSZlxL5T+RfF0ok5ACOkGKBA 1fztwzmgLyitgTxUUp5rO4mCLMA5HlvGu0WdoiANxyMfwOMzBsqNrnDN+2+nvDOv1+CbDr 5ONRQJLM1C1Eg82o9/VegYCEbtjVu1T9m9AFOlB4QlAQEwX4+p+g+UCx7PGrzjqXr6MzHn hZqlcjpm4im5aKXTV/SzeYAdHuO2DuJzIqyrkLFCZT49Ypj+sbVdLZUkOR3AH+zG/vk7W1 PN5ipWzRDm7TlAKxAcqkUW9p5uEToYAEagJO/K0RRzOm2tYkb147vPPf7LpF4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650386871; a=rsa-sha256; cv=none; b=VGiIQ/0yXg6hIlp0HY5zPh0HVW5651oFeeNSmekcYWKTEojpqpM2l2+aW6wZU+jSBNZwCJ ELZ3XeuorpFVtum49Zqaqxe8JcuDQqtK8Wt/R1GdWolatVExqLJnr5xkOxXB+1lDZc5ElJ YepGGlosR4nsitGRlIE/VBQZQHxrqqr5gpaNzPWGaOkexh5SWgZdYoXn7vh8bDR0eJPlQQ 3xp1WzHO3RlJL4JV8jrK4kSXNOwSfYcRsnuS4uim3GZid06ISsgZzKAONDO1YBHiUfXmWH 3qlX42LhpkD5D/+Gk6K9IkCNwInykbuFsHhG0CNtLXhj3AxW/ntCjWxECiiikw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261977 --- Comment #19 from Robert Clausecker --- (In reply to Piotr Kubaj from comment #18) Built times are not super relevant as long as they stay in a reasonable ran= ge.=20 Waiting 3 days for the compiler to build is not reasonable. And as I said, this is both for native and for cross builds from reasonably fast hardware. Whenever there is some sort of update to the ports tree that changes a dependency of gcc, Poudriere recompiles gcc. So excessive build times significantly interfere with my ability to test ports. Right now I do not change any build flags nor do I provide any custom optio= ns because if I did, my test results would not be applicable. And even for normal, source-building users (which do exist), waiting three = days for a compiler to be built is completely unreasonable. And that's the time= up until now. The compiler build has not finished yet and I don't know when it will. Have you weighed the extra build time against the performance advantage this brings? How much does the LTO-built gcc speed up build times in comparison= to a normally built (or even non-bootstrapped) gcc? --=20 You are receiving this mail because: You are on the CC list for the bug.=