[lfs-book] [LFS Trac] #4076: Optionally exclude libs needed for a sane debugger from stripping

LFS Trac trac at linuxfromscratch.org
Fri Apr 21 13:57:35 PDT 2017


#4076: Optionally exclude libs needed for a sane debugger from stripping
--------------------+-------------------------
 Reporter:  dj@…    |       Owner:  lfs-book@…
     Type:  task    |      Status:  new
 Priority:  normal  |   Milestone:  8.1
Component:  Book    |     Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+-------------------------

Comment (by bdubbs@…):

 I needed to get the debug libs on my current development system.  It was a
 hassle.

 {{{
 -rwxr-xr-x 1 root root  1244312 Apr 21 15:35 ld-2.25.so
 -rwxr-xr-x 1 root root   149232 Apr 21 15:03 ld-2.25.so.sav
 -rwxr-xr-x 1 root root  2167232 Apr 21 15:36 libpthread-2.25.so
 -rwxr-xr-x 1 root root   106096 Apr 21 15:04 libpthread-2.25.so.sav
 -rwxr-xr-x 1 root root 14950464 Apr 21 15:36 libc-2.25.so
 -rwxr-xr-x 1 root root  1709880 Apr 21 15:03 libc-2.25.so.sav
 -rwxr-xr-x 1 root root   567888 Apr 21 15:37 libthread_db-1.0.so
 -rwxr-xr-x 1 root root    35624 Apr 21 15:04 libthread_db-1.0.so.sav
 }}}

 I had to boot to another lfs instance to be able to copy the files.  It
 would not be a problem from the host and /mnt/lfs/lib, but if the user
 decides to do it after booting, it's a bit more complex.  I don't know
 where we should put that discussion -- page, wiki, hint?

--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/4076#comment:6>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.


More information about the lfs-book mailing list