From nobody Sun Apr 24 22:36:40 2022 X-Original-To: python@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 531991A9CD65 for ; Sun, 24 Apr 2022 22:36:40 +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 4KmjgC6XKpz3FxR for ; Sun, 24 Apr 2022 22:36:39 +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 C035A6CEA for ; Sun, 24 Apr 2022 22:36:39 +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 23OMadQ3051948 for ; Sun, 24 Apr 2022 22:36:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23OMadff051947 for python@FreeBSD.org; Sun, 24 Apr 2022 22:36:39 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: python@FreeBSD.org Subject: [Bug 263353] lang/python38: fix excessive ld.lld memory use with LTO in port options Date: Sun, 24 Apr 2022 22:36:40 +0000 X-Bugzilla-Reason: CC 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: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mandree@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created 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: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650839799; 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=lIIY4+yoadhnJccF1gIKF8onf6wSCBEAtw2gCHnVvFA=; b=BZjppyTIrQrsRSsS50JhLE3FuVrrfXf+NNZJrfhoVuNd/rudAkf5e0E1z9FUxpVnRzxvcd qFxUOpXrLcM/kc4RuycPlk4XJNsUUldl6qEQVXOPHUyL1S5BZtO7yL4gkK8NcWA/WQLzxn sm/ySMGbpLuJ3zyrs8WFivMTPK1J3+BjtEqPn8lwa/z74ewQRvnwRaIZlRMCl54DwmekpP m16bv12bHso3W23xD8tlvpZp+D/k15vgxkiTchvAHDQEuW8xzN1wdx6xP+OU7vm8gnNIGS JhyRXzAbtv4w/UE0P41EA0PEGkG3gYbPKRo+KJRK1kUMLILsISNawhBOJvVDUA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650839799; a=rsa-sha256; cv=none; b=dshsi2hRShhWMp1Q/sudWMIj4WmOyVKYN9WlWAregXwj9PuZXFjhVK4azmV7FKQsdEqckW qJ6zr0+vhy/5rPJ3dGQaG4Rh3LguHRT5dJ3/ufLCTKH9648aqPGEQxQ8+hv+f8frlCSByT xusV0f1QLYjtrrAdgH2b/aBd+eGfZMf0NCkamIG398a8ATtZl1fCh+d4lgHaQd4T9ClSoQ zrvYaNdMCEdDBbzc+bboi2uCppcXrlugLHqMVIA+HkO9GBdMqjsFl+MzCwsrn4rW7k+Zux 3AC67hKsUM7OpNJ5bw1BLAqeSC2JEufwEPoqAgsAUH6SgK+Pb1EYMXZT2EarDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263353 --- Comment #4 from Matthias Andree --- Created attachment 233456 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233456&action= =3Dedit failing poudriere build log with LTO and optimization, showing excess -g. Kubilay, Python@ guys, the issue is an excess "-g" in spite of NOT setting WITH_DEBUG, not LTO. The FreeBSD ports Mk/* stuff properly omits -g, but the Python 3.8 build stuff = adds it specifically when LTO is in place. In the log, find lots of "-flto -g" (search for it, literally, of course without the quotes). This goes unnoticed because everything's stripped in the stage area, so no stage-qa complaints, just excess disk space use. The culprit is the upstream configure stuff, not something in FreeBSD. I am attaching my log. But I seriously ask everyone to respect my debugging= and solution and not fuss with distractions and excursions. Trust me to be able= to read my Poudriere error logs. All these questions are wasting my time.=20 So, unless there are substantiated vetos with better solutions brought up,= I may commit my patch 14 days after my proposal, or with maintainer approval, whichever comes first. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=