Bug#40467: glibc and --strip-unneeded
I was wondering if the issues regarding running --strip-unneeded
have been resolved? It makes a difference of 128k. As I am working
on embedded systems, reclaiming that 128k would be very helpful.
[andersen@char linux]$ cp /lib/libc-2.1.2.so /tmp
[andersen@char linux]$ ls -sh /tmp/libc-2.1.2.so
999k /tmp/libc-2.1.2.so*
[andersen@char linux]$ strip --strip-unneeded /tmp/libc-2.1.2.so
[andersen@char linux]$ ls -sh /tmp/libc-2.1.2.so
871k /tmp/libc-2.1.2.so*
Also, as I was looking over the report in the debian bug tracking
system, I do not understand what you were trying to show by running
the library after saying "in particular this:". Perhaps I am dense, but:
[andersen@char linux]$ cp /lib/libc-2.1.2.so /tmp
[andersen@char linux]$ /tmp/libc-2.1.2.so > /tmp/test1
[andersen@char linux]$ cp /lib/libc-2.1.2.so /tmp
[andersen@char linux]$ strip --strip-unneeded /tmp/libc-2.1.2.so
[andersen@char linux]$ /tmp/libc-2.1.2.so > /tmp/test2
[andersen@char linux]$ diff -u /tmp/test1 /tmp/test2
[andersen@char linux]$
i.e. it does the same thing whether stripped or unstripped.
Could you explain to me what is wrong with --strip-unneeded for
GNU libc?
-Erik
--
Erik B. Andersen Web: http://www.xmission.com/~andersen/
email: andersee@debian.org
--This message was written using 73% post-consumer electrons--
Reply to: