Changeset 51b58ad
- Timestamp:
- 03/31/2021 10:41:39 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- c63253fb
- Parents:
- ce2f9d8
- git-author:
- Thomas Trepl <thomas@…> (07/08/2020 07:36:00 PM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rce2f9d8 r51b58ad 46 46 --> 47 47 <listitem> 48 <para>2020-07-07</para> 49 <itemizedlist> 50 <listitem> 51 <para>[pierre] - Make libelf install in /lib, since it may be 52 needed by iproute2 before /usr is mounted (report by 53 <ulink url="http://lists.linuxfromscratch.org/pipermail/lfs-dev/2020-July/073903.html"> 54 Roger</ulink>).</para> 55 </listitem> 56 </itemizedlist> 57 </listitem> 58 59 <listitem> 60 <para>2020-07-06</para> 61 <itemizedlist> 62 <listitem> 63 <para>[pierre] - Change chapter 6 ncurses so that it matches 64 what is done in chapter 8, and add explanations.</para> 65 </listitem> 66 <listitem> 67 <para>[renodr] - Update to libcap-2.38. Fixes 68 <ulink url="&lfs-ticket-root;4683">#4683</ulink>.</para> 69 </listitem> 70 <listitem> 71 <para>[renodr] - Update to linux-5.7.7. Fixes 72 <ulink url="&lfs-ticket-root;4681">#4681</ulink>.</para> 73 </listitem> 74 <listitem revision="systemd"> 75 <para>[renodr] - Update to dbus-1.12.20 (Security Update). Fixes 76 <ulink url="&lfs-ticket-root;4682">#4682</ulink>.</para> 77 </listitem> 78 </itemizedlist> 79 </listitem> 80 81 <listitem> 82 <para>2020-07-04</para> 83 <itemizedlist> 84 <listitem> 85 <para>[pierre] - Remove /tools and files containing 86 {i686,x86_64}-lfs in their name at the end of chapter 8.</para> 87 </listitem> 88 <listitem> 89 <para>[pierre] - Add --host= to libstdc++-pass2, so that host 90 specific headers are installed in a host specific directory.</para> 91 </listitem> 92 <listitem> 93 <para>[pierre] - Fix temporary Python so that static libraries 94 are not installed.</para> 95 </listitem> 96 </itemizedlist> 97 </listitem> 98 99 <listitem> 48 100 <itemizedlist> 49 101 <para>2020-07-01</para> -
chapter01/whatsnew.xml
rce2f9d8 r51b58ad 67 67 <para>DejaGNU-&dejagnu-version;</para> 68 68 </listitem>--> 69 < !--<listitem revision="systemd">69 <listitem revision="systemd"> 70 70 <para>D-Bus-&dbus-version;</para> 71 </listitem> -->71 </listitem> 72 72 <!--<listitem> 73 73 <para>Diffutils-&diffutils-version;</para> -
chapter06/ncurses.xml
rce2f9d8 r51b58ad 121 121 122 122 <para>Install the package:</para> 123 <!-- TODO: check and document --> 123 124 124 <screen><userinput remap="install">make DESTDIR=$LFS TIC_PATH=$(pwd)/build/progs/tic install 125 ln -s libncursesw.so $LFS/usr/lib/libncurses.so</userinput></screen> 125 echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</userinput></screen> 126 127 <variablelist> 128 <title>The meaning of the install options:</title> 129 130 <varlistentry> 131 <term><parameter>TIC_PATH=$(pwd)/build/progs/tic</parameter></term> 132 <listitem> 133 <para>We need to pass the path of the just built 134 <command>tic</command> able to run on the building machine, so that 135 the terminal database can be created without errors.</para> 136 </listitem> 137 </varlistentry> 138 139 <varlistentry> 140 <term><command>echo "INPUT(-lncursesw)" > $LFS/usr/lib/libncurses.so</command></term> 141 <listitem> 142 <para>The <filename>libncurses.so</filename> library is needed by 143 a few packages we will build soon. We create this small linker 144 script, as this is what is done in <xref 145 linkend="chapter-building-system"/>.</para> 146 </listitem> 147 </varlistentry> 148 149 </variablelist> 126 150 127 151 <para>Move the shared libraries to the -
chapter07/libstdc++-pass2.xml
rce2f9d8 r51b58ad 63 63 <para>Prepare libstdc++ for compilation:</para> 64 64 65 <screen arch="default"><userinput remap="configure">../libstdc++-v3/configure \ 66 CXXFLAGS="-g -O2 -D_GNU_SOURCE" \ 67 --prefix=/usr \ 68 --disable-multilib \ 69 --disable-nls \ 65 <screen arch="default"><userinput remap="configure"> 66 ../libstdc++-v3/configure \ 67 CXXFLAGS="-g -O2 -D_GNU_SOURCE" \ 68 --prefix=/usr \ 69 --disable-multilib \ 70 --disable-nls \ 71 --host=$(uname -m)-lfs-linux-gnu \ 70 72 --disable-libstdcxx-pch</userinput></screen> 71 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../libstdc++-v3/configure \72 CXXFLAGS="-g -O2 -D_GNU_SOURCE" \73 --prefix=/usr \74 --enable-multilib \75 --disable-nls \76 -- disable-libstdcxx-pch\77 -- host=x86_64-lfs-linux-gnu</userinput></screen>73 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../libstdc++-v3/configure \ 74 CXXFLAGS="-g -O2 -D_GNU_SOURCE" \ 75 --prefix=/usr \ 76 --enable-multilib \ 77 --disable-nls \ 78 --host=$(uname -m)-lfs-linux-gnu \ 79 --disable-libstdcxx-pch</userinput></screen> 78 80 79 81 <variablelist> … … 85 87 <para>These flags are passed by the top level Makefile when doing 86 88 a full build of GCC.</para> 89 </listitem> 90 </varlistentry> 91 92 <varlistentry> 93 <term><parameter>--host=$(uname -m)-lfs-linux-gnu</parameter></term> 94 <listitem> 95 <para>We have to mimic what would happen if this package were built 96 as part of a full compiler build. This switch would be passed to 97 configure by GCC's build machinery.</para> 87 98 </listitem> 88 99 </varlistentry> … … 103 114 will be built for every arch (m64, m32, mx32) which are 104 115 made available in <xref linkend="ch-tools-gcc-pass1"/>.</para> 105 </listitem>106 </varlistentry>107 108 <varlistentry arch="ml_32,ml_x32,ml_all">109 <term><parameter>--host=x86_64-pc-linux-gnu</parameter></term>110 <listitem>111 <para>Since up to now the cross-compile tools are used. This112 switch is set to ensure that the headers used for multilib are113 placed in correct locations where the final system can pick114 them up.</para>115 116 </listitem> 116 117 </varlistentry> -
chapter07/python.xml
rce2f9d8 r51b58ad 53 53 <para>Prepare Python for compilation:</para> 54 54 55 <screen><userinput remap="configure">./configure --prefix=/usr --without-ensurepip</userinput></screen> 55 <screen><userinput remap="configure">./configure --prefix=/usr \ 56 --enable-shared \ 57 --without-ensurepip</userinput></screen> 56 58 57 59 <variablelist> 58 60 <title>The meaning of the configure option:</title> 61 62 <varlistentry> 63 <term><parameter>--enable-shared</parameter></term> 64 <listitem> 65 <para>This switch prevents installation of static libraries.</para> 66 </listitem> 67 </varlistentry> 59 68 60 69 <varlistentry> -
chapter08/libelf.xml
rce2f9d8 r51b58ad 47 47 <para>Prepare Libelf for compilation:</para> 48 48 49 <screen><userinput remap="configure">./configure --prefix=/usr --disable-debuginfod </userinput></screen>49 <screen><userinput remap="configure">./configure --prefix=/usr --disable-debuginfod --libdir=/lib</userinput></screen> 50 50 51 51 <para>Compile the package:</para> … … 63 63 <screen><userinput remap="install">make -C libelf install 64 64 install -vm644 config/libelf.pc /usr/lib/pkgconfig 65 rm / usr/lib/libelf.a</userinput></screen>65 rm /lib/libelf.a</userinput></screen> 66 66 67 67 </sect2> -
chapter08/revisedchroot.xml
rce2f9d8 r51b58ad 71 71 Archive (.la) files"</ulink>.</para> 72 72 73 <para>The compiler built in <xref linkend="chapter-temporary-tools"/> and 74 <xref linkend="chapter-chroot-temporary-tools"/> is still partially 75 installed, and not needed anymore. Remove it with:</para> 76 77 <screen><userinput>find /usr -depth -name $(uname -m)-lfs-linux-gnu\* | xargs rm -rf</userinput></screen> 78 79 <para>The <filename class="directory">/tools</filename> directory can also 80 be removed to further gain some place:</para> 81 82 <screen><userinput>rm -rf /tools</userinput></screen> 83 73 84 <para>Finally, remove the temporary 'tester' user account created at the 74 85 beginning of the previous chapter.</para> -
general.ent
rce2f9d8 r51b58ad 1 <!ENTITY version "SVN-2020070 1">1 <!ENTITY version "SVN-20200707"> 2 2 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; 3 3 Change to x.y for release but not -rc releases --> 4 4 <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> 5 5 6 <!ENTITY versiond "2020070 1-systemd">6 <!ENTITY versiond "20200707-systemd"> 7 7 <!ENTITY short-versiond "systemd"> 8 8 <!ENTITY generic-versiond "systemd"> 9 9 10 <!ENTITY releasedate "July 1st, 2020">10 <!ENTITY releasedate "July 7th, 2020"> 11 11 12 12 <!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not – --> -
packages.ent
rce2f9d8 r51b58ad 114 114 <!ENTITY coreutils-fin-sbu "2.6 SBU"> 115 115 116 <!ENTITY dbus-version "1.12. 18">116 <!ENTITY dbus-version "1.12.20"> 117 117 <!ENTITY dbus-size "2,048 KB"> 118 118 <!ENTITY dbus-url "https://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz"> 119 <!ENTITY dbus-md5 " 4ca570c281be35d0b30ab83436712242">119 <!ENTITY dbus-md5 "dfe8a71f412e0b53be26ed4fbfdc91c4"> 120 120 <!ENTITY dbus-home "https://www.freedesktop.org/wiki/Software/dbus"> 121 121 <!ENTITY dbus-fin-du "18 MB"> … … 392 392 <!ENTITY lfs-bootscripts-cfg-sbu "less than 0.1 SBU"> 393 393 394 <!ENTITY libcap-version "2.3 6">395 <!ENTITY libcap-size "11 2KB">394 <!ENTITY libcap-version "2.38"> 395 <!ENTITY libcap-size "116 KB"> 396 396 <!ENTITY libcap-url "&kernel;linux/libs/security/linux-privs/libcap2/libcap-&libcap-version;.tar.xz"> 397 <!ENTITY libcap-md5 " 3d8cd4a87650cdee130691cb110c2ce2">397 <!ENTITY libcap-md5 "646cb6dde87a13f9ed0228db77b03fad"> 398 398 <!ENTITY libcap-home "https://sites.google.com/site/fullycapable/"> 399 399 <!ENTITY libcap-fin-du "11 MB"> … … 426 426 <!ENTITY linux-major-version "5"> 427 427 <!ENTITY linux-minor-version "7"> 428 <!ENTITY linux-patch-version " 6">428 <!ENTITY linux-patch-version "7"> 429 429 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 430 430 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 431 <!ENTITY linux-size "110,07 0KB">431 <!ENTITY linux-size "110,076 KB"> 432 432 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 433 <!ENTITY linux-md5 " 80eb1a79341d8a7d089fcf6113c1b421">433 <!ENTITY linux-md5 "11c4b191621d4ad02f56b0cca2fc6b57"> 434 434 <!ENTITY linux-home "https://www.kernel.org/"> 435 435 <!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
Note:
See TracChangeset
for help on using the changeset viewer.