Re: Bulld failure of editors/libreoffoce only on main (aka -current)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Mon, 23 May 2022 16:49:05 UTC
Moin!

On 23.05.2022 19:03, Dimitry Andric wrote:
> On 23 May 2022, at 17:53, Tomoaki AOKI<junchoon@dec.sakura.ne.jp>  wrote:
>> After some discussion with Mark Millard on Bug 263976 and some tests,
>> I've changed the subject of it to "editors/libreoffice: Fails to build
>> if LLVM_DEFAULT=90 (default) and LTO=on (non-default)".
>>
>> With LTO option enabled, port default devel/llvm* (now it's 90
>> according to Mk/bsd.default-versions.mk) is forcibly used, thus causing
>> this problem.

llvm90 is too old to support LTO as intended :(

My own build farm for libreoffice and company have LTO disabled at all, 
so any good suggestions how to deal with LTO with minimal issues will be 
appreciated.

> Maybe it's time to bump the LLVM_DEFAULT version to 13 or 14 now?
> Although this would probably require an ex-run first. Brooks, do you
> think bumping to devel/llvm14 is too ambitious?

My recent -current jail is also have LLVM_DEFAULT=14 and not hit any 
serious issue yet:)


tcberner was initiated exp-run to make llvm13 as default some time ago

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263456



-- 
Sincerely,
Dima (fluffy@FreeBSD.org,https://t.me/dima_panov)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team