Changeset 9974e9b for chapter05/glibc.xml
- Timestamp:
- 10/31/2022 06:58:31 AM (23 months ago)
- Branches:
- xry111/arm64, xry111/arm64-12.0
- Children:
- 6586901
- Parents:
- ad85e5b (diff), 61f8251 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/glibc.xml
rad85e5b r9974e9b 44 44 <title>Installation of Glibc</title> 45 45 46 <para>Some of the Glibc programs use the non-FHS 46 <para>Some of the Glibc programs use the non-FHS-compliant 47 47 <filename class="directory">/var/db</filename> directory to store their 48 48 runtime data. Apply the following patch to make such programs store their … … 108 108 <listitem> 109 109 <para>This ensures that the library is installed in /usr/lib instead 110 of the default /lib64 on 64 110 of the default /lib64 on 64-bit machines.</para> 111 111 </listitem> 112 112 </varlistentry> … … 126 126 <para>The missing or incompatible <command>msgfmt</command> program is 127 127 generally harmless. This <command>msgfmt</command> program is part of the 128 Gettext package which the host distribution should provide.</para>128 Gettext package, which the host distribution should provide.</para> 129 129 130 130 <note><para>There have been reports that this package may fail when 131 building as a "parallel make". If th isoccurs, rerun the make command132 with a"-j1" option.</para></note>131 building as a "parallel make". If that occurs, rerun the make command 132 with the "-j1" option.</para></note> 133 133 134 134 <para>Compile the package:</para> … … 141 141 recommendations, you are building as 142 142 <systemitem class="username">root</systemitem>, the next command will 143 install the newly built glibc to your host system, which most likely144 will render it unusable. So doublecheck that the environment is145 correctly set, before running the following command.</para></warning>143 install the newly built Glibc to your host system, which will almost 144 certainly render it unusable. So double-check that the environment is 145 correctly set, and that you are not &root;, before running the following command.</para></warning> 146 146 147 147 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> … … 157 157 installed. If it is not set, it defaults to the root (<filename 158 158 class="directory">/</filename>) directory. Here we specify that 159 the package beinstalled in <filename class="directory">$LFS160 </filename>, which will become the root after<xref linkend=159 the package is installed in <filename class="directory">$LFS 160 </filename>, which will become the root directory in <xref linkend= 161 161 "ch-tools-chroot"/>.</para> 162 162 </listitem> … … 165 165 </variablelist> 166 166 167 <para>Fix hardcoded path to the executable loader in167 <para>Fix a hard coded path to the executable loader in the 168 168 <command>ldd</command> script:</para> 169 169 … … 186 186 <filename>/lib/ld-linux-aarch64_be.so.1</filename>.</para> 187 187 188 <para>If the output is not shown as above or there was no output at all,188 <para>If the output is not as shown above, or there is no output at all, 189 189 then something is wrong. Investigate and retrace the steps to find out 190 190 where the problem is and correct it. This issue must be resolved before 191 continuing on.</para>191 continuing.</para> 192 192 193 193 <para>Once all is well, clean up the test file:</para> … … 197 197 </caution> 198 198 199 <note><para>Building packages in the next chapter will serve as an199 <note><para>Building the packages in the next chapter will serve as an 200 200 additional check that the toolchain has been built properly. If some 201 package, especially binutils-pass2 or gcc-pass2, fails to build, it is201 package, especially Binutils-pass2 or GCC-pass2, fails to build, it is 202 202 an indication that something has gone wrong with the 203 pre viousBinutils, GCC, or Glibc installations.</para></note>203 preceding Binutils, GCC, or Glibc installations.</para></note> 204 204 205 205 <para>Now that our cross-toolchain is complete, finalize the installation 206 of the limits.h header. For doing so, run a utility provided by the GCC206 of the limits.h header. To do this, run a utility provided by the GCC 207 207 developers:</para> 208 208
Note:
See TracChangeset
for help on using the changeset viewer.