[Bug 263976] editors/libreoffice: Fails to build if LLVM_DEFAULT=90 (default) and LTO=on (non-default)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 22 May 2022 22:50:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263976

--- Comment #13 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Dimitry Andric from comment #10)

Mk/bsd.default-versions.mk has

.  if ${ARCH} == powerpc
LLVM_DEFAULT?=          10
.  else
LLVM_DEFAULT?=          90
.  endif

lines in it, so unless otherwise specified, 90 is preferred except powerpc.
Maybe editors/libreoffice should specify known-to-be-safe one in its Makefile
if LTO=on.

Looking into dependents on FreshPorts, 10 and 11 have few dependencies, while
12 and 13 has more dependents, including mesa related ones (except mesa-dri)
for 12 and chromium, firefox, mesa-dri,... for 13.
So I think 10 and 11 would not be a proper option, even if they are fine for
lireoffice.

As other giants (www/chromium, www/firefox, ...) use 13, and I've already
confirmed 13 is OK, I'd like to suggest 13 as default for editors/libreoffice,
too.

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