Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2021 12:36:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257765] databases/mongodb44: Fix crash on aarch64
Message-ID:  <bug-257765-7788-NmmyT5Yqs2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257765-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257765-7788@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=3D257765

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

.include <bsd.port.pre.mk>

.if ${ARCH} =3D=3D aarch64 && ${COMPILER_TYPE} =3D=3D clang && ${COMPILER_V=
ERSION} =3D=3D
120
OPTIONS_EXCLUDE=3D       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)?

--=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-257765-7788-NmmyT5Yqs2>