Changeset df2e99e


Ignore:
Timestamp:
02/02/2021 09:35:59 PM (3 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
c0d2bd0
Parents:
428695c
Message:

Really apply various fixes for building with glibc-2.33,
and change the order in chapter 8 so that everything is built against
chapter 8 glibc.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12112 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r428695c rdf2e99e  
    4747      <para>2021-02-02</para>
    4848        <listitem>
     49          <para>[pierre] - Move tcl, expect, and dejagnu just before binutils
     50          in chapter 8: this allows to build them against chapter 8
     51          glibc.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[pierre] - Tweaks to allow building with glibc-2.33:
     55          build a "file" executable for the host before cross-compiling
     56          it; replace the relinked libctf with the one that was linked
     57          during "make" in binutils-pass2.</para>
     58        </listitem>
     59        <listitem>
    4960          <para>[bdubbs] - Update to bc-3.2.6. Fixes
    5061          <ulink url="&lfs-ticket-root;4800">#4800</ulink>.</para>
  • chapter06/binutils-pass2.xml

    r428695c rdf2e99e  
    8888    <para>Install the package:</para>
    8989
    90 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
     90<screen><userinput remap="install">make DESTDIR=$LFS install
     91install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib</userinput></screen>
    9192
    9293    <para>
  • chapter06/file.xml

    r428695c rdf2e99e  
    4444    <title>Installation of File</title>
    4545
     46    <para>The build host <quote>file</quote> command iwith the same version as
     47    the one we are building is needed for building the signature file. Run the
     48    following commands to build it:</para>
     49
     50<screen><userinput remap="pre">mkdir build
     51pushd build
     52../configure
     53make
     54popd</userinput></screen>
     55
    4656    <para>Prepare File for compilation:</para>
    4757
     
    5565    <para>Compile the package:</para>
    5666
    57 <screen><userinput remap="make">make</userinput></screen>
     67<screen><userinput remap="make">make FILE_COMPILE=$(pwd)/build/src/file</userinput></screen>
    5868
    5969    <para>Install the package:</para>
  • chapter08/chapter08.xml

    r428695c rdf2e99e  
    1515  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgmgt.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="man-pages.xml"/>
    17 
    18   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/>
    21 
    2217  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/>
    2318  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glibc.xml"/>
     
    3126  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bc.xml"/>
    3227  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
     28
     29  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcl.xml"/>
     30  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expect.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dejagnu.xml"/>
     32
    3333  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils.xml"/>
    3434  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gmp.xml"/>
  • chapter08/glibc.xml

    r428695c rdf2e99e  
    127127
    128128<!-- Use remap="make" here to work around a jhalfs issue. -->
    129 <screen><userinput remap="make">case $(uname -m) in
     129<!--<screen><userinput remap="make">case $(uname -m) in
    130130  i?86)   ln -sfnv $PWD/elf/ld-linux.so.2        /lib ;;
    131131  x86_64) ln -sfnv $PWD/elf/ld-linux-x86-64.so.2 /lib ;;
     
    135135    stage of building in the chroot environment.  It will be overwritten
    136136    in the install phase below.</para></note>
    137 
     137-->
    138138<screen><userinput remap="test">make check</userinput></screen>
    139139
  • chapter08/tcl.xml

    r428695c rdf2e99e  
    4646
    4747    <para>This package and the next two (Expect and DejaGNU) are
    48     installed to support running the test suites for GCC and binutils and other
     48    installed to support running the test suites for binutils and GCC and other
    4949    packages.  Installing three packages for testing purposes may seem
    5050    excessive, but it is very reassuring, if not essential, to know that the
    51     most important tools are working properly. These packages are required
    52     to run the test suites in this chapter.</para>
     51    most important tools are working properly.</para>
    5352
    5453<!--    <para>Note that the Tcl package used here is a minimal version needed
Note: See TracChangeset for help on using the changeset viewer.