source: BOOK/final-system/common/eglibc.xml@ cf78d6b

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since cf78d6b was 7d97f36, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Add a patch to EGLIBC that fixes an issue with elf missing deps.

  • Property mode set to 100644
File size: 32.2 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[093b0e8]8<sect1 id="ch-system-eglibc" role="wrap">
9 <?dbhtml filename="eglibc.html"?>
[3f8be484]10
[093b0e8]11 <title>EGLIBC-&eglibc-version;</title>
[3f8be484]12
[093b0e8]13 <indexterm zone="ch-system-eglibc">
14 <primary sortas="a-EGLIBC">EGLIBC</primary>
[3f8be484]15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
[093b0e8]20 <para>The EGLIBC package contains the main C library. This library provides
[3f8be484]21 the basic routines for allocating memory, searching directories, opening and
22 closing files, reading and writing files, string handling, pattern matching,
23 arithmetic, and so on.</para>
24
25 </sect2>
26
27 <sect2 role="installation">
[093b0e8]28 <title>Installation of EGLIBC</title>
[3f8be484]29
30 <note os="z">
[a1fb12f]31 <para>Some packages outside of CLFS suggest installing GNU libiconv in
[3f8be484]32 order to translate data from one encoding to another. The project's
33 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
34 <quote>This library provides an <function>iconv()</function>
35 implementation, for use on systems which don't have one, or whose
[093b0e8]36 implementation cannot convert from/to Unicode.</quote> EGLIBC provides
[3f8be484]37 an <function>iconv()</function> implementation and can convert from/to
[a1fb12f]38 Unicode, therefore libiconv is not required on a CLFS system.</para>
[3f8be484]39 </note>
40
[22cd957]41 <para os="l1">At the end of the installation, the build system will run
42 a sanity test to make sure everything installed properly. This script will
43 attempt to test for a library that is only used in the test suite and is
44 never installed. Prevent the script from testing for this library with the
45 following command:</para>
[d8f87e8]46
[22cd957]47<screen os="l2"><userinput>sed -i 's/\(&amp;&amp; $name ne\) "db1"/ &amp; \1 "nss_test1"/' scripts/test-installation.pl</userinput></screen>
48
49 <para os="l3">This same script performs its tests by attempting to compile
50 test programs against certain libraries. However it does not specify the
51 ld.so, and our toolchain is still configured to use the one in /tools. The
52 following set of commands will force the script to use the complete path
53 of the new ld.so that was just installed:</para>
54
55<screen os="l4"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
[d8f87e8]56sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
57 scripts/test-installation.pl
58unset LINKER</userinput></screen>
59
[7d97f36]60 <para os="p1">The following patch fixes an issue where EGLIBC will
61 improperly handle a condition where an elf binary has missing
62 dependencies:</para>
63
64<screen os="p2"><userinput>patch -Np1 -i ../&eglibc-dl_dep_fix-patch;</userinput></screen>
65
[093b0e8]66 <para os="b">The EGLIBC build system is self-contained and will install
[3f8be484]67 perfectly, even though the compiler specs file and linker are still
68 pointing at <filename class="directory">/tools</filename>. The specs
[093b0e8]69 and linker cannot be adjusted before the EGLIBC install because the
70 EGLIBC Autoconf tests would give false results and defeat the goal
[3f8be484]71 of achieving a clean build.</para>
72
[093b0e8]73 <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the
[3f8be484]74 source directory in a dedicated build directory:</para>
75
[093b0e8]76<screen os="f"><userinput>mkdir -v ../eglibc-build
77cd ../eglibc-build</userinput></screen>
[3f8be484]78
[093b0e8]79 <para os="g">Prepare EGLIBC for compilation:</para>
[3f8be484]80
[093b0e8]81<screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \
[3f8be484]82 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
[093b0e8]83 --libexecdir=/usr/lib/eglibc</userinput></screen>
[3f8be484]84
85 <variablelist os="i">
86 <title>The meaning of the new configure option:</title>
87
88 <varlistentry>
[093b0e8]89 <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term>
[3f8be484]90 <listitem>
91 <para>This changes the location of the <command>pt_chown</command>
92 program from its default of <filename
93 class="directory">/usr/libexec</filename> to <filename
[093b0e8]94 class="directory">/usr/lib/eglibc</filename>.</para>
[3f8be484]95 </listitem>
96 </varlistentry>
97 </variablelist>
98
99 <para os="j">Compile the package:</para>
100
101<screen os="k"><userinput>make</userinput></screen>
102
103 <important os="l">
[093b0e8]104 <para>The test suite for EGLIBC is considered critical.
[3f8be484]105 Do not skip it under any circumstance.</para>
106 </important>
107
[d8f87e8]108 <para os="m">Before running the tests, copy a file from the source tree into our
109 build tree to prevent a couple of test failures, then run the tests:</para>
[3f8be484]110
111<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
112
[2026a2e]113<screen os="n"><userinput>cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
[0179f08]114make -k check 2&gt;&amp;1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen>
[3f8be484]115
[093b0e8]116 <para os="o">The EGLIBC test suite is highly dependent on certain functions of
[10b2850]117 the host system, in particular the kernel. The posix/annexc test normally fails
118 and you should see <literal>Error 1 (ignored)</literal> in the output. Apart
[093b0e8]119 from this, the EGLIBC test suite is always expected to pass. However, in certain
[10b2850]120 circumstances, some failures are unavoidable. If a test fails because of a missing
121 program (or missing symbolic link), or a segfault, you will see an error code
122 greater than 127 and the details will be in the log. More commonly, tests will
123 fail with <literal>Error 2</literal> - for these, the contents of the corresponding
124 <filename>.out</filename> file, e.g. <filename>posix/annexc.out</filename> may be
125 informative. Here is a list of the most common issues:</para>
[3f8be484]126
127 <itemizedlist os="p">
128 <listitem>
[3514708]129 <para>The <emphasis>math</emphasis> tests sometimes fail.
130 Certain optimization settings are known to be a
131 factor here.</para>
[3f8be484]132 </listitem>
133 <listitem>
[fb40919]134 <para>If you have mounted the CLFS partition with the
[3f8be484]135 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
136 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
137 do not use the <parameter>noatime</parameter> option while building
[fb40919]138 CLFS.</para>
[3f8be484]139 </listitem>
140 <listitem>
141 <para>When running on older and slower hardware, some tests
142 can fail because of test timeouts being exceeded.</para>
143 </listitem>
144 </itemizedlist>
145
[093b0e8]146 <para os="q">Though it is a harmless message, the install stage of EGLIBC will
[3f8be484]147 complain about the absence of <filename>/etc/ld.so.conf</filename>.
148 Prevent this warning with:</para>
149
150<screen os="r"><userinput>touch /etc/ld.so.conf</userinput></screen>
151
152 <para os="s">Install the package:</para>
153
154<screen os="t"><userinput>make install</userinput></screen>
155
156 </sect2>
157
[093b0e8]158 <sect2 id="i18n-eglibc" role="configuration">
[3f8be484]159 <title>Internationalization</title>
160
161 <para>The locales that can make the system respond in a different
[5a321cb]162 language were not installed by the above command. Install them
[3f8be484]163 with:</para>
164
165<screen><userinput>make localedata/install-locales</userinput></screen>
166
167 <para>To save time, an alternative to running the previous command (which
[643f8be]168 generates and installs every locale listed in the
[e7aadbe]169 <filename>eglibc-&eglibc-version;/localedata/SUPPORTED</filename> file) is
170 to install only those locales that are wanted and needed. This can be
171 achieved by using the <command>localedef</command> command. Information on
172 this command is located in the <filename>INSTALL</filename> file in the
173 EGLIBC source. However, there are a number of locales that are essential in
174 order for the tests of future packages to pass, in particular, the
[3f8be484]175 <emphasis>libstdc++</emphasis> tests from GCC. The following instructions,
176 instead of the <parameter>install-locales</parameter> target used above,
177 will install the minimum set of locales necessary for the tests to run
178 successfully:</para>
179
[3a3e135]180<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
[8a10f1c]181localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
[3f8be484]182localedef -i de_DE -f ISO-8859-1 de_DE
183localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
184localedef -i en_HK -f ISO-8859-1 en_HK
185localedef -i en_PH -f ISO-8859-1 en_PH
186localedef -i en_US -f ISO-8859-1 en_US
187localedef -i es_MX -f ISO-8859-1 es_MX
188localedef -i fa_IR -f UTF-8 fa_IR
189localedef -i fr_FR -f ISO-8859-1 fr_FR
190localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
191localedef -i it_IT -f ISO-8859-1 it_IT
192localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
193
194 <para>Some locales installed by the <command>make
195 localedata/install-locales</command> command above are not properly
[e3a8717]196 supported by some applications that are in CLFS and CBLFS. Because
[3f8be484]197 of the various problems that arise due to application programmers making
[fb40919]198 assumptions that break in such locales, CLFS should not be used in locales
[3f8be484]199 that utilize multibyte character sets (including UTF-8) or right-to-left
200 writing order. Numerous unofficial and unstable patches are required to
[fb40919]201 fix these problems, and it has been decided by the CLFS developers not to
[643f8be]202 support such complex locales at this time. This applies to the ja_JP and
203 fa_IR locales as well&mdash;they have been installed only for GCC and
204 Gettext tests to pass, and the <command>watch</command> program (part of
205 the Procps package) does not work properly in them. Various attempts to
206 circumvent these restrictions are documented in internationalization-related
207 hints.</para>
[3f8be484]208
209 </sect2>
210
[093b0e8]211 <sect2 id="conf-eglibc" role="configuration">
212 <title>Configuring EGLIBC</title>
[3f8be484]213
[093b0e8]214 <indexterm zone="conf-eglibc">
[3f8be484]215 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
216 </indexterm>
217
[093b0e8]218 <indexterm zone="conf-eglibc">
[3f8be484]219 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
220 </indexterm>
221
222 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
[093b0e8]223 because, although EGLIBC provides defaults when this file is missing or
224 corrupt, the EGLIBC defaults do not work well in a networked environment.
[3f8be484]225 The time zone also needs to be configured.</para>
226
227 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running
228 the following:</para>
229
230<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
231<literal># Begin /etc/nsswitch.conf
232
233passwd: files
234group: files
235shadow: files
236
237hosts: files dns
238networks: files
239
240protocols: files
241services: files
242ethers: files
243rpc: files
244
245# End /etc/nsswitch.conf</literal>
246EOF</userinput></screen>
247
248 <para>To determine the local time zone, run the following script:</para>
249
[0f3854e]250<screen role="nodump"><userinput>tzselect</userinput></screen>
[3f8be484]251
252 <para>After answering a few questions about the location, the script will
253 output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
254 <emphasis>Canada/Eastern</emphasis>). Then create the
255 <filename>/etc/localtime</filename> file by running:</para>
256
[94e6142]257<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
[3f8be484]258 /etc/localtime</userinput></screen>
259
260 <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
261 that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
262
263 <variablelist>
264 <title>The meaning of the cp option:</title>
265
266 <varlistentry>
267 <term><parameter>--remove-destination</parameter></term>
268 <listitem>
269 <para>This is needed to force removal of the already existing symbolic
270 link. The reason for copying the file instead of using a symlink is to
271 cover the situation where <filename class="directory">/usr</filename>
272 is on a separate partition. This could be important when booted into
273 single user mode.</para>
274 </listitem>
275 </varlistentry>
276 </variablelist>
277
278 </sect2>
279
280 <sect2 id="conf-ld" role="configuration">
[0b637f1]281 <title>Configuring The Dynamic Loader</title>
[3f8be484]282
283 <indexterm zone="conf-ld">
284 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
285 </indexterm>
286
[3998188]287 <para os="ld-a">By default, the dynamic loader (<filename
[3f8be484]288 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
289 <filename class="directory">/lib</filename> and <filename
290 class="directory">/usr/lib</filename> for dynamic libraries that are
291 needed by programs as they are run. However, if there are libraries in
292 directories other than <filename class="directory">/lib</filename> and
293 <filename class="directory">/usr/lib</filename>, these need to be
294 added to the <filename>/etc/ld.so.conf</filename> file in order
295 for the dynamic loader to find them. Two directories that are commonly
296 known to contain additional libraries are <filename
297 class="directory">/usr/local/lib</filename> and <filename
298 class="directory">/opt/lib</filename>, so add those directories to the
299 dynamic loader's search path.</para>
300
[3998188]301 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
[3f8be484]302 following:</para>
303
[3998188]304<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[3f8be484]305<literal># Begin /etc/ld.so.conf
306
307/usr/local/lib
308/opt/lib
309
310# End /etc/ld.so.conf</literal>
311EOF</userinput></screen>
312
313 </sect2>
314
[093b0e8]315 <sect2 id="contents-eglibc" role="content">
316 <title>Contents of EGLIBC</title>
[3f8be484]317
318 <segmentedlist>
319 <segtitle>Installed programs</segtitle>
320 <segtitle>Installed libraries</segtitle>
[61ad0b7f]321 <segtitle>Installed directories</segtitle>
[3f8be484]322
323 <seglistitem>
324 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
[1e91bbd]325 ldd, lddlibc4, locale, localedef, mtrace, nscd,
[3f8be484]326 pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
327 zdump, and zic</seg>
328 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
[188b6b2]329 libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so],
330 libcrypt.[a,so], libdl.[a,so], libg.a, libieee.a, libm.[a,so],
331 libmcheck.a, libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so,
332 libnss_files.so, libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so,
333 libpcprofile.so, libpthread.[a,so], libpthread_nonshared.a,
[3f8be484]334 libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and
335 libutil.[a,so]</seg>
[61ad0b7f]336 <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
337 /usr/include/net, /usr/include/netash, /usr/include/netatalk,
338 /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
339 /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
340 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
341 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
342 /usr/include/sys, /usr/lib/gconv, /usr/lib/eglibc, /usr/lib/locale,
343 /usr/share/i18n, /usr/share/zoneinfo, /var/cache/ldconfig</seg>
[3f8be484]344 </seglistitem>
345 </segmentedlist>
346
347 <variablelist>
348 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
349 <?dbfo list-presentation="list"?>
350 <?dbhtml list-presentation="table"?>
351
352 <varlistentry id="catchsegv">
353 <term><command>catchsegv</command></term>
354 <listitem>
355 <para>Can be used to create a stack trace when a program
356 terminates with a segmentation fault</para>
[093b0e8]357 <indexterm zone="ch-system-eglibc catchsegv">
[3f8be484]358 <primary sortas="b-catchsegv">catchsegv</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="gencat">
364 <term><command>gencat</command></term>
365 <listitem>
366 <para>Generates message catalogues</para>
[093b0e8]367 <indexterm zone="ch-system-eglibc gencat">
[3f8be484]368 <primary sortas="b-gencat">gencat</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="getconf">
374 <term><command>getconf</command></term>
375 <listitem>
376 <para>Displays the system configuration values for file system specific
377 variables</para>
[093b0e8]378 <indexterm zone="ch-system-eglibc getconf">
[3f8be484]379 <primary sortas="b-getconf">getconf</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="getent">
385 <term><command>getent</command></term>
386 <listitem>
387 <para>Gets entries from an administrative database</para>
[093b0e8]388 <indexterm zone="ch-system-eglibc getent">
[3f8be484]389 <primary sortas="b-getent">getent</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="iconv">
395 <term><command>iconv</command></term>
396 <listitem>
397 <para>Performs character set conversion</para>
[093b0e8]398 <indexterm zone="ch-system-eglibc iconv">
[3f8be484]399 <primary sortas="b-iconv">iconv</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="iconvconfig">
405 <term><command>iconvconfig</command></term>
406 <listitem>
407 <para>Creates fastloading <command>iconv</command> module configuration
408 files</para>
[093b0e8]409 <indexterm zone="ch-system-eglibc iconvconfig">
[3f8be484]410 <primary sortas="b-iconvconfig">iconvconfig</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="ldconfig">
416 <term><command>ldconfig</command></term>
417 <listitem>
418 <para>Configures the dynamic linker runtime bindings</para>
[093b0e8]419 <indexterm zone="ch-system-eglibc ldconfig">
[3f8be484]420 <primary sortas="b-ldconfig">ldconfig</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="ldd">
426 <term><command>ldd</command></term>
427 <listitem>
428 <para>Reports which shared libraries are required
429 by each given program or shared library</para>
[093b0e8]430 <indexterm zone="ch-system-eglibc ldd">
[3f8be484]431 <primary sortas="b-ldd">ldd</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="lddlibc4">
437 <term><command>lddlibc4</command></term>
438 <listitem>
439 <para>Assists <command>ldd</command> with object files</para>
[093b0e8]440 <indexterm zone="ch-system-eglibc lddlibc4">
[3f8be484]441 <primary sortas="b-lddlibc4">lddlibc4</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
446 <varlistentry id="locale">
447 <term><command>locale</command></term>
448 <listitem>
449 <para>Tells the compiler to enable or disable the use of POSIX locales
450 for built-in operations</para>
[093b0e8]451 <indexterm zone="ch-system-eglibc locale">
[3f8be484]452 <primary sortas="b-locale">locale</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="localedef">
458 <term><command>localedef</command></term>
459 <listitem>
460 <para>Compiles locale specifications</para>
[093b0e8]461 <indexterm zone="ch-system-eglibc localedef">
[3f8be484]462 <primary sortas="b-localedef">localedef</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="mtrace">
468 <term><command>mtrace</command></term>
469 <listitem>
470 <para>Reads and interprets a memory trace file and
471 displays a summary in human-readable format</para>
[093b0e8]472 <indexterm zone="ch-system-eglibc mtrace">
[3f8be484]473 <primary sortas="b-mtrace">mtrace</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="nscd">
479 <term><command>nscd</command></term>
480 <listitem>
481 <para>A daemon that provides a cache for the most common name
482 service requests</para>
[093b0e8]483 <indexterm zone="ch-system-eglibc nscd">
[3f8be484]484 <primary sortas="b-nscd">nscd</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 <varlistentry id="pcprofiledump">
490 <term><command>pcprofiledump</command></term>
491 <listitem>
492 <para>Dumps information generated by PC profiling</para>
[093b0e8]493 <indexterm zone="ch-system-eglibc pcprofiledump">
[3f8be484]494 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
495 </indexterm>
496 </listitem>
497 </varlistentry>
498
499 <varlistentry id="pt_chown">
500 <term><command>pt_chown</command></term>
501 <listitem>
502 <para>A helper program for <command>grantpt</command> to set the owner,
503 group and access permissions of a slave pseudo terminal</para>
[093b0e8]504 <indexterm zone="ch-system-eglibc pt_chown">
[3f8be484]505 <primary sortas="b-pt_chown">pt_chown</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="rpcgen">
511 <term><command>rpcgen</command></term>
512 <listitem>
513 <para>Generates C code to implement the Remote Procecure Call (RPC)
514 protocol</para>
[093b0e8]515 <indexterm zone="ch-system-eglibc rpcgen">
[3f8be484]516 <primary sortas="b-rpcgen">rpcgen</primary>
517 </indexterm>
518 </listitem>
519 </varlistentry>
520
521 <varlistentry id="rpcinfo">
522 <term><command>rpcinfo</command></term>
523 <listitem>
524 <para>Makes an RPC call to an RPC server</para>
[093b0e8]525 <indexterm zone="ch-system-eglibc rpcinfo">
[3f8be484]526 <primary sortas="b-rpcinfo">rpcinfo</primary>
527 </indexterm>
528 </listitem>
529 </varlistentry>
530
531 <varlistentry id="sln">
532 <term><command>sln</command></term>
533 <listitem>
[7087cbc]534 <para>A statically linked program that creates symbolic links</para>
[093b0e8]535 <indexterm zone="ch-system-eglibc sln">
[3f8be484]536 <primary sortas="b-sln">sln</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
541 <varlistentry id="sprof">
542 <term><command>sprof</command></term>
543 <listitem>
544 <para>Reads and displays shared object profiling data</para>
[093b0e8]545 <indexterm zone="ch-system-eglibc sprof">
[3f8be484]546 <primary sortas="b-sprof">sprof</primary>
547 </indexterm>
548 </listitem>
549 </varlistentry>
550
551 <varlistentry id="tzselect">
552 <term><command>tzselect</command></term>
553 <listitem>
554 <para>Asks the user about the location of the
555 system and reports the corresponding time zone description</para>
[093b0e8]556 <indexterm zone="ch-system-eglibc tzselect">
[3f8be484]557 <primary sortas="b-tzselect">tzselect</primary>
558 </indexterm>
559 </listitem>
560 </varlistentry>
561
562 <varlistentry id="xtrace">
563 <term><command>xtrace</command></term>
564 <listitem>
565 <para>Traces the execution of a program by
566 printing the currently executed function</para>
[093b0e8]567 <indexterm zone="ch-system-eglibc xtrace">
[3f8be484]568 <primary sortas="b-xtrace">xtrace</primary>
569 </indexterm>
570 </listitem>
571 </varlistentry>
572
573 <varlistentry id="zdump">
574 <term><command>zdump</command></term>
575 <listitem>
576 <para>The time zone dumper</para>
[093b0e8]577 <indexterm zone="ch-system-eglibc zdump">
[3f8be484]578 <primary sortas="b-zdump">zdump</primary>
579 </indexterm>
580 </listitem>
581 </varlistentry>
582
583 <varlistentry id="zic">
584 <term><command>zic</command></term>
585 <listitem>
586 <para>The time zone compiler</para>
[093b0e8]587 <indexterm zone="ch-system-eglibc zic">
[3f8be484]588 <primary sortas="b-zic">zic</primary>
589 </indexterm>
590 </listitem>
591 </varlistentry>
592
593 <varlistentry id="ld.so">
594 <term><filename class="libraryfile">ld.so</filename></term>
595 <listitem>
596 <para>The helper program for shared library executables</para>
[093b0e8]597 <indexterm zone="ch-system-eglibc ld.so">
[3f8be484]598 <primary sortas="c-ld.so">ld.so</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="libBrokenLocale">
604 <term><filename class="libraryfile">libBrokenLocale</filename></term>
605 <listitem>
606 <para>Used by programs, such as Mozilla, to solve broken locales</para>
[093b0e8]607 <indexterm zone="ch-system-eglibc libBrokenLocale">
[3f8be484]608 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="libSegFault">
614 <term><filename class="libraryfile">libSegFault</filename></term>
615 <listitem>
616 <para>The segmentation fault signal handler</para>
[093b0e8]617 <indexterm zone="ch-system-eglibc libSegFault">
[3f8be484]618 <primary sortas="c-libSegFault">libSegFault</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622
623 <varlistentry id="libanl">
624 <term><filename class="libraryfile">libanl</filename></term>
625 <listitem>
626 <para>An asynchronous name lookup library</para>
[093b0e8]627 <indexterm zone="ch-system-eglibc libanl">
[3f8be484]628 <primary sortas="c-libanl">libanl</primary>
629 </indexterm>
630 </listitem>
631 </varlistentry>
632
633 <varlistentry id="libbsd-compat">
634 <term><filename class="libraryfile">libbsd-compat</filename></term>
635 <listitem>
636 <para>Provides the portability needed
637 in order to run certain Berkey Software Distribution (BSD) programs
638 under Linux</para>
[093b0e8]639 <indexterm zone="ch-system-eglibc libbsd-compat">
[3f8be484]640 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="libc">
646 <term><filename class="libraryfile">libc</filename></term>
647 <listitem>
648 <para>The main C library</para>
[093b0e8]649 <indexterm zone="ch-system-eglibc libc">
[3f8be484]650 <primary sortas="c-libc">libc</primary>
651 </indexterm>
652 </listitem>
653 </varlistentry>
654
[188b6b2]655 <varlistentry id="libcidn">
656 <term><filename class="libraryfile">libcidn</filename></term>
657 <listitem>
658 <para>Used internally by EGLIBC for handling internationalized domain
659 names in the <function>getaddrinfo()</function> function</para>
660 <indexterm zone="ch-system-eglibc libcidn">
661 <primary sortas="c-libcidn">libcidn</primary>
662 </indexterm>
663 </listitem>
664 </varlistentry>
665
[3f8be484]666 <varlistentry id="libcrypt">
667 <term><filename class="libraryfile">libcrypt</filename></term>
668 <listitem>
669 <para>The cryptography library</para>
[093b0e8]670 <indexterm zone="ch-system-eglibc libcrypt">
[3f8be484]671 <primary sortas="c-libcrypt">libcrypt</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
676 <varlistentry id="libdl">
677 <term><filename class="libraryfile">libdl</filename></term>
678 <listitem>
679 <para>The dynamic linking interface library</para>
[093b0e8]680 <indexterm zone="ch-system-eglibc libdl">
[3f8be484]681 <primary sortas="c-libdl">libdl</primary>
682 </indexterm>
683 </listitem>
684 </varlistentry>
685
686 <varlistentry id="libg">
687 <term><filename class="libraryfile">libg</filename></term>
688 <listitem>
689 <para>A runtime library for <command>g++</command></para>
[093b0e8]690 <indexterm zone="ch-system-eglibc libg">
[3f8be484]691 <primary sortas="c-libg">libg</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 <varlistentry id="libieee">
697 <term><filename class="libraryfile">libieee</filename></term>
698 <listitem>
699 <para>The Institute of Electrical and Electronic Engineers (IEEE)
700 floating point library</para>
[093b0e8]701 <indexterm zone="ch-system-eglibc libieee">
[3f8be484]702 <primary sortas="c-libieee">libieee</primary>
703 </indexterm>
704 </listitem>
705 </varlistentry>
706
707 <varlistentry id="libm">
708 <term><filename class="libraryfile">libm</filename></term>
709 <listitem>
710 <para>The mathematical library</para>
[093b0e8]711 <indexterm zone="ch-system-eglibc libm">
[3f8be484]712 <primary sortas="c-libm">libm</primary>
713 </indexterm>
714 </listitem>
715 </varlistentry>
716
717 <varlistentry id="libmcheck">
718 <term><filename class="libraryfile">libmcheck</filename></term>
719 <listitem>
720 <para>Contains code run at boot</para>
[093b0e8]721 <indexterm zone="ch-system-eglibc libmcheck">
[3f8be484]722 <primary sortas="c-libmcheck">libmcheck</primary>
723 </indexterm>
724 </listitem>
725 </varlistentry>
726
727 <varlistentry id="libmemusage">
728 <term><filename class="libraryfile">libmemusage</filename></term>
729 <listitem>
[093b0e8]730 <para>Used by <command>memusage</command> (included in EGLIBC, but
[7087cbc]731 not built in a base CLFS system as it has additional dependencies)
732 to help collect information about the memory usage of a program</para>
[093b0e8]733 <indexterm zone="ch-system-eglibc libmemusage">
[3f8be484]734 <primary sortas="c-libmemusage">libmemusage</primary>
735 </indexterm>
736 </listitem>
737 </varlistentry>
738
739 <varlistentry id="libnsl">
740 <term><filename class="libraryfile">libnsl</filename></term>
741 <listitem>
742 <para>The network services library</para>
[093b0e8]743 <indexterm zone="ch-system-eglibc libnsl">
[3f8be484]744 <primary sortas="c-libnsl">libnsl</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
749 <varlistentry id="libnss">
750 <term><filename class="libraryfile">libnss</filename></term>
751 <listitem>
752 <para>The Name Service Switch libraries, containing functions for
753 resolving host names, user names, group names, aliases, services,
754 protocols, etc.</para>
[093b0e8]755 <indexterm zone="ch-system-eglibc libnss">
[3f8be484]756 <primary sortas="c-libnss">libnss</primary>
757 </indexterm>
758 </listitem>
759 </varlistentry>
760
761 <varlistentry id="libpcprofile">
762 <term><filename class="libraryfile">libpcprofile</filename></term>
763 <listitem>
764 <para>Contains profiling functions used to track the amount of CPU
765 time spent in specific source code lines</para>
[093b0e8]766 <indexterm zone="ch-system-eglibc libpcprofile">
[3f8be484]767 <primary sortas="c-libpcprofile">libpcprofile</primary>
768 </indexterm>
769 </listitem>
770 </varlistentry>
771
772 <varlistentry id="libpthread">
773 <term><filename class="libraryfile">libpthread</filename></term>
774 <listitem>
775 <para>The POSIX threads library</para>
[093b0e8]776 <indexterm zone="ch-system-eglibc libpthread">
[3f8be484]777 <primary sortas="c-libpthread">libpthread</primary>
778 </indexterm>
779 </listitem>
780 </varlistentry>
781
782 <varlistentry id="libresolv">
783 <term><filename class="libraryfile">libresolv</filename></term>
784 <listitem>
785 <para>Contains functions for creating, sending, and interpreting
786 packets to the Internet domain name servers</para>
[093b0e8]787 <indexterm zone="ch-system-eglibc libresolv">
[3f8be484]788 <primary sortas="c-libresolv">libresolv</primary>
789 </indexterm>
790 </listitem>
791 </varlistentry>
792
793 <varlistentry id="librpcsvc">
794 <term><filename class="libraryfile">librpcsvc</filename></term>
795 <listitem>
796 <para>Contains functions providing miscellaneous RPC services</para>
[093b0e8]797 <indexterm zone="ch-system-eglibc librpcsvc">
[3f8be484]798 <primary sortas="c-librpcsvc">librpcsvc</primary>
799 </indexterm>
800 </listitem>
801 </varlistentry>
802
803 <varlistentry id="librt">
804 <term><filename class="libraryfile">librt</filename></term>
805 <listitem>
806 <para>Contains functions providing most of the interfaces specified by
807 the POSIX.1b Realtime Extension</para>
[093b0e8]808 <indexterm zone="ch-system-eglibc librt">
[3f8be484]809 <primary sortas="c-librt">librt</primary>
810 </indexterm>
811 </listitem>
812 </varlistentry>
813
814 <varlistentry id="libthread_db">
815 <term><filename class="libraryfile">libthread_db</filename></term>
816 <listitem>
817 <para>Contains functions useful for
818 building debuggers for multi-threaded programs</para>
[093b0e8]819 <indexterm zone="ch-system-eglibc libthread_db">
[3f8be484]820 <primary sortas="c-libthread_db">libthread_db</primary>
821 </indexterm>
822 </listitem>
823 </varlistentry>
824
825 <varlistentry id="libutil">
826 <term><filename class="libraryfile">libutil</filename></term>
827 <listitem>
828 <para>Contains code for <quote>standard</quote> functions used in
829 many different Unix utilities</para>
[093b0e8]830 <indexterm zone="ch-system-eglibc libutil">
[3f8be484]831 <primary sortas="c-libutil">libutil</primary>
832 </indexterm>
833 </listitem>
834 </varlistentry>
835
836 </variablelist>
837
838 </sect2>
839
840</sect1>
Note: See TracBrowser for help on using the repository browser.