Changes in / [64a306d:00e8b532]


Ignore:
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r64a306d r00e8b532  
    5050      <itemizedlist>
    5151        <listitem>
     52          <para>[xry111] - Update to GCC-11.2.0. Fixes
     53          <ulink url="&lfs-ticket-root;4883">#4883</ulink>.</para>
     54        </listitem>
     55        <listitem>
     56          <para>[xry111] - Update to inetutils-2.1. Fixes
     57          <ulink url="&lfs-ticket-root;4892">#4892</ulink>.</para>
     58        </listitem>
     59        <listitem>
     60          <para>[xry111] - Update to automake-1.16.4. Fixes
     61          <ulink url="&lfs-ticket-root;4894">#4894</ulink>.</para>
     62        </listitem>
     63        <listitem>
     64          <para>[xry111] - Always use --strip-unneeded for stripping.</para>
     65        </listitem>
     66      </itemizedlist>
     67    </listitem>
     68
     69    <listitem>
     70      <para>2021-07-27</para>
     71      <itemizedlist>
     72        <listitem>
    5273          <para>[xry111] - Use workaround for Glibc NSS modules during
    5374          stripping, to prevent bash from crash.</para>
  • chapter03/packages.xml

    r64a306d r00e8b532  
    4848        <para>Download: <ulink url="&automake-url;"/></para>
    4949        <para>MD5 sum: <literal>&automake-md5;</literal></para>
     50        <para>SHA256 sum: <literal>&automake-sha256;</literal></para>
    5051      </listitem>
    5152    </varlistentry>
     
    227228        <para>Download: <ulink url="&gcc-url;"/></para>
    228229        <para>MD5 sum: <literal>&gcc-md5;</literal></para>
     230        <para>SHA256 sum: <literal>&gcc-sha256;</literal></para>
    229231      </listitem>
    230232    </varlistentry>
     
    326328        <para>Download: <ulink url="&inetutils-url;"/></para>
    327329        <para>MD5 sum: <literal>&inetutils-md5;</literal></para>
     330        <para>SHA256 sum: <literal>&inetutils-sha256;</literal></para>
    328331      </listitem>
    329332    </varlistentry>
  • chapter03/patches.xml

    r64a306d r00e8b532  
    7070
    7171    <varlistentry>
    72       <term>GCC Upstream Fixes Patch - <token>&gcc-upstream-fixes-patch-size;</token>:</term>
    73       <listitem>
    74         <para>Download: <ulink url="&patches-root;&gcc-upstream-fixes-patch;"/></para>
    75         <para>MD5 sum: <literal>&gcc-upstream-fixes-patch-md5;</literal></para>
    76       </listitem>
    77     </varlistentry>
    78 
    79     <varlistentry>
    8072      <term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term>
    8173      <listitem>
  • chapter06/coreutils.xml

    r64a306d r00e8b532  
    4747
    4848<screen><userinput remap="configure">./configure --prefix=/usr                     \
    49             --libexecdir=/usr/lib             \
    5049            --host=$LFS_TGT                   \
    5150            --build=$(build-aux/config.guess) \
  • chapter07/python.xml

    r64a306d r00e8b532  
    8181<screen><userinput remap="make">make</userinput></screen>
    8282
     83    <note>
     84      <para>
     85        Some Python 3 modules can't be built now because the dependencies
     86        are not installed yet. The building system still attempts to build
     87        them however, so the compilation of some files will fail and the
     88        compiler message may seem to indicate <quote>fatal error</quote>.
     89        The message should be ignored.  Just make sure the toplevel
     90        <command>make</command> command has not failed.  The optional
     91        modules are not needed now and they will be built in
     92        <xref linkend="chapter-building-system"/>.
     93      </para>
     94    </note>
     95
    8396    <para>Install the package:</para>
    8497
  • chapter07/stripping.xml

    r64a306d r00e8b532  
    9191
    9292    <para>Strip off debugging symbols from binaries:</para>
    93 <screen arch="default" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib/*
    94 strip --strip-unneeded $LFS/usr/{,s}bin/*
    95 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    96 <screen arch="ml_32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,32}/*
    97 strip --strip-unneeded $LFS/usr/{,s}bin/*
    98 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    99 <screen arch="ml_x32" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,x32}/*
    100 strip --strip-unneeded $LFS/usr/{,s}bin/*
    101 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    102 <screen arch="ml_all" role="nodump"><userinput>strip --strip-debug $LFS/usr/lib{,{,x}32}/*
    103 strip --strip-unneeded $LFS/usr/{,s}bin/*
    104 strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     93<screen arch="default" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib/*
     94$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     95$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     96<screen arch="ml_32" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,32}/*
     97$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     98$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     99<screen arch="ml_x32" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,x32}/*
     100$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     101$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
     102<screen arch="ml_all" role="nodump"><userinput>$LFS_TGT-strip --strip-unneeded $LFS/usr/lib{,{,x}32}/*
     103$LFS_TGT-strip --strip-unneeded $LFS/usr/{,s}bin/*
     104$LFS_TGT-strip --strip-unneeded $LFS/tools/bin/*</userinput></screen>
    105105
    106106    <para>These commands will skip a number of files reporting that it does not
     
    109109    <quote>Binutils pass 2</quote>, since it is the one that knows how to strip
    110110    our cross-compiled programs.--></para>
    111 
    112     <para>Take care <emphasis>NOT</emphasis> to use
    113     <parameter>--strip-unneeded</parameter> on the libraries. The static
    114     ones would be destroyed and the toolchain packages would need to be
    115     built all over again.</para>
    116111
    117112    <para>At this point, you should have at least 5 GB of free space on the
  • 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
  • chapter10/grub.xml

    r64a306d r00e8b532  
    113113      <command>grub-install</command> will try to install files for the
    114114      <emphasis>x86_64-efi</emphasis> target, but those files
    115       have not been installed in chapter 6. If this is the case, add
    116       <option>--target i386-pc</option> to the command above.</para>
     115      have not been installed in <xref linkend="chapter-building-system"/>.
     116      If this is the case, add <option>--target i386-pc</option> to the
     117      command above.</para>
    117118    </note>
    118119
  • packages.ent

    r64a306d r00e8b532  
    3939<!ENTITY autoconf-fin-sbu "less than 0.1 SBU (about &autoconf-fin-sbu-tests; SBU with tests)">
    4040
    41 <!ENTITY automake-version "1.16.3">
     41<!ENTITY automake-version "1.16.4">
    4242<!ENTITY am-minor-version "1.16">
    43 <!ENTITY automake-size "1,554 KB">
     43<!ENTITY automake-size "1,564 KB">
    4444<!ENTITY automake-url "&gnu;automake/automake-&automake-version;.tar.xz">
    45 <!ENTITY automake-md5 "c27f608a4e1f302ec7ce42f1251c184e">
     45<!ENTITY automake-md5 "86e8e682bd74e6390a016c4d9c11267c">
     46<!ENTITY automake-sha256 "80facc09885a57e6d49d06972c0ae1089c5fa8f4d4c7cfe5baea58e5085f136d">
    4647<!ENTITY automake-home "&gnu-software;automake/">
    4748<!ENTITY automake-fin-du "115 MB">
     
    218219<!ENTITY gawk-fin-sbu "0.4 SBU">
    219220
    220 <!ENTITY gcc-version "11.1.0">
    221 <!ENTITY gcc-size "77,032 KB">
     221<!ENTITY gcc-version "11.2.0">
     222<!ENTITY gcc-size "78,996 KB">
    222223<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz">
    223 <!ENTITY gcc-md5 "77f6252be0861ab918042acf42bc10ff">
     224<!ENTITY gcc-md5 "31c86f2ced76acac66992eeedce2fce2">
     225<!ENTITY gcc-sha256 "d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b">
    224226<!ENTITY gcc-home "https://gcc.gnu.org/">
    225227<!ENTITY gcc-tmpp1-du "3.7 GB">
     
    328330<!ENTITY iana-etc-fin-sbu "less than 0.1 SBU">
    329331
    330 <!ENTITY inetutils-version "2.0">
    331 <!ENTITY inetutils-size "1,462 KB">
     332<!ENTITY inetutils-version "2.1">
     333<!ENTITY inetutils-size "1,496 KB">
    332334<!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.xz">
    333 <!ENTITY inetutils-md5 "5e1018502cd131ed8e42339f6b5c98aa">
     335<!ENTITY inetutils-md5 "4e7676d1980e57c7df665e5c5c3c1047">
     336<!ENTITY inetutils-sha256 "01b9a4bc73a47e63f6e8a07b76122d9ad2a2e46ebf14870e9c91d660b5647a22">
    334337<!ENTITY inetutils-home "&gnu-software;inetutils/">
    335338<!ENTITY inetutils-fin-du "31 MB">
Note: See TracChangeset for help on using the changeset viewer.