Bug 271475

Summary: security/nss: investigate dropping binutils
Product: Ports & Packages Reporter: (intentionally left blank) <throwaway_vthgwq4>
Component: Individual Port(s)Assignee: freebsd-gecko (Nobody) <gecko>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (gecko)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description (intentionally left blank) 2023-05-17 21:57:31 UTC
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/clang-ias.patch