Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2015 15:50:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198611] Shared library build with libtool are no longer stripped with elftoolchain strip
Message-ID:  <bug-198611-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198611

            Bug ID: 198611
           Summary: Shared library build with libtool are no longer
                    stripped with elftoolchain strip
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: antoine@FreeBSD.org
                CC: portmgr@FreeBSD.org

Created attachment 154393
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154393&action=edit
Possible patch

>From libtool.m4:

%%%
# _LT_CMD_STRIPLIB
# ----------------
m4_defun([_LT_CMD_STRIPLIB],
[m4_require([_LT_DECL_EGREP])
striplib=
old_striplib=
AC_MSG_CHECKING([whether stripping libraries is possible])
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  AC_MSG_RESULT([yes])
else
# FIXME - insert some real tests, host_os isn't really good enough
  case $host_os in
...
  *)
    AC_MSG_RESULT([no])
    ;;
  esac
fi
%%%

With elftoolchain strip:

%%%
% strip -V
strip (elftoolchain r3163M)
%%%

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198611-13>