Changeset 0376c98 for chapter06


Ignore:
Timestamp:
04/07/2016 09:56:11 PM (8 years ago)
Author:
Douglas R. Reno <renodr@…>
Children:
ed17c23
Parents:
68c0a30
Message:

Add a caution in the gmp section about possible Illegal Instruction errors if the host is misidentified or the libraries are copied to different systems. Merged from trunk r11044.

Remove obsolete note about iconv() in Chapter 6 Glibc. Merged from trunk r11043.

Add a note about UEFI and Secure Boot systems to the GRUB page. Merged from trunk r11043.

Add notes about paths for 64-bit systems in the Adjusting the Toolchain page. Merged from trunk r11043.

Update to linux-4.5. Merged from trunk r11042.

Update to grep-2.24. Merged from trunk r11042.

Update to expat-2.1.1. Merged from trunk r11042.

Update to tzdata2016c. Merged from trunk r11042.

Update to iproute2-4.5.0. Merged from trunk r11042.

Update to man-pages-4.05. Merged from trunk r11042.

Update to gzip-1.7. Merged from trunk r11042.

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

Location:
chapter06
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • chapter06/adjusting.xml

    r68c0a30 r0376c98  
    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

    r68c0a30 r0376c98  
    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
     58    <note><para>The Glibc build system is self-contained and will install
     59    perfectly, even though the compiler specs file and linker are still
     60    pointing to <filename class="directory">/tools</filename>. The specs
     61    and linker cannot be adjusted before the Glibc install because the
     62    Glibc autoconf tests would give false results and defeat the goal
     63    of achieving a clean build.</para></note>
     64
    5665    <para>Some of the Glibc programs use non-FHS compilant
    5766    <filename class="directory">/var/db</filename> directory to store
     
    6675    Glibc autoconf tests would give false results and defeat the goal
    6776    of achieving a clean build.</para>
    68 <!--
    69     <para>Now fix a build problem that affects i386 systems:</para>
    70 
    71 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
    72 
    73     <para>The most recent stable version of Glibc does not handle large files
    74     correctly.  Fix the problem with this patch:</para>
    75 
    76 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen>
    77 
    78     <para>Finally, update some recent changes from the upstream repository:</para>
    79 
    80 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch2;</userinput></screen>
    81 -->
     77
    8278    <para>The Glibc documentation recommends building Glibc
    8379    in a dedicated build directory:</para>
     
    131127        AMD processor.</para>
    132128      </listitem>
    133 <!--
     129     
    134130      <listitem>
    135         <para>The <emphasis>elf/tst-protected1b</emphasis> and
    136         <emphasis>elf/tst-protected1b</emphasis> tests are known to
    137         fail with the current stable version of binutils.</para>
     131        <para>The
     132        <emphasis>nptl/tst-thread-affinity-{pthread,pthread2,sched}</emphasis>
     133        tests may fail for reasons that have not been determined. </para>
    138134      </listitem>
    139 -->
     135
    140136      <listitem>
    141137        <para>Other tests known to fail on some architectures are
     
    166162install -v -Dm644 ../nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>
    167163
    168     <para>The locales that can make the system respond in a different language
    169     were not installed by the above command. None of the locales are required,
     164    <para>Next, install the locales that can make the system respond in a
     165    different language. None of the locales are required,
    170166    but if some of them are missing, test suites of the future packages would
    171167    skip important testcases.</para>
  • chapter06/gmp.xml

    r68c0a30 r0376c98  
    9292<screen><userinput remap="test">make check 2>&amp;1 | tee gmp-check-log</userinput></screen>
    9393
     94    <caution><para>The code in gmp is highly optimized for the processor where
     95    it is built. Occasionally, the code that detects the processor
     96    misidentifies the system capabilities and there will be errors in the
     97    tests or other applications using the gmp libraries with the message
     98    "Illegal instruction". In this case, gmp should be reconfigured with the
     99    option --build=x86_64-unknown-linux-gnu and rebuilt.</para></caution>
     100
    94101    <para>Ensure that all 190 tests in the test suite passed.
    95102    Check the results by issuing the following command:</para>
  • chapter06/inetutils.xml

    r68c0a30 r0376c98  
    110110
    111111<screen><userinput remap="test">make check</userinput></screen>
    112 <!--
     112
    113113    <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard
    114114    coding of some support program paths. All tests pass if the tests are rerun
    115115    at the end of Chapter 6.</para>
    116 -->
     116
    117117    <para>Install the package:</para>
    118118
  • chapter06/iproute2.xml

    r68c0a30 r0376c98  
    5555rm -v doc/arpd.sgml</userinput></screen>
    5656
     57    <para>It is also necessary to disable building one module that
     58    requires <ulink url="&blfs-book;postlfs/iptables.html"/>.</para>
     59
     60<screen><userinput remap="pre">sed -i 's/m_ipt.o//' tc/Makefile</userinput></screen>
     61
    5762    <para>Compile the package:</para>
    5863
Note: See TracChangeset for help on using the changeset viewer.