[Bug 270663] USE_BINUTILS does not include STRIP

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 05 Apr 2023 20:29:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270663

            Bug ID: 270663
           Summary: USE_BINUTILS does not include STRIP
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: emaste@freebsd.org
                CC: ports-bugs@FreeBSD.org

Mk/bsd.port.mk has

.    if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS)
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
BINUTILS?=  ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \
    READELF SIZE STRINGS
...

We are attempting to fix issues arising from WITH_LLVM_BINUTILS (see PR258872)
and a number of ports are failing due to llvm-strip being overly strict. I
would like to add a LLVM_STRIP_UNSAFE tag (similar to the existing LLD_UNSAFE)
but it appears USE_BINUTILS has no provision for using binutils strip?

-- 
You are receiving this mail because:
You are on the CC list for the bug.