[Bug 191587] [mips] 'strip' corrupts static libraries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 28 22:09:41 UTC 2014


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

--- Comment #18 from Ed Maste <emaste at freebsd.org> ---
It looks like this is currently fixed in the in-tree libelf, and in upstream
elftoolchain libelf. I have work in progress to switch to strip (and other
tools) from the elftoolchain project, see https://reviews.freebsd.org/D1224.

After installing strip from there I see:

root at erl:~ # echo 'int fun(int x){return x+42;}' > misc.c && cc -c misc.c && ar
-rc misc.a misc.o && cp misc.a misc2.a
root at erl:~ # strip misc.a
root at erl:~ # ranlib misc.a
ranlib: warning: can't find .strtab section
root at erl:~ # ranlib misc2.a
root at erl:~ #

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


More information about the freebsd-mips mailing list