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

LFS Trac trac at linuxfromscratch.org
Sat Apr 15 12:19: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@…):

 This appears to be a good thing to do, but I would implement it slightly
 differently.   I'd create /var/dbg/lib and /var/dbg/usr/lib (the names of
 the directories are not particularly critical) and put the non-stripped
 files there.  The user could then copy them to /lib and /usr/lib as needed
 or desired, but not copy back to the main /lib directories automatically.

 We might even want to create a parallel set of directories for storage of
 the stripped libraries and a couple of scripts to copy one set or the
 other into /usr/lib and /lib.

 This later suggestion would probably be better as a hint.

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


More information about the lfs-book mailing list