Changeset df462a9 for chapter05


Ignore:
Timestamp:
05/12/2021 05:26:46 AM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
3de7f52
Parents:
0e9fb93 (diff), d7a9421 (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 pre-LFS-11-0 changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/glibc.xml

    r0e9fb93 rdf462a9  
    5959ln -sfv ../lib/ld-linux-x86-64.so.2 $LFS/lib64/ld-lsb-x86-64.so.3</userinput></screen>
    6060
    61     <note>
    62       <para>
    63         The above command is correct.  The <command>ln</command> command has
    64         a few syntactic versions, so be sure to check
    65                 <command>info coreutils ln</command> and <filename>ln(1)</filename>
    66                 before reporting what you may think is an error.
    67           </para>
    68     </note>
    69 
    7061    <para>Some of the Glibc programs use the non-FHS compliant
    7162    <filename class="directory">/var/db</filename> directory to store their
     
    7465
    7566<screen><userinput remap="pre">patch -Np1 -i ../glibc-&glibc-version;-fhs-1.patch</userinput></screen>
     67
     68    <para>Fix a build issue with gcc-11.1:</para>
     69
     70<screen><userinput remap="pre">sed 's/amx_/amx-/' -i sysdeps/x86/tst-cpu-features-supports.c</userinput></screen>
    7671
    7772    <para>The Glibc documentation recommends building Glibc
     
    8984      --enable-kernel=&min-kernel;                \
    9085      --with-headers=$LFS/usr/include    \
    91       libc_cv_slibdir=/lib</userinput></screen>
     86      libc_cv_slibdir=/usr/lib</userinput></screen>
    9287<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../configure                             \
    9388      --prefix=/usr                      \
     
    9792      --with-headers=$LFS/usr/include    \
    9893      --enable-multi-arch                \
    99       --libdir=/usr/lib                  \
    100       --libexecdir=/usr/lib              \
    101       libc_cv_slibdir=/lib</userinput></screen>
    102 <!--
    103       libc_cv_forced_unwind=yes          \
    104       libc_cv_c_cleanup=yes</userinput></screen> -->
     94      libc_cv_slibdir=/usr/lib</userinput></screen>
    10595
    10696    <variablelist>
     
    136126
    137127      <varlistentry>
    138         <term><parameter>libc_cv_slibdir=/lib</parameter></term>
    139         <listitem>
    140           <para>This ensures that the library is installed in /lib instead
     128        <term><parameter>libc_cv_slibdir=/usr/lib</parameter></term>
     129        <listitem>
     130          <para>This ensures that the library is installed in /usr/lib instead
    141131          of the default /lib64 on 64 bit machines.</para>
    142132        </listitem>
     
    278268      --libdir=&usr-lib-m32;                \
    279269      --libexecdir=&usr-lib-m32;            \
    280       libc_cv_slibdir=&lib-m32;</userinput></screen>
     270      libc_cv_slibdir=&usr-lib-m32;</userinput></screen>
    281271
    282272    <para>Compile the package:</para>
     
    350340      --libdir=&usr-lib-mx32;               \
    351341      --libexecdir=&usr-lib-mx32;           \
    352       libc_cv_slibdir=&lib-mx32;</userinput></screen>
     342      libc_cv_slibdir=&usr-lib-mx32;</userinput></screen>
    353343
    354344    <para>Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.