Changeset d730742


Ignore:
Timestamp:
04/05/2016 07:23:02 PM (8 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 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, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, 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:
98bed7f
Parents:
6934b62
Message:

Remove obsolete note about iconv() in Chapter 6 Glibc.
Minor adjustments to text in the same section.

Add a note about UEFI and Secure Boot to Chapter 8
"Using GRUB to Set Up the Boot Process".

Add notes about paths for 64-bit systems in
Chapter 6 "Adjusting the Toolchain".
+

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r6934b62 rd730742  
    3636    </listitem>
    3737-->
     38    <listitem>
     39      <para>2016-04-05</para>
     40      <itemizedlist>
     41        <listitem>
     42          <para>[bdubbs] - Remove obsolete note about iconv()
     43          in Chapter 6 Glibc. Minor adjustments to text in the
     44          same section. Fixes
     45          <ulink url="&lfs-ticket-root;3904">#3904</ulink>.</para>
     46        </listitem>
     47        <listitem>
     48          <para>[bdubbs] - Add a note about UEFI and Secure Boot
     49          to Chapter 8 "Using GRUB to Set Up the Boot Process". Fixes
     50          <ulink url="&lfs-ticket-root;3908">#3908</ulink>.</para>
     51        </listitem>
     52        <listitem>
     53          <para>[bdubbs] - Add notes about paths for 64-bit
     54          systems in Chapter 6 "Adjusting the Toolchain". Fixes
     55          <ulink url="&lfs-ticket-root;3912">#3912</ulink>.</para>
     56        </listitem>
     57      </itemizedlist>
     58    </listitem>
     59
    3860    <listitem>
    3961      <para>2016-04-04</para>
  • chapter06/adjusting.xml

    r6934b62 rd730742  
    5656  the prefix of our dynamic linker.</para>
    5757
     58  <note><para>On 64-bit systems the interpreter should be
     59  /lib64/ld-linux-x86-64.so.2.</para></note>
     60
    5861  <para os="d">Now make sure that we're setup to use the correct start files:</para>
    5962
     
    6568/usr/lib/crti.o succeeded
    6669/usr/lib/crtn.o succeeded</computeroutput></screen>
     70
     71   <note><para>On 64-bit systems, the path above will be
     72   /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/.  This
     73   reduces to /usr/lib64 and /usr/lib64 is a symlink that points to
     74   /usr/lib.</para></note>
    6775
    6876  <para os="g">Verify that the compiler is searching for the correct header
  • chapter06/glibc.xml

    r6934b62 rd730742  
    4343  <sect2 role="installation">
    4444    <title>Installation of Glibc</title>
    45 
     45<!--
    4646    <note>
    4747      <para>Some packages outside of LFS suggest installing GNU libiconv in
     
    5454      Unicode, therefore libiconv is not required on an LFS system.</para>
    5555    </note>
     56-->
     57    <note><para>The Glibc build system is self-contained and will install
     58    perfectly, even though the compiler specs file and linker are still
     59    pointing to <filename class="directory">/tools</filename>. The specs
     60    and linker cannot be adjusted before the Glibc install because the
     61    Glibc autoconf tests would give false results and defeat the goal
     62    of achieving a clean build.</para></note>
    5663
    5764    <para>Some of the Glibc programs use non-FHS compilant
     
    6269<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
    6370
    64     <para>The Glibc build system is self-contained and will install
    65     perfectly, even though the compiler specs file and linker are still
    66     pointing at <filename class="directory">/tools</filename>. The specs
    67     and linker cannot be adjusted before the Glibc install because the
    68     Glibc autoconf tests would give false results and defeat the goal
    69     of achieving a clean build.</para>
    70 <!--
    71     <para>Now fix a build problem that affects i386 systems:</para>
    72 
    73 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
    74 
    75     <para>The most recent stable version of Glibc does not handle large files
    76     correctly.  Fix the problem with this patch:</para>
    77 
    78 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen>
    79 
    80     <para>Finally, update some recent changes from the upstream repository:</para>
    81 
    82 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch2;</userinput></screen>
    83 -->
    8471    <para>The Glibc documentation recommends building Glibc
    8572    in a dedicated build directory:</para>
     
    139126        tests may fail for reasons that have not been determined.  </para>
    140127      </listitem>
    141 <!--
    142       <listitem>
    143         <para>The <emphasis>elf/tst-protected1a</emphasis> and
    144         <emphasis>elf/tst-protected1b</emphasis> tests are known to
    145         fail with the current stable version of binutils.</para>
    146       </listitem>
    147 
    148       <listitem>
    149         <para>When running on older and slower hardware or on systems under
    150         load, some tests can fail because of test timeouts being exceeded.
    151         Modifying the make check command to set a TIMEOUTFACTOR is reported to
    152         help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
    153         make -k check</command>).</para>
    154       </listitem>
    155 -->
    156 <!--
    157       <listitem>
    158         <para>libio/tst-ftell-partial-wide.out fails because it needs a locale
    159         that has not yet been generated.</para>
    160       </listitem>
    161 -->
     128
    162129      <listitem>
    163130        <para>Other tests known to fail on some architectures are
     
    183150mkdir -pv /var/cache/nscd</userinput></screen>
    184151
    185     <para>The locales that can make the system respond in a different language
    186     were not installed by the above command. None of the locales are required,
    187     but if some of them are missing, test suites of the future packages would
    188     skip important testcases.</para>
     152    <para>Next, install the locales that can make the system respond in a
     153    different language.  None of the locales are required, but if some of them
     154    are missing, the test suites of future packages would skip important
     155    testcases.</para>
    189156
    190157    <para>Individual locales can be installed using the
  • chapter08/grub.xml

    r6934b62 rd730742  
    3838grub-mkrescue --output=grub-img.iso
    3939xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></screen>
     40
     41    <note><para>Most newer systems now come with system firmware that is in
     42    UEFI ((Unified Extensible Firmware Interface) mode by default.  To boot LFS
     43    on these systems using the instructions here, the UEFI Mode and Secure Boot
     44    capabilities need to be turned off.  There are ways to boot with these
     45    capabilities still enabled, but are not covered here.  For details, see
     46    <ulink
     47    url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt">the
     48    lfs-uefi.txt hint</ulink> at
     49    http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt.</para></note>
    4050
    4151  </sect2>
Note: See TracChangeset for help on using the changeset viewer.