[Bug 262495] lang/python*: add option PGO and enable by default, add LTO option to python27 and enable by default

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Mar 2022 19:05:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262495

Piotr Kubaj <pkubaj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #232490|text/x-log                  |text/plain
          mime type|                            |

--- Comment #3 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
Created attachment 232490
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232490&action=edit
build log

Yes, for python27 the bug you pointed to is the issue.
However, it being only 27-related, is of minimal impact. If that causes an
issue, we could just drop LTO and PGO there.

Regarding PGO being default, I'm not sure it would cause many issues. Official
binaries by many projects already use PGO. E.g. official Firefox binaries from
Mozilla use PGO:
https://www.phoronix.com/scan.php?page=news_item&px=Firefox-Clang-LTO-All-Platforms

Regarding testing on GCC platforms, please have a look at the attached build
log. I think problems with GCC platforms are much more grave than some mere
Python issues :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.