Changeset 51b58ad


Ignore:
Timestamp:
03/31/2021 10:41:39 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
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)
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11997 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rce2f9d8 r51b58ad  
    4646    -->
    4747    <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>
    48100      <itemizedlist>
    49101      <para>2020-07-01</para>
  • chapter01/whatsnew.xml

    rce2f9d8 r51b58ad  
    6767      <para>DejaGNU-&dejagnu-version;</para>
    6868    </listitem>-->
    69     <!--<listitem revision="systemd">
     69    <listitem revision="systemd">
    7070      <para>D-Bus-&dbus-version;</para>
    71     </listitem>-->
     71    </listitem>
    7272    <!--<listitem>
    7373      <para>Diffutils-&diffutils-version;</para>
  • chapter06/ncurses.xml

    rce2f9d8 r51b58ad  
    121121
    122122    <para>Install the package:</para>
    123 <!-- TODO: check and document -->
     123
    124124<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>
     125echo "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>
    126150
    127151    <para>Move the shared libraries to the
  • chapter07/libstdc++-pass2.xml

    rce2f9d8 r51b58ad  
    6363    <para>Prepare libstdc++ for compilation:</para>
    6464
    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 \
    7072    --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>
    7880
    7981    <variablelist>
     
    8587          <para>These flags are passed by the top level Makefile when doing
    8688          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>
    8798        </listitem>
    8899      </varlistentry>
     
    103114          will be built for every arch (m64, m32, mx32) which are
    104115          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. This
    112           switch is set to ensure that the headers used for multilib are
    113           placed in correct locations where the final system can pick
    114           them up.</para>
    115116        </listitem>
    116117      </varlistentry>
  • chapter07/python.xml

    rce2f9d8 r51b58ad  
    5353    <para>Prepare Python for compilation:</para>
    5454
    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>
    5658
    5759    <variablelist>
    5860      <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>
    5968
    6069      <varlistentry>
  • chapter08/libelf.xml

    rce2f9d8 r51b58ad  
    4747    <para>Prepare Libelf for compilation:</para>
    4848
    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>
    5050
    5151    <para>Compile the package:</para>
     
    6363<screen><userinput remap="install">make -C libelf install
    6464install -vm644 config/libelf.pc /usr/lib/pkgconfig
    65 rm /usr/lib/libelf.a</userinput></screen>
     65rm /lib/libelf.a</userinput></screen>
    6666
    6767  </sect2>
  • chapter08/revisedchroot.xml

    rce2f9d8 r51b58ad  
    7171   Archive (.la) files"</ulink>.</para>
    7272
     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
    7384   <para>Finally, remove the temporary 'tester' user account created at the
    7485   beginning of the previous chapter.</para>
  • general.ent

    rce2f9d8 r51b58ad  
    1 <!ENTITY version         "SVN-20200701">
     1<!ENTITY version         "SVN-20200707">
    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        "20200701-systemd">
     6<!ENTITY versiond        "20200707-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "July 1st, 2020">
     10<!ENTITY releasedate     "July 7th, 2020">
    1111
    1212<!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
  • packages.ent

    rce2f9d8 r51b58ad  
    114114<!ENTITY coreutils-fin-sbu "2.6 SBU">
    115115
    116 <!ENTITY dbus-version "1.12.18">
     116<!ENTITY dbus-version "1.12.20">
    117117<!ENTITY dbus-size "2,048 KB">
    118118<!ENTITY dbus-url "https://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz">
    119 <!ENTITY dbus-md5 "4ca570c281be35d0b30ab83436712242">
     119<!ENTITY dbus-md5 "dfe8a71f412e0b53be26ed4fbfdc91c4">
    120120<!ENTITY dbus-home "https://www.freedesktop.org/wiki/Software/dbus">
    121121<!ENTITY dbus-fin-du "18 MB">
     
    392392<!ENTITY lfs-bootscripts-cfg-sbu "less than 0.1 SBU">
    393393
    394 <!ENTITY libcap-version "2.36">
    395 <!ENTITY libcap-size "112 KB">
     394<!ENTITY libcap-version "2.38">
     395<!ENTITY libcap-size "116 KB">
    396396<!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">
    398398<!ENTITY libcap-home "https://sites.google.com/site/fullycapable/">
    399399<!ENTITY libcap-fin-du "11 MB">
     
    426426<!ENTITY linux-major-version "5">
    427427<!ENTITY linux-minor-version "7">
    428 <!ENTITY linux-patch-version "6">
     428<!ENTITY linux-patch-version "7">
    429429<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    430430<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    431 <!ENTITY linux-size "110,070 KB">
     431<!ENTITY linux-size "110,076 KB">
    432432<!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">
    434434<!ENTITY linux-home "https://www.kernel.org/">
    435435<!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
Note: See TracChangeset for help on using the changeset viewer.