Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2022 23:58:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 263976] editors/libreoffice: Fails to build using llvm/clang14 on recent src main
Message-ID:  <bug-263976-25061-shh7YFYOAz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263976-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263976-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263976

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Quoting the "Actual error log":

QUOTE
/usr/local/bin/clang++90
END QUOTE

Twice. I expect that earlier material in the
build log is likely relevant to why it it is
using clang 9.0 instead of something more modern
like 13 or 14.

The logic I see in the editors/libreoffice/Makefile
looks like:

.if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} =3D=3D clang
CPP=3D    ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
CC=3D     ${LOCALBASE}/bin/clang${LLVM_DEFAULT}
CXX=3D    ${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
BUILD_DEPENDS+=3D ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DE=
FAULT}
LLD_UNSAFE=3D     yes
.endif

That should mean that LLVM_DEFAULT ended up as "90",
not "13" or "14".

What has presented does not appear to be enough to
trace back to why "90" was in use.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263976-25061-shh7YFYOAz>