Changeset 00e8b532 for chapter08


Ignore:
Timestamp:
07/28/2021 01:43:47 PM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib, xry111/multilib
Children:
ad40530
Parents:
64a306d (diff), 7f9a480 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge upstream changes

Location:
chapter08
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter08/coreutils.xml

    r64a306d r00e8b532  
    7070FORCE_UNSAFE_CONFIGURE=1 ./configure \
    7171            --prefix=/usr            \
    72             --libexecdir=/usr/lib    \
    7372            --enable-no-install-program=kill,uptime</userinput></screen>
    7473
  • chapter08/gcc.xml

    r64a306d r00e8b532  
    4141  <sect2 role="installation">
    4242    <title>Installation of GCC</title>
    43 
    44     <para>First, apply a patch to fix some regressions and to cope
    45     with the removal of an obsolete kernel header in linux-5.13:</para>
    46 
    47 <screen><userinput remap="pre">patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch</userinput></screen>
    4843
    4944    <para>If building on x86_64, change the default directory name for 64-bit
  • chapter08/strippingagain.xml

    r64a306d r00e8b532  
    8787for BIN in $online_usrbin; do
    8888    cp /usr/bin/$BIN /tmp/$BIN
    89     strip --strip-all /tmp/$BIN
     89    strip --strip-unneeded /tmp/$BIN
    9090    install -vm755 /tmp/$BIN /usr/bin
    9191    rm /tmp/$BIN
     
    111111done</userinput><userinput>
    112112
    113 find /usr/lib -type f -name \*.a \
    114    -exec strip --strip-debug {} ';'
    115 
    116 for i in $(find /usr/lib -type f -name \*.so* ! -name \*dbg); do
    117     case "$online_usrlib $save_usrlib" in
     113for i in $(find /usr/lib -type f -name \*.so* ! -name \*dbg) \
     114         $(find /usr/lib -type f -name \*.a)                 \
     115         $(find /usr/{bin,sbin,libexec} -type f); do
     116    case "$online_usrbin $online_usrlib $save_usrlib" in
    118117        *$(basename $i)* )
    119118            ;;
     
    135134done</userinput><userinput>
    136135
    137 for i in $(find /usr/bin -type f); do
    138     case "$online_usrbin" in
    139         *$(basename $i)* )
    140             ;;
    141         * ) strip --strip-all $i
    142             ;;
    143     esac
    144 done
    145 
    146 find /usr/{sbin,libexec} -type f \
    147     -exec strip --strip-all {} ';'
    148 
    149136unset BIN LIB save_usrlib online_usrbin online_usrlib
    150137</userinput></screen>
  • chapter08/util-linux.xml

    r64a306d r00e8b532  
    9696    </warning>
    9797
    98     <note><para>There is one test that fails in the chroot envronment and
    99     causes the tests to hang forever.  The problem does not occur outside
    100     of the chroot envronment.
     98    <note><para>There is one test that fails if the related config options
     99    are not enabled in the kernel of the host system.  The failure
     100    causes the tests to hang forever.
    101101    To work around the problem, delete the test:</para>
    102102
Note: See TracChangeset for help on using the changeset viewer.