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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"