[buildroot] $(STRIP) --strip-unneeded on a SHARED library...WHY?
Peter S. Mazinger
ps.m at gmx.net
Tue Dec 6 09:34:16 UTC 2005
On Tue, 6 Dec 2005, John Kelly wrote:
> On Mon, 05 Dec 2005 22:18:24 -0800, John Z Bohach <jzb at aexorsyst.com>
> >If you'd like to destroy your system, or build an otherwise useless one, see
> >what happens when you `strip --strip-unneeded` on a shared library.
> >I'm not sure if its worth patching, as I'm not certain of the future of
> >buildroot, but the $(STRIP) --strip-unneeded ... incantation is used in
> >numerous buildroot/package .mk files...most inappropriately on shared
> >libraries (.so's).
> Buildroot uses strip -x on my uclibc shared library and it works fine.
> I don't see a problem.
uClibc's objects are stripped (mostly) like that: $(STRIP) -x -R .note -R .comment
the shared libs are not stripped iirc
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the busybox