[Bug 271475] security/nss: investigate dropping binutils

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 May 2023 21:57:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271475

            Bug ID: 271475
           Summary: security/nss: investigate dropping binutils
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: throwaway_vthgwq4@protonmail.com
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.