[buildroot] $(STRIP) --strip-unneeded on a SHARED library...WHY?
Peter S. Mazinger
ps.m at gmx.net
Tue Dec 6 09:25:27 UTC 2005
On Mon, 5 Dec 2005, John Z. Bohach wrote:
> On Monday 05 December 2005 22:32, John Kelly wrote:
> > On Mon, 05 Dec 2005 22:18:24 -0800, John Z Bohach <jzb at aexorsyst.com>
> > wrote:
> > >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.
> Okay...here's an idea:
> `strip --strip-unneeded /lib/libuClibc*`
are you sure you used the correct strip (it is that you render your libs
useless, if you use the host strip against the cross-compiled libs)
> What have you got to lose? But you may see a problem afterwards...
> P.S.: You might want to consult the strip manpage and see if there's a slight
> difference between the -x and the --strip-unneeded options...
> Do note that my original post refers to '--strip-unneeded'...
> > _______________________________________________
> > busybox mailing list
> > busybox at busybox.net
> > http://busybox.net/cgi-bin/mailman/listinfo/busybox
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