--- Em dom, 27/1/13, Bruce Dubbs escreveu:
> De: Bruce Dubbs
> Assunto: Re: [blfs-book] r10979 - in trunk/BOOK
> Para: "BLFS Book Maintenance List"
> Data: Domingo, 27 de Janeiro de 2013, 15:08
> Fernando de Oliveira wrote:
>
> > I understand that. But for packages which have "big"
> sizes and/or
> > build times, I believe it would be good to include
> optional stripping
> > instructions, again, not only for practical, but also
> for educational
> > purpose.
>
> I agree with that.
Ok.
> > As I wrote before, I have many doubts about this strip
> thing. For
> > example, how to avoid this kind of warnings:
> >
> > "strip:OpenJDK-1.7.0.9-2.3.4/jre/lib/rhino.jar: File
> format not
> > recognized"
>
> Try something like:
>
> find /lib /usr/lib /opt/kde/lib -name \*.so.* -type f -exec
> strip -d {} \;
>
> From executables, you can do the same but use
> --strip-unneeded or
> perhaps --strip-all. I'd need to experiment.
>
Thanks.
> > or is it possible that after stripping, a package will
> stop running for
> > some reason and I will have to build it again? This
> question made me do
> > the opposite of striping: increase the space occupied
> by a package.
> > How? Keeping the original not-stripped, just in case. I
> am not doing it
> > anymore.
>
> If you do -s (--strip-all) on a library, I think it can make
> it unusable.
Thanks.
> > Other question: should I always use "--strip-unneeded",
> I am not doing
> > it in OpenJDK, only with LibreOffice.
> >
> > If BLFS is not including these explanations, is there a
> good page to
> > learn about these matters?
>
> It's mentioned in LFS, both in Chapter 5 and Chapter 6.
>
> -- Bruce
Hope you have the patience and time to read the following.
I have read that before many times, but during this discussion, only
after you mentioned. Do not know why I forgot that. But after some
effort, I remembered that those pages always gave me the impression
that they were not "generic", just for the intended purpose.
Interesting that "strip" deserves two pages in LFS, none in BLFS. I
still think (IMHO) that a small paragraph about it would be helpful,
probably in "Notes on Building Software", if it does not deserve a
page. Those LFS pages could be referred to as could that page
<http://www.technovelty.org/linux/stripping-shared-libraries.html>
It is very clarifying (had read it some months ago, but it was a long
discussion here, and for some reason, I had the attitude "keep in mind
to understand later", then). Thanks, Randy.
For my personal doubts, in the future I will ask for help in the
support list.
[]s,
Fernando
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page