From nobody Sat Jul 16 22:41:17 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 4LljrF1qZRz4WVfS for ; Sat, 16 Jul 2022 22:41:17 +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 4LljrF08xTz3PvJ for ; Sat, 16 Jul 2022 22:41:17 +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 4LljrD6KdyzdY8 for ; Sat, 16 Jul 2022 22:41:16 +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 26GMfG4Q025346 for ; Sat, 16 Jul 2022 22:41:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26GMfGxx025345 for toolchain@FreeBSD.org; Sat, 16 Jul 2022 22:41:16 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:41:17 +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: yuri@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=1658011277; 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=3PHxefKcp0K+IFSis2IcLg7rTq+kyAhuYddrYk2pH1Q=; b=ZKksCoIgrah6QaacFuN41bhuill+6VpsLHccX+gNk7oFD3gmsPs6FSYR3WB+fTnpv66003 N29lNFcJHIoZQpgX27mgXOgMvhx3E0lYBLWUK2zZpbDgZWBLkF7GQNBb8ns/1puW4q8dm8 mwLkpzaxiQsCemyROWM5P1HrCA7hNDhSXh8VdnRmageABUeHtTS/N+GNlatPyrOs9zla2x Z5VjGHT1/bRZObJTfFkVuMt7oJu2NR8MAolOjvXJfTCAJrR1RazGBwdtBcCtEgokoMHUDE Coj7gShi5Yj5yUnp1+X0h6UiQDi44N97OwWF0s1MKQ9OHQQ9XtZWwALGyRoHsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658011277; a=rsa-sha256; cv=none; b=qtQcn3Cvl/Dzib7D2T/jYaid5bL9h27MdxfksRrg4PNV52bPNsL2BC3Bwb8keKYXmzm9AN 0k1s9hqMK7+0dBmzgQNPWwYqTIqGu6l3cxU/LywPIr2McEqpoAp3+raai+nTuyU68txKFq T2G0XGDYuLU7uPyLBN7fTfWKxkV/WDhnRe4gO/eVoq+IKN0b2OC4aNn985YjcQmWYF1e8w HOc2li+diADRgVkAHIDYTWXwgM979utQkGLUsjE1owup6Jq/yxF2SYg2T46FYwYq8gtDEB E9tXT1tOn0wYp2Dbkvbz9M/QeSQmRYhnbLDvAQHmk6rQxVR7qXnwnqpzaHI7NA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265254 --- Comment #7 from Yuri Victorovich --- (In reply to Lorenzo Salvadore from comment #5) > While I also would like to disable LTO by default, others consider that L= TO should be enabled by default so that official packages are built as opti= mized as possible, while users building their own ports should just disable= the option if they are unhappy with it. The problem is not that LTO is "very resource consuming". The problem is th= at GCC mal-parallelized the build and it is spawning exceedingly many processe= s. Such mal-parallelization is a pitfall of GNU Make. All one has to do is to = use -jN at multiple levels of the directory hierarchy and similar effect would = be achieved. They should fix the bug first before others use this feature. I am not sure why this buggy feature was enabled in the FreeBSD port in the first place. --=20 You are receiving this mail because: You are the assignee for the bug.=