From nobody Wed Jan 14 20:58:31 2026 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 4drz3q23mjz6NvmG for ; Wed, 14 Jan 2026 20:58:31 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4drz3q1Xflz489M for ; Wed, 14 Jan 2026 20:58:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768424311; 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=7mXJ+Avl3zG986RuOqWxQ8xzLRpEim7Akfwe1UnXr4k=; b=I1g6ydgme7rP98LLCnkdkboPzDdzm5vsIwqR+dZopctdnI8NYU7t5XGqodBrWJ20IHM7qh OacAoTEb7y1l7oumrIvqcVsd9vVkGX9lxl864+87kEu/6BiY5m21ag2ev2mfk5kYlx+SDy n9pG15kPE3jlMFJjilF+krZrc8MHvhfynVjx5hhBzn/okw29l8q5xuGZZ89KxCai3vJsOy pNOycpgSQzNjVwqANvm5kj8857a53UVCgnVooYDoJrreyTbByW87WHwCzbnqESyd9gdC6O UZzhdArc/VBYJBqoa4at7xQzazSgAzMwrdNGN5Mm9unbDT1QhBeo+bg88ThYTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1768424311; 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=7mXJ+Avl3zG986RuOqWxQ8xzLRpEim7Akfwe1UnXr4k=; b=R7/raQPl/QQdKXpAiTnzcuw7ENvG5Cadu4oDYlbylDSTtJzV5WREbfHlKJnXomIWCWOAII pIqFdFnlmjRYKrcxo3cB2DCQ22AoosCoQb5kUflgdJI/npmxhvTOgjyQiRImIuN4eLNM1T 6opfm02v6l485NoPGSQjNe59V7Wc8UG0RPI8npWjqbl2WtLnu9JVWfhLr7k2X+Hx2FWWjI xaRqgwav7FmNIpzWtt4iTXYUwTOvzQxgkRAfp86VgubJ2DC8oiuPwCO1NDLfZeZ+FvrAmi t225VAbXEHmeQ8FdcMVop0d1puRhc1WFsq9OM3UFNS3xfBPXnMYsYZ2KlfG7Fg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768424311; a=rsa-sha256; cv=none; b=xKx8PfGkVvMV4/TwiDzjiz98JYT24LLYN/+z3BMyZhSMcgSA//sAdRYlK7uajyu0yl0kZB 6oj8Cz64Y5iGCa1sdjahR+q1AfQgJB6BKX9skvVK4mbgpzYQ1L4fZzFBm7Ig9kOaMmqU4q MdL9h/wWaRG4NODQN+JRwOnapnA3/qhYd96gFOp7ukAIsXsavw1dxri85W9m2PIcP+OvGj UI0bvbEgnKE7d1/9U9AglRBRNXCrW3w0a97AqR49Il/kyYTHECu+yZTUW4dtMtXWCcW30G lZvO+yvIT7f3VkFOh9JhvNDTsDbVbnhvm8avoxoMqP85lyVr3h9/BNo7jRusSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4drz3q14T5z1DHZ for ; Wed, 14 Jan 2026 20:58:31 +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 60EKwVFf080849 for ; Wed, 14 Jan 2026 20:58:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 60EKwVP0080848 for python@FreeBSD.org; Wed, 14 Jan 2026 20:58:31 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 292384] Mk/Uses/python.mk: don't opt out from Features/zeroregs.mk Date: Wed, 14 Jan 2026 20:58:31 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 2khramtsov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292384 --- Comment #3 from Evgenii Khramtsov <2khramtsov@gmail.com> --- (In reply to Alexander Leidinger from comment #2) - HardenedBSD switched to zeroing =3D"used" rather than =3D"all" registers,= see https://github.com/HardenedBSD/ports/commit/feae5c19663a - Then removed python gate as well due to zeroreg becoming opt in: https://github.com/HardenedBSD/ports/commit/5f66cbd0fe9c - nix enabled -fzero-call-used-regs"=3Dused-gpr" by default, see: https://github.com/NixOS/nixpkgs/blob/20443e857583/doc/stdenv/stdenv.chapte= r.md#hardening-flags-enabled-by-default-sec-hardening-flags-enabled-by-defa= ult https://github.com/NixOS/nixpkgs/blob/20443e857583/doc/stdenv/stdenv.chapte= r.md#zerocallusedregs-zerocallusedregs - nix does not opt opt from zeroreg for cpython, see: https://github.com/NixOS/nixpkgs/blob/20443e857583/pkgs/development/interpr= eters/python/cpython/default.nix - Upstream has -fzero-call-used-regs related issue only citing minor performance regression not breakage: https://github.com/python/cpython/issues/130961 - exp-run isn't required for Features not enabled by default in the ports framework, see: https://github.com/freebsd/freebsd-ports/blob/0286baf75e6a/Mk/bsd.port.mk#L= 1005 - Current gate is too broad e.g. I want this for www/firefox not opt out - My local exp-run of limited coverage (~LLVM, ~Rust, ~KDE, ~Firefox, ~whatever) has not seen any fallout from either =3Dused vs. user-gpr --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=