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 72F2919C6A3A 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 4Jynf91xDCz4S5w 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 1DE6426353 for ; Tue, 15 Feb 2022 17:10:25 +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 21FHAPIL080003 for ; Tue, 15 Feb 2022 17:10:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21FHAPt0080002 for python@FreeBSD.org; Tue, 15 Feb 2022 17:10:25 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 261974] lang/python311: add --enable-lto Date: Tue, 15 Feb 2022 17:10:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: pkubaj@FreeBSD.org 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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=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; bh=joZ5ZTDzymkP4cVNRGnsXyEBuVQBH04lOogo2yjEq6I=; b=IUWDmCfS46Y50Oismz4iuOW+p0pgSsf+ncDXfwVfuwd8WMHhM3Tljwx9+gV65rBHaT/TJs ZUoXMiAxWhWCqBHBX4uH7EehfuvGNn8kWe6UazD7eKaF1JshuTQw8EoeLMn6twre/j2iM1 pfO50ZAu+xBOd8nRC43kMYuQLUvoqww5CtF473THTuWvaCePYpYrWoKPS4u7Dlw00IRtXM oGVdr4hI/go+UFeexsk9Qi/YhApyPGs3At3EqzrNOtDH8MVjTypR3fCMWOVS4VPfc3MG4A 9oTirwD+xbCB8fIaXmBleAytrRfUNJVCFkWPM80SMJgyLDDAPZIQT+r9xw5Ekw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644945025; a=rsa-sha256; cv=none; b=HioFPuS0keo/NBUGIaluT3v8l2Z594vwmDm0CjQOSOM9vJTiRF9OBT6APP6JhAMyFNQmRc iUb1wdbbpTlIlkjTW5mdoxzHz69ODA+7iJ0cKH5v8mCfFUomYjmtG/0VLgvy0SH98fDRyt bKNs5arxietdGlM6MaW8OFRiWtnfCnDt6JZacWimO01WVxR4xzFSHnF5AUbfT9zlGJoDv2 cc3YmwDAAVW4Y3EgpNieG2gi1QuknVNJp0xUKJCxMO7oyBmioSeX9PwgQb81y1C0GmQWrL +YxTo1db2BuYaXbYReaRmYWnSus48GGCkEoU23W+KG8x6zuf2CtqeZE8UsSs3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261974 Bug ID: 261974 Summary: lang/python311: add --enable-lto Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: pkubaj@FreeBSD.org Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org 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. --=20 You are receiving this mail because: You are the assignee for the bug.=