source: chapter06/glibc.xml@ e9e4abc0

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 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since e9e4abc0 was c4d687f, checked in by Matthew Burgess <matthew@…>, 19 years ago

Reworded known glibc test failures

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6215 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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