From nobody Sun Apr 24 23:21:56 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 42C751997860 for ; Sun, 24 Apr 2022 23:21:56 +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 4KmkgR6wBrz3NPf for ; Sun, 24 Apr 2022 23:21:55 +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 CDA497B04 for ; Sun, 24 Apr 2022 23:21:55 +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 23ONLtfq078826 for ; Sun, 24 Apr 2022 23:21:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23ONLthC078825 for python@FreeBSD.org; Sun, 24 Apr 2022 23:21:55 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/python3*: Fails to link with LTO: Python includes unconditionally adds -g to --with-lto Date: Sun, 24 Apr 2022 23:21:56 +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: keywords 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=1650842516; 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=R5jExhbxcSkqpI+4QMK7izEOpYehO/+87mtKZt65mRA=; b=ISHFik6vF9ZBF0Gq/C+dQC8r4SAlTl8RHehBtNdLZUs7cYmbtShhCRwEaniEjVvoOh3Y+r xdsXdKywU8Bgww91FuCGVo8I5itCqpjJ8TDomiO4v7IFK5hMNuXp0wKIuUNVkKpuw1CupV 45hd8R+FRo1KVmITWvkqeGvKjlHj7MCam00pUhKYvRbeRrRrs6lZfwJjXtgyBbV23MQXF5 XSPTdQ5Uu9vI+xVMiBgBOjJQq4pVdyw+iRQVf88/gBbJ7BFtbgAVha/DS7gzYCjNqB9I99 JP+DMrZke7F5O87BCJBnSojUBn0RY5snxQ/h04XTNQaeBKPIFi8VYFVSE5QMHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650842516; a=rsa-sha256; cv=none; b=XzfRM+tiMB/Ly9sm2qYpPLztZR2MAGA+e03qLFlzlvJhWipVm5aXd3YMpczR2AxLJwzRz9 NZiXiyCvOKjeDUNUkN/Ku8D0HaHIdOt3DLR+cuJJsXVw2Kf4uruEceKWYNf0x+7XHR5+Sl 3ZW+FcKPZ/urjJgaq73q4wcxApXeYhtfJFin/nZTkkO1yIOgdJ4EAzPz8PCEYSaEivvf0j f4a4KLX4Bsjxotq6kTrnknfRzudP4sjn2Bq42glz1iQVTY9Y/t0OxKvxMpaheoIedrwvn5 HatHchruQEDuo/gJhA/vTpHU6DGdHmAPIuzDvrY+w9GMuT51bMEeaQiPaoMQtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263353 Matthias Andree changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-patch | --- Comment #6 from Matthias Andree --- koobs@,=20 we cannot work like that and leave ports regressed and non-building just because someone wants to have the perfect fix, possibly sitting the fix out until the cows come home (*) I don't buy your PGO consideration: What piece of the code would enable PGO anyways? The configure stage suggests to --enable-optimizations (which we do not do) to enable PGO, "make configure" is sufficient to see that. We don't= see the regression that prompted the upstream change, and given the nature of t= he latter, I contend that it's trying to downstream (as in Python) fix compiler bugs. And now you're talking to me about unfitting patches. I fail to see what benefit -ftlto=3Dthin would bring, because it does not t= ake any of your objectsion away; but feel free to run it and see how far it red= uces size of the wkrdir and peak linker memory use, and if it really achieves the same goals, commit before maintainer timeout. I am not wasting more time. (*) I do not care about minimal deviation from upstream on a life support branch (which is what Python 3.7 and 3.8 are, security fix only). The build regression is real, and the easy fix would have been to just reve= rt the offending commit and possibly bump PORTEPOCH, which I haven't done alth= ough I could perfectly have invoked the "fix broken build" blanket just as well. We can always refine fixes later, but barring a better solution in due time (end April), we need a solution and we need to get the short-term fix in pl= ace and get it out of the (time-)critical path. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=