Changeset d730742
- Timestamp:
- 04/05/2016 07:23:02 PM (7 years ago)
- 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, 7.10, 7.10-rc1, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, BOOK.old, arm, cross-chap5, ml-11.0, multilib, nosym, old-trunk, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- Children:
- 98bed7f
- Parents:
- 6934b62
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r6934b62 rd730742 36 36 </listitem> 37 37 --> 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 38 60 <listitem> 39 61 <para>2016-04-04</para> -
chapter06/adjusting.xml
r6934b62 rd730742 56 56 the prefix of our dynamic linker.</para> 57 57 58 <note><para>On 64-bit systems the interpreter should be 59 /lib64/ld-linux-x86-64.so.2.</para></note> 60 58 61 <para os="d">Now make sure that we're setup to use the correct start files:</para> 59 62 … … 65 68 /usr/lib/crti.o succeeded 66 69 /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> 67 75 68 76 <para os="g">Verify that the compiler is searching for the correct header -
chapter06/glibc.xml
r6934b62 rd730742 43 43 <sect2 role="installation"> 44 44 <title>Installation of Glibc</title> 45 45 <!-- 46 46 <note> 47 47 <para>Some packages outside of LFS suggest installing GNU libiconv in … … 54 54 Unicode, therefore libiconv is not required on an LFS system.</para> 55 55 </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> 56 63 57 64 <para>Some of the Glibc programs use non-FHS compilant … … 62 69 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 63 70 64 <para>The Glibc build system is self-contained and will install65 perfectly, even though the compiler specs file and linker are still66 pointing at <filename class="directory">/tools</filename>. The specs67 and linker cannot be adjusted before the Glibc install because the68 Glibc autoconf tests would give false results and defeat the goal69 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 files76 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 -->84 71 <para>The Glibc documentation recommends building Glibc 85 72 in a dedicated build directory:</para> … … 139 126 tests may fail for reasons that have not been determined. </para> 140 127 </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 162 129 <listitem> 163 130 <para>Other tests known to fail on some architectures are … … 183 150 mkdir -pv /var/cache/nscd</userinput></screen> 184 151 185 <para> The locales that can make the system respond in a different language186 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 would188 skip importanttestcases.</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> 189 156 190 157 <para>Individual locales can be installed using the -
chapter08/grub.xml
r6934b62 rd730742 38 38 grub-mkrescue --output=grub-img.iso 39 39 xorriso -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> 40 50 41 51 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.