source: final-system/common/glibc.xml@ 0498d9ca

Last change on this file since 0498d9ca was 0498d9ca, checked in by Ken Moffat <zarniwhoop@…>, 18 years ago

Add details of where to look if glibc tests fail, and move posix/annexc out of the paragraph on math tests.

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