From nobody Wed Jun 29 23:23:06 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 8FBCD8A518F for ; Wed, 29 Jun 2022 23:23:07 +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 4LYHZM1SgFz3pNP for ; Wed, 29 Jun 2022 23:23:07 +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 130671B21F for ; Wed, 29 Jun 2022 23:23:07 +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 25TNN7xr014199 for ; Wed, 29 Jun 2022 23:23:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25TNN7lh014198 for toolchain@FreeBSD.org; Wed, 29 Jun 2022 23:23:07 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 264949] lang/gcc11: Needs build time warning for /tmp consumption Date: Wed, 29 Jun 2022 23:23:06 +0000 X-Bugzilla-Reason: AssignedTo 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: salvadore@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: see_also 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=1656544987; 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=aN9TAbPs3z7kptLuSBnPAw+rNyhjxZkyl13TGvbAH5M=; b=w0rqiXzyxEK3eZkwN7PhgmbgdIwtCxmIW7mUTg+i4CtcoY9IMqv47zPyJJK9h9K405iHhp 3ByzCjAskhxuGOfZaPK1YOWA/KZwqgh5XgyFNC2FgfcqlBfxYv4DY0ju9AzDqI6YaiT36Q z3synjdw8Tzi9lyiIsb7nj/bxfISdglNauN+ynKarY5PDGcih9jp6LzUVuKlXlFGVVF9xU 8Lnl2fGOXup++YdxgUTAGUqz/mIv1Y9QLHHtqp78jxUioo4MDVPlZ0TfKwj6zNxK3iYyOU Kft5bLL8fdlED531KLWMFiKAPajetnH9K6uybZ/Ji9J9g085f//Ep0D/e4V2LQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656544987; a=rsa-sha256; cv=none; b=WaG7cpowZGU1WQWaEpYCWGCKhdFKVpW9nUB3EXr/JIlOtCc2p/kFDT3Jbnu02SFjwGmFAf dxBRrcaAYK4jSoRWFAeLqrx02yJPQKBM4sBAxbjiKJM58nQRPwyoY1nwfbZrx78WkLMQ9M bz7C1L66/RsNMRTL4WECKM5tVPOgpANZUWusMUuOVvKMTcdcaQDGXEbNE16hgLTTiZ38E/ DcaOqD6h2h6ekKgNJtFzKvEgLmGphodiE7WKKTwlXLIeMdsGnrsSzONPktQ+KJynVbHxDY DUHlEzP3+hksKrS+5akj/rO5vSyQoQmCN+jQ3mCj8S1MaWpU+Jis5PBI0D8YrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264949 Lorenzo Salvadore changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 619 | |77 --- Comment #11 from Lorenzo Salvadore --- (In reply to Tomoaki AOKI from comment #0) > Is this because of LTO_BOOTSTRAP option (default of amd64)? I think you might be right about it. Have you tried compiling the port with STANDARD_BOOTSTRAP instead? What about without any bootstrap option? See also bug #261977, which contains a reference to commit https://cgit.freebsd.org/ports/commit/?id=3Daadf6428cc480fbeda72ec90d53ef34= 0e95f49ca that recently introduced LTO_BOOTSTRAP as default. (In reply to Piotr Kubaj from comment #2) If the issue is indeed LTO, we could add a warning as you suggested. I thin= k it would be nice to introduce it as a pkg-help file, which is displayed when choosing options and should explain that, if the machine is not powerful enough, the default option should be changed to disable LTO_BOOTSTRAP. On the other hand, we could also change the default options, as you already= did in some architectures. We would lose the optimiziation in prebuilt packages, but I don't know how much is it worth it: I think we are risking that many people that compile their ports with poudriere without modifying port optio= ns would get into trouble... Is the performance improvement using LTO really significant? If not, I would renounce to it for the sake of convenience. Another possibility could be to have separate ports or flavors: one without= LTO and one with LTO, but maintaining all the versions of GCC that we already h= ave seems complex enough, I don't think it is wise to increase complexity. --=20 You are receiving this mail because: You are the assignee for the bug.=