- Timestamp:
- 04/07/2016 09:56:11 PM (8 years ago)
- Children:
- ed17c23
- Parents:
- 68c0a30
- Location:
- chapter06
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/adjusting.xml
r68c0a30 r0376c98 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
r68c0a30 r0376c98 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 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 56 65 <para>Some of the Glibc programs use non-FHS compilant 57 66 <filename class="directory">/var/db</filename> directory to store … … 66 75 Glibc autoconf tests would give false results and defeat the goal 67 76 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 82 78 <para>The Glibc documentation recommends building Glibc 83 79 in a dedicated build directory:</para> … … 131 127 AMD processor.</para> 132 128 </listitem> 133 <!-- 129 134 130 <listitem> 135 <para>The <emphasis>elf/tst-protected1b</emphasis> and136 <emphasis> elf/tst-protected1b</emphasis> tests are known to137 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> 138 134 </listitem> 139 --> 135 140 136 <listitem> 141 137 <para>Other tests known to fail on some architectures are … … 166 162 install -v -Dm644 ../nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen> 167 163 168 <para> The locales that can make the system respond in a different language169 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, 170 166 but if some of them are missing, test suites of the future packages would 171 167 skip important testcases.</para> -
chapter06/gmp.xml
r68c0a30 r0376c98 92 92 <screen><userinput remap="test">make check 2>&1 | tee gmp-check-log</userinput></screen> 93 93 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 94 101 <para>Ensure that all 190 tests in the test suite passed. 95 102 Check the results by issuing the following command:</para> -
chapter06/inetutils.xml
r68c0a30 r0376c98 110 110 111 111 <screen><userinput remap="test">make check</userinput></screen> 112 <!-- 112 113 113 <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard 114 114 coding of some support program paths. All tests pass if the tests are rerun 115 115 at the end of Chapter 6.</para> 116 --> 116 117 117 <para>Install the package:</para> 118 118 -
chapter06/iproute2.xml
r68c0a30 r0376c98 55 55 rm -v doc/arpd.sgml</userinput></screen> 56 56 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 57 62 <para>Compile the package:</para> 58 63
Note:
See TracChangeset
for help on using the changeset viewer.