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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 20 17:09:28 UTC 2014


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

na at rtfm.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |na at rtfm.net

--- Comment #17 from na at rtfm.net ---
No need for ports collection to reproduce this bug, simply:

$ 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
$ strip misc.a
$ ranlib misc.a
ranlib: warning: can't find .strtab section
ranlib: fatal: Invalid filename
$ ranlib misc2.a
$

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


More information about the freebsd-mips mailing list