Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2022 17:10:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 261974] lang/python311: add --enable-lto
Message-ID:  <bug-261974-21822-bHJmXOFeWu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261974-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261974-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 261974: lang/python311: add --enable-lto
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261974



--- Description ---
Off for riscv64 and powerpc64.

configure.ac checks $CC, so we need to set it to clang if $CC == 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 should
build with LTO. It would be nice if it's done before 3.9 is made the default.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261974-21822-bHJmXOFeWu>