Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2023 15:52:56 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: c8c2d4f22536 - main - lang/python3: allow using LTO on powerpc64
Message-ID:  <ttz8-eawn-wny@FreeBSD.org>
In-Reply-To: <Y/kEyZqk/3bUoSbk@KGPE-D16> (Piotr Kubaj's message of "Fri, 24 Feb 2023 19:41:13 %2B0100")
References:  <202302241548.31OFmQ39049727@gitrepo.freebsd.org> <o7pj-6kzr-wny@FreeBSD.org> <Y/kEyZqk/3bUoSbk@KGPE-D16>

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

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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ttz8-eawn-wny>