From nobody Wed Apr 27 00:05:03 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 27D3D1993847 for ; Wed, 27 Apr 2022 00:05:04 +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 4KnzXH6lDhz3NJF for ; Wed, 27 Apr 2022 00:05:03 +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 C1D43192E2 for ; Wed, 27 Apr 2022 00:05:03 +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 23R053KO025976 for ; Wed, 27 Apr 2022 00:05:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23R0538U025975 for python@FreeBSD.org; Wed, 27 Apr 2022 00:05:03 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: Wed, 27 Apr 2022 00:05:03 +0000 X-Bugzilla-Reason: AssignedTo CC 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-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@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: flagtypes.name 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=1651017904; 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=vfCGZeYc45C70kQyvZKzY2GlRXe7j59cYhvfIQ4Ek90=; b=UszeNEWTDl92bvDhxf3qM83wpyMsNM9BPyzftBB8UW/GyD/p34/BO/cknuuQsKHiIP+uor SthZwRbt4FHu3zbYwcI7pM3mlX6fnoAO9P0IRjzr+EVfveZEM6J08qtzQ4yajxhPJnA+0G SLRzoTBR9heOPbc6JxBux0QIcxpL/5OpSLEe2SrFc3JVJHaWABDZE9oXLlHKrv5NjakHwo fqdbv/MpSks/YOlAr42uHb6wExLOKPzxSLrk62xhnHtSe02Q/xvhwOT1lqyPK9eb+oUrrQ VZ1b5x/FFDmBOo5VnO/XAS9RdvXZAUIUy4jNGaTr9ZK9f2XIXqUWyd+o0vtO8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651017904; a=rsa-sha256; cv=none; b=c0xVBpxVjz3R4r4KWYg/lQkF+4K+HZjsfJL7oYD45cXuC5VY7v+LplzPxXgROatcvCU6yV h8qro/31YzpBuf9OgfotHd8OVeuGHHI5GczOwqdUw8jsnkPx1FwSwTk+akAbSDMA/L2fDt EJuP0M+7yKZ8tNbdgK1wo+0m+n5oNTE/ahyBxN9G3Tg7NHvLrY/tpE2k8sv/V9fI7s7dYO VjM8JHQecRxfJFz736OHxgg4xUjwXAz86eIuLMeFLHuX1VUSSAGLSOoLU4DbAmlJVmq9QI z8lCCdWAgc+K5RiBk27gVbqbuRYMyMYLcp9iJ5jLQKrxiYgn+UB8BS77MTmChQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263353 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #233259|maintainer-approval?(python |maintainer-approval- Flags|@FreeBSD.org) | --- Comment #13 from Kubilay Kocak --- Comment on attachment 233259 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233259 remove -g from the CFLAGS/LDFLAGS unless WITH_DEBUG is set not empty and not "no". (In reply to Matthias Andree from comment #12) Please provide a patch against all Python port versions for your original proposal, for all affected Python versions (except python311), and, (if you would like), a patch against all Python versions removing LTO from OPTIONS_DEFAULT, resolving this issue as reported, until a correct and comp= lete change/resolution can be addressed by the team. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=