From nobody Tue Feb 15 17:10:24 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 54D9B19C6C1D for ; Tue, 15 Feb 2022 17:10:25 +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 4Jynf90CMCz4S3F for ; Tue, 15 Feb 2022 17:10:25 +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 DC2F125AE8 for ; Tue, 15 Feb 2022 17:10:24 +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 21FHAOZD079995 for ; Tue, 15 Feb 2022 17:10:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21FHAOBH079994 for python@FreeBSD.org; Tue, 15 Feb 2022 17:10:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 261974] lang/python311: add --enable-lto Date: Tue, 15 Feb 2022 17:10:24 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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=1644945025; 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=xLB3OtcIIMr5iyvO/I+uRsYZ0tRbdg5xg1SaZFkrFm8=; b=ZZMLWWz8b+B0txgl3yuE/+VRuFnsWyd6NbHG4W4F3SYTIWQIYzK5xjOyNveZkxhyCYb59+ WxW6+oCjEc2CBDW75mO19SeLWwO5WHqJQN/i670qzhMzAY4319lVGoNFr/XqMTM/AxVOr0 175ZBOnxcJOYUFIAFX5SWiR+Ijh02ZFyKRp9+cdoBoyVYELPRAif2wVkGqrD+pWeX1qm1o nsQW+BKpBLwNL4ekEqHxuJYpMnVR9Irhu+o7L4cYOrAPR/pYAbgakeG7VuSRzmelnwFWu8 b1gnL+itSZvbUwynlu2wrEsQqWaKFmmwNRRqVBvWYq7jWFpxgkox5P9u6luw1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644945025; a=rsa-sha256; cv=none; b=jWg1wkPBjcTLiovHIootr1pdqrX3xF2z7cX+1xO9PfxwJ+EcNYpMYnYJ/DyBO98PS7Ik1X xATFlF6qNbho5kR3a1p5ldACMShMp3F5HOFBgcAKYUDumyxTPY/it2meNeMJTWelnVJm9n K5cQF83T3aWOsCt+qYgjETQpx1DjG1F2NbUXTME06oZB4QC0+DRfQ5sU1iz3LdYOH5EMjz f+oV1jPvVmfI1P3vShRzBRP/2SlL0DR3EhHZd3g+BcGXs/2CNpQjEUpyqxJiGN4ot/o/03 w1+lp3o7//DKeoxVpg7k2DkAmJxGypj+l+nfDhFJCip0R3AlrNo8vW8vR2p3Gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-python (Nobody) for maintainer-feedback: Bug 261974: lang/python311: add --enable-lto https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261974 --- Description --- Off for riscv64 and powerpc64. configure.ac checks $CC, so we need to set it to clang if $CC =3D=3D cc. LD takes around 300MB for linking so it should be ok to enable it even for = 32 bit architectures. This patch should also be merged to older Python. At least 3.10 and 3.9 sho= uld build with LTO. It would be nice if it's done before 3.9 is made the defaul= t.