[Bug 257765] databases/mongodb44: Fix crash on aarch64

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 20 Aug 2021 12:36:26 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257765

--- Comment #6 from Mikael Urankar <mikael_at_FreeBSD.org> ---
(In reply to Ronald Klop from comment #3)
We should exclude LTO based on the compiler version not on the FreeBSD version.
I tried this but it doesn't work :(

.include <bsd.port.pre.mk>

.if ${ARCH} == aarch64 && ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} ==
120
OPTIONS_EXCLUDE=       LTO # Does not work with llvm12 on aarch64.
.endif


is it worth keeping LTO on aarch64? What are the benefits? Should we put a dep
on llvm11 instead (it'll increase build time unfortunately)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Aug 20 2021 - 12:36:26 UTC

Original text of this message