Re: Strip *.o files manually (dh_strip does not do it)
On Mon, Nov 9, 2009 at 2:25 AM, sobtwmxt sobtw...@sdf.lonestar.org wrote: 2.9.27 changelog.Debian contains Strip *.o files manually (dh_strip does not do it) to prevent leakage of the build directory. Can you send me the code that does that? I will probably only open a bug at dh_strip to include it. Please contact debian-glibc@lists.debian.org with your request.. This mailing list has nothing to do with the debian libc package. This mailing list is intended for upstream eglibc development. Cheers, Carlos. -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Strip *.o files manually (dh_strip does not do it)
On Mon, Nov 9, 2009 at 7:35 AM, Carlos O'Donell car...@systemhalted.org wrote: On Mon, Nov 9, 2009 at 2:25 AM, sobtwmxt sobtw...@sdf.lonestar.org wrote: 2.9.27 changelog.Debian contains Strip *.o files manually (dh_strip does not do it) to prevent leakage of the build directory. Can you send me the code that does that? I will probably only open a bug at dh_strip to include it. Please contact debian-glibc@lists.debian.org with your request.. This mailing list has nothing to do with the debian libc package. This mailing list is intended for upstream eglibc development. Sorry, erase those last two lines. I was looking at the wrong mailing list name. Either way, your question should still be directed to debian-glibc mailing list. Cheers, Carlos. -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Strip *.o files manually (dh_strip does not do it)
On Mon, Nov 09, 2009 at 04:04:36PM +, sobtwmxt wrote: 2.9.27 changelog.Debian contains Strip *.o files manually (dh_strip does not do it) to prevent leakage of the build directory. Can you send me the code that does that? ?I will probably only open a bug at dh_strip (debhelper) to include it within dh_strip. This is done the same way as for other objects, that is using: find . -name \*crt\*.o -exec objcopy --only-keep-debug '{}' ../$(libc)-dbg/usr/lib/debug/'{}' ';' || true; find . -name \*crt\*.o -exec objcopy --add-gnu-debuglink=../$(libc)-dbg/usr/lib/debug/'{}' '{}' ';' || true); find debian/$(curpass) -name \*crt\*.o -exec strip --strip-debug --remove-section=.comment --remove-section=.note --strip-unneeded '{}' ';' || true; -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Strip *.o files manually (dh_strip does not do it)
On Mon, Nov 09, 2009 at 07:37:29AM -0500, Carlos O'Donell wrote: Sorry, erase those last two lines. I was looking at the wrong mailing list name. Either way, your question should still be directed to debian-glibc mailing list. egl...@packages.debian.org is the debian-glibc list. -- Daniel Jacobowitz CodeSourcery -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org