diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2016-04-05 19:23:02 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2016-04-05 19:23:02 +0000 |
commit | d73074290425cf0fbe7e7ee6cb1d8c1b86a31533 (patch) | |
tree | b61c164fdc7bdfbc0bf297fea1615429f621216c /chapter06/glibc.xml | |
parent | 6934b62fcfd219a322c17abf4b18a0663d4f3ed9 (diff) |
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
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r-- | chapter06/glibc.xml | 57 |
1 files changed, 12 insertions, 45 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index a835f218f..26adf6dac 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -42,7 +42,7 @@ <sect2 role="installation"> <title>Installation of Glibc</title> - +<!-- <note> <para>Some packages outside of LFS suggest installing GNU libiconv in order to translate data from one encoding to another. The project's @@ -53,6 +53,13 @@ an <function>iconv()</function> implementation and can convert from/to Unicode, therefore libiconv is not required on an LFS system.</para> </note> +--> + <note><para>The Glibc build system is self-contained and will install + perfectly, even though the compiler specs file and linker are still + pointing to <filename class="directory">/tools</filename>. The specs + and linker cannot be adjusted before the Glibc install because the + Glibc autoconf tests would give false results and defeat the goal + of achieving a clean build.</para></note> <para>Some of the Glibc programs use non-FHS compilant <filename class="directory">/var/db</filename> directory to store @@ -61,26 +68,6 @@ <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> - <para>The Glibc build system is self-contained and will install - perfectly, even though the compiler specs file and linker are still - pointing at <filename class="directory">/tools</filename>. The specs - and linker cannot be adjusted before the Glibc install because the - Glibc autoconf tests would give false results and defeat the goal - of achieving a clean build.</para> -<!-- - <para>Now fix a build problem that affects i386 systems:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen> - - <para>The most recent stable version of Glibc does not handle large files - correctly. Fix the problem with this patch:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen> - - <para>Finally, update some recent changes from the upstream repository:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch2;</userinput></screen> ---> <para>The Glibc documentation recommends building Glibc in a dedicated build directory:</para> @@ -138,28 +125,8 @@ cd build</userinput></screen> <emphasis>nptl/tst-thread-affinity-{pthread,pthread2,sched}</emphasis> tests may fail for reasons that have not been determined. </para> </listitem> -<!-- - <listitem> - <para>The <emphasis>elf/tst-protected1a</emphasis> and - <emphasis>elf/tst-protected1b</emphasis> tests are known to - fail with the current stable version of binutils.</para> - </listitem> <listitem> - <para>When running on older and slower hardware or on systems under - load, some tests can fail because of test timeouts being exceeded. - Modifying the make check command to set a TIMEOUTFACTOR is reported to - help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16 - make -k check</command>).</para> - </listitem> ---> -<!-- - <listitem> - <para>libio/tst-ftell-partial-wide.out fails because it needs a locale - that has not yet been generated.</para> - </listitem> ---> - <listitem> <para>Other tests known to fail on some architectures are malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para> </listitem> @@ -182,10 +149,10 @@ cd build</userinput></screen> <screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf mkdir -pv /var/cache/nscd</userinput></screen> - <para>The locales that can make the system respond in a different language - were not installed by the above command. None of the locales are required, - but if some of them are missing, test suites of the future packages would - skip important testcases.</para> + <para>Next, install the locales that can make the system respond in a + different language. None of the locales are required, but if some of them + are missing, the test suites of future packages would skip important + testcases.</para> <para>Individual locales can be installed using the <command>localedef</command> program. E.g., the first |