From nobody Sat Jul 16 22:09:11 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 4Llj7C6JDlz4TSXV for ; Sat, 16 Jul 2022 22:09:11 +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 4Llj7C40vJz3LWl for ; Sat, 16 Jul 2022 22:09:11 +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 4Llj7C2zcjzccj for ; Sat, 16 Jul 2022 22:09:11 +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 26GM9BBI003703 for ; Sat, 16 Jul 2022 22:09:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26GM9BEj003702 for toolchain@FreeBSD.org; Sat, 16 Jul 2022 22:09:11 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 265254] lang/gcc11: build gets stuck Date: Sat, 16 Jul 2022 22:09:11 +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: 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=1658009351; 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=L/+pdpSG5jaUMkBkmF++vJBPjRC7MMpbm2rXvnDbpJU=; b=a42xsUIQx66rayijE1zO+FaOJWaGxKTGHQcKpj17NGz42QK4HOGulYItu+m/EUoEYGsYzt 94yXlnEusdNm6ccNJ28XTDSqpAd0vQ3JLn5zlXdCYe+VWssorQ3v/ljGSXIENcCjXHxjpl ZjyPs0JAv+AkiSEqPoOYhZz4QNA1hJPySfQdeBnbwQpihCmbKwXajl8H3EqFDego1yICYf L34WzNm5gNK7LaERUnFBEdDX7FTnW8xVLVwwy4aWoSLxdBDRijEvlBE6UHNhbFh+ybpr35 jIA1ryWnhOcW5FcH0TKxdFeGFXAI9bjq6vV77LeJYCHChnQ2Ug8QdcODhf6w4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658009351; a=rsa-sha256; cv=none; b=Qu9Wa+EUUhDyJZqSv1o/j+0u7UZS2tzaX9AGAT7VqkeJKs9xwkCytRD25KMNfWZyU8rGeW IW33uw49S2AQdk9iTxGgPQ2QiBnFArZxv4OlLbxixpLVQYQoYLSaN8nDQdM+bY17qNTZYU ra2NxErsi8HimSxJ4cPcDHulkQSLTKS5+yke/rlzlsRGrpCAgMWdarqPtZbZ/slDq3k0Eg YPH9yB3JykDLU0RobsXJFACr/LJ4DCSoDuoedS2KMemrlfd2Ty5yD+Jk1H0cQStesVQVer 2YbGYw+zfc8iXaQTdWWUU1OGKsS5S6TC4eU/UJU4fkraKlYOBEH5qeZYTsEoOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265254 --- Comment #5 from Lorenzo Salvadore --- (In reply to Yuri Victorovich from comment #3) While I also would like to disable LTO by default, others consider that LTO should be enabled by default so that official packages are built as optimiz= ed as possible, while users building their own ports should just disable the option if they are unhappy with it. At the moment the approach I have taken is leaving LTO on by default but warning about it as much as possible: I have created a pkg-help file in all relevant ports, I am informing on IRC and I am adding a note to the latest = gcc quarterly report ( https://github.com/freebsd/freebsd-quarterly/pull/489 , = I am going to update it with your case). And of course I am tracking bugzilla, as you have seen. Now, if I have understood correctly, your issue is not a bug, but it is ins= tead the consequence of an optimization which requires a lot of resources (too m= uch) in your particular configuration (not shared by the package builders, which= are able to compile gcc11 successfully), is that right? If it is a bug, we need to fix it. If it is not, I am sorry, but you need to tweak your configuration: if you happen to do anything more special than disabling LTO_BOOTSTRAP to do so, please let me know so that I can inform o= ther users about it. --=20 You are receiving this mail because: You are the assignee for the bug.=