maintainer-feedback requested: [Bug 271475] security/nss: investigate dropping binutils

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 May 2023 21:57:31 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-feedback:
Bug 271475: security/nss: investigate dropping binutils
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271475



--- Description ---
Chimera Linux applied patch [1] to allow build without binutils.

Consider pulling [1] from cports, as this would allow to build NSS when LLVM IR
is generated which is not understood by binutils. This is prerequisite for e.g.
ThinLTO (LTO (fat LTO) != ThinLTO) or -fsanitize for CFI.

I can't test build or runtime at the moment, but NSS with [1] applied used to
build on Gentoo here (musl + LLVM without binutils or gcc, global ThinLTO). 

[1]:
https://github.com/chimera-linux/cports/blob/f3e0e579542e/main/nss/patches/clan
g-ias.patch