Changeset 00e8b532
- Timestamp:
- 07/28/2021 01:43:47 PM (2 years ago)
- Branches:
- ml-11.0, 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. - Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r64a306d r00e8b532 50 50 <itemizedlist> 51 51 <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> 52 73 <para>[xry111] - Use workaround for Glibc NSS modules during 53 74 stripping, to prevent bash from crash.</para> -
chapter03/packages.xml
r64a306d r00e8b532 48 48 <para>Download: <ulink url="&automake-url;"/></para> 49 49 <para>MD5 sum: <literal>&automake-md5;</literal></para> 50 <para>SHA256 sum: <literal>&automake-sha256;</literal></para> 50 51 </listitem> 51 52 </varlistentry> … … 227 228 <para>Download: <ulink url="&gcc-url;"/></para> 228 229 <para>MD5 sum: <literal>&gcc-md5;</literal></para> 230 <para>SHA256 sum: <literal>&gcc-sha256;</literal></para> 229 231 </listitem> 230 232 </varlistentry> … … 326 328 <para>Download: <ulink url="&inetutils-url;"/></para> 327 329 <para>MD5 sum: <literal>&inetutils-md5;</literal></para> 330 <para>SHA256 sum: <literal>&inetutils-sha256;</literal></para> 328 331 </listitem> 329 332 </varlistentry> -
chapter03/patches.xml
r64a306d r00e8b532 70 70 71 71 <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>80 72 <term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term> 81 73 <listitem> -
chapter06/coreutils.xml
r64a306d r00e8b532 47 47 48 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --libexecdir=/usr/lib \50 49 --host=$LFS_TGT \ 51 50 --build=$(build-aux/config.guess) \ -
chapter07/python.xml
r64a306d r00e8b532 81 81 <screen><userinput remap="make">make</userinput></screen> 82 82 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 83 96 <para>Install the package:</para> 84 97 -
chapter07/stripping.xml
r64a306d r00e8b532 91 91 92 92 <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> 105 105 106 106 <para>These commands will skip a number of files reporting that it does not … … 109 109 <quote>Binutils pass 2</quote>, since it is the one that knows how to strip 110 110 our cross-compiled programs.--></para> 111 112 <para>Take care <emphasis>NOT</emphasis> to use113 <parameter>--strip-unneeded</parameter> on the libraries. The static114 ones would be destroyed and the toolchain packages would need to be115 built all over again.</para>116 111 117 112 <para>At this point, you should have at least 5 GB of free space on the -
chapter08/coreutils.xml
r64a306d r00e8b532 70 70 FORCE_UNSAFE_CONFIGURE=1 ./configure \ 71 71 --prefix=/usr \ 72 --libexecdir=/usr/lib \73 72 --enable-no-install-program=kill,uptime</userinput></screen> 74 73 -
chapter08/gcc.xml
r64a306d r00e8b532 41 41 <sect2 role="installation"> 42 42 <title>Installation of GCC</title> 43 44 <para>First, apply a patch to fix some regressions and to cope45 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>48 43 49 44 <para>If building on x86_64, change the default directory name for 64-bit -
chapter08/strippingagain.xml
r64a306d r00e8b532 87 87 for BIN in $online_usrbin; do 88 88 cp /usr/bin/$BIN /tmp/$BIN 89 strip --strip- all/tmp/$BIN89 strip --strip-unneeded /tmp/$BIN 90 90 install -vm755 /tmp/$BIN /usr/bin 91 91 rm /tmp/$BIN … … 111 111 done</userinput><userinput> 112 112 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 113 for 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 118 117 *$(basename $i)* ) 119 118 ;; … … 135 134 done</userinput><userinput> 136 135 137 for i in $(find /usr/bin -type f); do138 case "$online_usrbin" in139 *$(basename $i)* )140 ;;141 * ) strip --strip-all $i142 ;;143 esac144 done145 146 find /usr/{sbin,libexec} -type f \147 -exec strip --strip-all {} ';'148 149 136 unset BIN LIB save_usrlib online_usrbin online_usrlib 150 137 </userinput></screen> -
chapter08/util-linux.xml
r64a306d r00e8b532 96 96 </warning> 97 97 98 <note><para>There is one test that fails i n the chroot envronment and99 causes the tests to hang forever. The problem does not occur outside100 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. 101 101 To work around the problem, delete the test:</para> 102 102 -
chapter10/grub.xml
r64a306d r00e8b532 113 113 <command>grub-install</command> will try to install files for the 114 114 <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> 117 118 </note> 118 119 -
packages.ent
r64a306d r00e8b532 39 39 <!ENTITY autoconf-fin-sbu "less than 0.1 SBU (about &autoconf-fin-sbu-tests; SBU with tests)"> 40 40 41 <!ENTITY automake-version "1.16. 3">41 <!ENTITY automake-version "1.16.4"> 42 42 <!ENTITY am-minor-version "1.16"> 43 <!ENTITY automake-size "1,5 54 KB">43 <!ENTITY automake-size "1,564 KB"> 44 44 <!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"> 46 47 <!ENTITY automake-home "&gnu-software;automake/"> 47 48 <!ENTITY automake-fin-du "115 MB"> … … 218 219 <!ENTITY gawk-fin-sbu "0.4 SBU"> 219 220 220 <!ENTITY gcc-version "11. 1.0">221 <!ENTITY gcc-size "7 7,032KB">221 <!ENTITY gcc-version "11.2.0"> 222 <!ENTITY gcc-size "78,996 KB"> 222 223 <!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"> 224 226 <!ENTITY gcc-home "https://gcc.gnu.org/"> 225 227 <!ENTITY gcc-tmpp1-du "3.7 GB"> … … 328 330 <!ENTITY iana-etc-fin-sbu "less than 0.1 SBU"> 329 331 330 <!ENTITY inetutils-version "2. 0">331 <!ENTITY inetutils-size "1,4 62KB">332 <!ENTITY inetutils-version "2.1"> 333 <!ENTITY inetutils-size "1,496 KB"> 332 334 <!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"> 334 337 <!ENTITY inetutils-home "&gnu-software;inetutils/"> 335 338 <!ENTITY inetutils-fin-du "31 MB">
Note:
See TracChangeset
for help on using the changeset viewer.