Re: git: c8c2d4f22536 - main - lang/python3: allow using LTO on powerpc64
Date: Sun, 26 Feb 2023 14:52:56 UTC
Piotr Kubaj <pkubaj@anongoth.pl> writes: > On 23-02-24 18:17:44, Jan Beich wrote: >>Piotr Kubaj <pkubaj@FreeBSD.org> writes: >> >>> The branch main has been updated by pkubaj: >>> >>> URL: https://cgit.FreeBSD.org/ports/commit/?id=c8c2d4f2253694802ef720f098c57800570ad2fc >>> >>> commit c8c2d4f2253694802ef720f098c57800570ad2fc >>> Author: Piotr Kubaj <pkubaj@FreeBSD.org> >>> AuthorDate: 2023-02-24 15:48:16 +0000 >>> Commit: Piotr Kubaj <pkubaj@FreeBSD.org> >>> CommitDate: 2023-02-24 15:48:16 +0000 >>> >>> lang/python3: allow using LTO on powerpc64 >>> >>> It was recently fixed and will be available in 13.2-RELEASE. >>> Since LTO is not enabled by default, it's ok to make it available. >>[...] >>> diff --git a/lang/python311/Makefile b/lang/python311/Makefile >>> index 537d1c352706..c1bbfa79002e 100644 >>> --- a/lang/python311/Makefile >>> +++ b/lang/python311/Makefile >>> @@ -50,7 +50,6 @@ PLIST_SUB= ABI=${ABIFLAGS} \ >>> >>> OPTIONS_DEFINE= DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC >>> OPTIONS_DEFAULT= LIBMPDEC LTO PYMALLOC >>> -OPTIONS_EXCLUDE_powerpc64= LTO >>> OPTIONS_EXCLUDE_riscv64= LTO >> >>Note, LTO is enabled by default in lang/python311. > > OK, I missed that, but 13.1 will be EOL in 4 months and we still haven't > switched even to 3.10 by default, so it's ok. What is the basis to consider 13.2-RELEASE as unaffected/fixed? I wonder whether to unblock LTO in my ports, all of which enable it by default. https://github.com/llvm/llvm-project/commit/4b09cb2b16eb has only been backported to Clang 16. However, FreeBSD 13.2 has Clang 14 while FreeBSD 14.0 will probably have Clang 15.