| Summary: | Mk/bsd.port.mk: USE_BINUTILS does not include STRIP | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Ed Maste <emaste> |
| Component: | Ports Framework | Assignee: | Port Management Team <portmgr> |
| Status: | New --- | ||
| Severity: | Affects Only Me | CC: | cy, ehaupt, freebsd, pat, ports-bugs |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
| See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258872 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270961 |
||
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?