Changeset 6c8a79a


Ignore:
Timestamp:
04/23/2017 03:28:50 AM (7 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
72031fe0
Parents:
7e9e040
Message:

Add instructions to save debugging information for selected libraries when
stripping at the end of Chapter 6.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11226 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r7e9e040 r6c8a79a  
    4444-->
    4545    <listitem>
     46      <para>2017-04-22</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[bdubbs] - Add instructions to save debugging
     50          information for selected libraries when stripping at
     51          the end of Chapter 6. Fixes
     52          <ulink url="&lfs-ticket-root;4076">#4076</ulink>.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
     56
     57    <listitem>
    4658      <para>2017-04-11</para>
    4759      <itemizedlist>
  • chapter06/strippingagain.xml

    r7e9e040 r6c8a79a  
    2222  <command>strip</command> command, it is a good idea to make a
    2323  backup of the LFS system in its current state.</para>
     24
     25  <para>First back up some libraries that are needed when running regression
     26  tests in BLFS packages:</para>
     27
     28<screen><userinput>save_libs="ld- libatomic libc- libcilkrts ligfortran libgo libgomp"
     29save_libs="$save_libs libitm libmpx libobjc libpthread libquadmath"
     30save_libs="$save_libs libsanitizer libstdc++ libthread_db libvtv"
     31
     32mkdir -p /var/dbg/lib /var/dbg/usr/lib
     33
     34for lib in $save_libs
     35do
     36    find /usr/lib -name ${lib}*so* -type f -exec cp {} /var/dbg/usr/lib \;
     37    find /lib     -name ${lib}*so* -type f -exec cp {} /var/dbg/lib     \;
     38done</userinput></screen>
    2439
    2540  <para>Before performing the stripping, take special care to ensure that
     
    5368  warnings indicate that those files are scripts instead of
    5469  binaries.</para>
     70
     71  <para>If desired, restore the saved libraries with the debug data
     72  intact.  The files can restored now or just held for later use.  Note
     73  that several of the files cannot be copied directly after rebooting
     74  to the new LFS system. Later use requires booting to another system,
     75  mounting the LFS partition, and then copying the files.</para>
     76
     77<screen><userinput>cp -av /var/dbg/lib/* /lib
     78cp -av /var/dbg/usr/lib/* /usr/lib</userinput></screen>
     79
    5580</sect1>
  • general.ent

    r7e9e040 r6c8a79a  
    1 <!ENTITY version         "SVN-20170411">
     1<!ENTITY version         "SVN-20170422">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20170411-systemd">
     6<!ENTITY versiond        "20170422-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
Note: See TracChangeset for help on using the changeset viewer.