Date: Fri, 28 Nov 2014 22:09:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 191587] [mips] 'strip' corrupts static libraries Message-ID: <bug-191587-27794-aVu6jijnaO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191587-27794@https.bugs.freebsd.org/bugzilla/> References: <bug-191587-27794@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191587 --- Comment #18 from Ed Maste <emaste@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@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@erl:~ # strip misc.a root@erl:~ # ranlib misc.a ranlib: warning: can't find .strtab section root@erl:~ # ranlib misc2.a root@erl:~ # -- 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-191587-27794-aVu6jijnaO>