Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2022 23:11:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 263976] editors/libreoffice: Fails to build if LLVM_DEFAULT=90 (default) and LTO=on (non-default)
Message-ID:  <bug-263976-25061-i74lwOlOEO@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

--- Comment #14 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Tomoaki AOKI from comment #13)

The note's wording presumes that LTO has been enabled.
Otherwise no devel/llvm* is used at all that way
editors/libreoffice is currently set up. The only thing
that creates a use of a devel/llvm* is the code that I
keep quoting from editors/libreoffice/Makefile :

QUOTE
.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
END QUOTE

That code is only for LTO enabled --with a clang
compiler type also identified. Otherwise, no
port-based toolchain is caused to be used.

--=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-i74lwOlOEO>