Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jul 2014 19:58:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191587] New: [mips] 'strip' corrupts static libraries
Message-ID:  <bug-191587-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191587

            Bug ID: 191587
           Summary: [mips] 'strip' corrupts static libraries
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
               URL: http://bpaste.net/show/8y6wgjoHTK5tpa6qOfwN/
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: Normal
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: sson@freebsd.org
                CC: garga@FreeBSD.org

In building various ports (such as devel/libpcre) I have noticed that 'strip'
corrupts the static library and the port build will fail.  To reproduce do the
following with an unstripped static library:

  root@erl:/tmp # ls -al libpcre.a 
  -rw-r--r--  1 sson  wheel  404446 Jun 11 18:52 libpcre.a
  root@erl:/tmp # strip --strip-debug libpcre.a 
  root@erl:/tmp # ls -al libpcre.a 
  -rw-r--r--  1 sson  wheel  403506 Jun 11 18:53 libpcre.a
  root@erl:/tmp # ranlib libpcre.a 
  ranlib: warning: can't find .strtab section
  ranlib: fatal: Invalid filename
  root@erl:/tmp # ls -al libpcre.a
  -rw-r--r--  1 sson  wheel  0 Jun 11 18:53 libpcre.a

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


home | help

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