source: chapter06/glibc.xml@ 0102f53

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 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0102f53 was b1a3697, checked in by Dan Nichilson <dnicholson@…>, 17 years ago

Add known failing glibc test when using gcc-4.1.x

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

  • Property mode set to 100644
File size: 32.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
28
29 <seglistitem>
30 <seg>&glibc-ch6-sbu;</seg>
31 <seg>&glibc-ch6-du;</seg>
32 </seglistitem>
33 </segmentedlist>
34
35 </sect2>
36
37 <sect2 role="installation">
38 <title>Installation of Glibc</title>
39
40 <note>
41 <para>Some packages outside of LFS suggest installing GNU libiconv in
42 order to translate data from one encoding to another. The project's
43 home page (<ulink url="http://www.gnu.org/software/libiconv/"/>) says
44 <quote>This library provides an <function>iconv()</function>
45 implementation, for use on systems which don't have one, or whose
46 implementation cannot convert from/to Unicode.</quote> Glibc provides
47 an <function>iconv()</function> implementation and can convert from/to
48 Unicode, therefore libiconv is not required on an LFS system.</para>
49 </note>
50
51 <para>The Glibc build system is self-contained and will install
52 perfectly, even though the compiler specs file and linker are still
53 pointing at <filename class="directory">/tools</filename>. The specs
54 and linker cannot be adjusted before the Glibc install because the
55 Glibc autoconf tests would give false results and defeat the goal
56 of achieving a clean build.</para>
57
58 <para>The glibc-libidn tarball adds support for internationalized domain
59 names (IDN) to Glibc. Many programs that support IDN require the full
60 <filename class="libraryfile">libidn</filename> library, not this add-on (see
61 <ulink url="&blfs-root;view/svn/general/libidn.html"/>).
62 Unpack the tarball from within the Glibc source directory:</para>
63
64<screen><userinput>tar -xvf ../glibc-libidn-&glibc-version;.tar.bz2
65mv glibc-libidn-&glibc-version; libidn</userinput></screen>
66
67 <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
68 at startup. It is unknown whether this is a <command>bash</command> bug or a
69 Glibc problem. Disable installation of this locale in order to avoid the
70 problem:</para>
71
72<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
73
74 <para>When running <command>make install</command>, a script called
75 <filename>test-installation.pl</filename> performs a small sanity test on
76 our newly installed Glibc. However, because our toolchain still points to
77 the <filename class="directory">/tools</filename> directory, the sanity
78 test would be carried out against the wrong Glibc. We can force the script
79 to check the Glibc we have just installed with the following:</para>
80
81<screen><userinput>sed -i \
82's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
83 scripts/test-installation.pl</userinput></screen>
84
85 <para>Apply a patch to obtain various fixes that the upstream maintainers
86 have provided:</para>
87
88<screen><userinput>patch -Np1 -i ../&glibc-branch_update-patch;</userinput></screen>
89
90 <para>The <command>ldd</command> shell script contains Bash-specific
91 syntax. Change it's default program interpreter to <command>/bin/bash</command>
92 in case another <command>/bin/sh</command> is installed as described in the
93 <ulink url="&blfs-root;view/svn/postlfs/shells.html">Shells</ulink>
94 chapter of the BLFS book:</para>
95
96<screen><userinput>sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>
97
98 <para>The Glibc documentation recommends building Glibc outside of the source
99 directory in a dedicated build directory:</para>
100
101<screen><userinput>mkdir -v ../glibc-build
102cd ../glibc-build</userinput></screen>
103
104 <para>Prepare Glibc for compilation:</para>
105
106<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
107 --disable-profile --enable-add-ons \
108 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen>
109
110 <variablelist>
111 <title>The meaning of the new configure options:</title>
112
113 <varlistentry>
114 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
115 <listitem>
116 <para>This changes the location of the <command>pt_chown</command>
117 program from its default of <filename
118 class="directory">/usr/libexec</filename> to <filename
119 class="directory">/usr/lib/glibc</filename>.</para>
120 </listitem>
121 </varlistentry>
122
123 </variablelist>
124
125 <para>Compile the package:</para>
126
127<screen><userinput>make</userinput></screen>
128
129 <important>
130 <para>In this section, the test suite for Glibc is considered critical.
131 Do not skip it under any circumstance.</para>
132 </important>
133
134 <para>Test the results:</para>
135
136<screen><userinput>make -k check 2&gt;&amp;1 | tee glibc-check-log
137grep Error glibc-check-log</userinput></screen>
138
139 <para>You will probably see an expected (ignored) failure in the
140 <emphasis>posix/annexc</emphasis> test. In addition the Glibc test suite
141 is somewhat dependent on the host system. This is a list of the most
142 common issues:</para>
143
144 <itemizedlist>
145 <!-- Check again after updating from gcc-4.1.x -->
146 <listitem>
147 <para>The <emphasis>nptl/tst-cancel1</emphasis> test will fail when
148 using the 4.1 series of GCC.</para>
149 </listitem>
150 <!-- Was true in glibc-2.3.6 -->
151 <listitem>
152 <para>The <emphasis>nptl/tst-clock2</emphasis> and
153 <emphasis>tst-attr3</emphasis> tests sometimes
154 fail. The reason is not completely understood, but indications
155 are that a heavy system load can trigger these failures.</para>
156 </listitem>
157 <listitem>
158 <para>The math tests sometimes fail when running on
159 systems where the CPU is not a relatively new genuine Intel or
160 authentic AMD processor.</para>
161 </listitem>
162 <listitem>
163 <para>If you have mounted the LFS partition with the
164 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
165 test will fail. As mentioned in <xref linkend="space-mounting"/>, do not
166 use the <parameter>noatime</parameter> option while building LFS.</para>
167 </listitem>
168 <listitem>
169 <para>When running on older and slower hardware or on systems under
170 load, some tests can fail because of test timeouts being exceeded.</para>
171 </listitem>
172 </itemizedlist>
173
174 <para>Though it is a harmless message, the install stage of Glibc will
175 complain about the absence of <filename>/etc/ld.so.conf</filename>.
176 Prevent this warning with:</para>
177
178<screen><userinput>touch /etc/ld.so.conf</userinput></screen>
179
180 <para>Install the package:</para>
181
182<screen><userinput>make install</userinput></screen>
183
184 <para>The locales that can make the system respond in a different language
185 were not installed by the above command. None of the locales are required,
186 but if some of them are missing, testsuites of the future packages would
187 skip important testcases.</para>
188
189 <para>Individual locales can be installed using the
190 <command>localedef</command> program. E.g., the first
191 <command>localedef</command> command below combines the
192 <filename>/usr/share/i18n/locales/de_DE</filename>
193 charset-independent locale definition with the
194 <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename>
195 charmap definition and appends the result to the
196 <filename>/usr/lib/locale/locale-archive</filename> file.
197 The following instructions will install the minimum set of
198 locales necessary for the optimal coverage of tests:</para>
199
200<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
201localedef -i de_DE -f ISO-8859-1 de_DE
202localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
203localedef -i en_HK -f ISO-8859-1 en_HK
204localedef -i en_PH -f ISO-8859-1 en_PH
205localedef -i en_US -f ISO-8859-1 en_US
206localedef -i en_US -f UTF-8 en_US.UTF-8
207localedef -i es_MX -f ISO-8859-1 es_MX
208localedef -i fa_IR -f UTF-8 fa_IR
209localedef -i fr_FR -f ISO-8859-1 fr_FR
210localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
211localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
212localedef -i it_IT -f ISO-8859-1 it_IT
213localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
214
215 <para>In addition, install the locale for your own country, language and
216 character set.</para>
217
218 <para>Alternatively, install all locales listed in the
219 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
220 (it includes every locale listed above and many more) at once with the
221 following time-consuming command:</para>
222
223<screen><userinput>make localedata/install-locales</userinput></screen>
224
225 <para>Then use the <command>localedef</command> command to create and
226 install locales not listed in the
227 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
228 in the unlikely case if you need them.</para>
229 <!-- The Live CD patches the localedata/SUPPORTED file instead of
230 running localedef, the results are equivalent -->
231
232 </sect2>
233
234 <sect2 id="conf-glibc" role="configuration">
235 <title>Configuring Glibc</title>
236
237 <indexterm zone="conf-glibc">
238 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
239 </indexterm>
240
241 <indexterm zone="conf-glibc">
242 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
243 </indexterm>
244
245 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
246 because, although Glibc provides defaults when this file is missing or corrupt,
247 the Glibc defaults do not work well in a networked environment. The time zone
248 also needs to be configured.</para>
249
250 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
251 following:</para>
252
253<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
254<literal># Begin /etc/nsswitch.conf
255
256passwd: files
257group: files
258shadow: files
259
260hosts: files dns
261networks: files
262
263protocols: files
264services: files
265ethers: files
266rpc: files
267
268# End /etc/nsswitch.conf</literal>
269EOF</userinput></screen>
270
271 <para>One way to determine the local time zone, run the following
272 script:</para>
273
274<screen role="nodump"><userinput>tzselect</userinput></screen>
275
276 <para>After answering a few questions about the location, the script will
277 output the name of the time zone (e.g.,
278 <emphasis>America/Edmonton</emphasis>). There are also some other possible
279 timezones listed in <filename
280 class='directory'>/usr/share/zoneinfo</filename> such as
281 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
282 are not identified by the script but can be used.</para>
283
284 <para>Then create the <filename>/etc/localtime</filename> file by
285 running:</para>
286
287<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
288 /etc/localtime</userinput></screen>
289
290 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
291 time zone selected (e.g., Canada/Eastern).</para>
292
293 <variablelist>
294 <title>The meaning of the cp option:</title>
295
296 <varlistentry>
297 <term><parameter>--remove-destination</parameter></term>
298 <listitem>
299 <para>This is needed to force removal of the already existing symbolic
300 link. The reason for copying the file instead of using a symlink is to
301 cover the situation where <filename class="directory">/usr</filename>
302 is on a separate partition. This could be important when booted into
303 single user mode.</para>
304 </listitem>
305 </varlistentry>
306
307 </variablelist>
308
309 </sect2>
310
311 <sect2 id="conf-ld" role="configuration">
312 <title>Configuring the Dynamic Loader</title>
313
314 <indexterm zone="conf-ld">
315 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
316 </indexterm>
317
318 <para>By default, the dynamic loader (<filename
319 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
320 <filename class="directory">/lib</filename> and <filename
321 class="directory">/usr/lib</filename> for dynamic libraries that are
322 needed by programs as they are run. However, if there are libraries in
323 directories other than <filename class="directory">/lib</filename> and
324 <filename class="directory">/usr/lib</filename>, these need to be added
325 to the <filename>/etc/ld.so.conf</filename> file in order for the
326 dynamic loader to find them. Two directories that are commonly known
327 to contain additional libraries are <filename
328 class="directory">/usr/local/lib</filename> and <filename
329 class="directory">/opt/lib</filename>, so add those directories to the
330 dynamic loader's search path.</para>
331
332 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
333 following:</para>
334
335<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
336<literal># Begin /etc/ld.so.conf
337
338/usr/local/lib
339/opt/lib
340
341# End /etc/ld.so.conf</literal>
342EOF</userinput></screen>
343
344 </sect2>
345
346 <sect2 id="contents-glibc" role="content">
347 <title>Contents of Glibc</title>
348
349 <segmentedlist>
350 <segtitle>Installed programs</segtitle>
351 <segtitle>Installed libraries</segtitle>
352
353 <seglistitem>
354 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
355 ldd, lddlibc4, locale, localedef, mtrace, nscd, pcprofiledump,
356 pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
357 zdump, and zic</seg>
358 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
359 libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so}, libdl.{a,so},
360 libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so,
361 libnsl.{a,so}, libnss_compat.so, libnss_dns.so, libnss_files.so,
362 libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so, libpcprofile.so,
363 libpthread.{a,so}, libresolv.{a,so}, librpcsvc.a, librt.{a,so},
364 libthread_db.so, and libutil.{a,so}</seg>
365 </seglistitem>
366 </segmentedlist>
367
368 <variablelist>
369 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
370 <?dbfo list-presentation="list"?>
371 <?dbhtml list-presentation="table"?>
372
373 <varlistentry id="catchsegv">
374 <term><command>catchsegv</command></term>
375 <listitem>
376 <para>Can be used to create a stack trace when a program
377 terminates with a segmentation fault</para>
378 <indexterm zone="ch-system-glibc catchsegv">
379 <primary sortas="b-catchsegv">catchsegv</primary>
380 </indexterm>
381 </listitem>
382 </varlistentry>
383
384 <varlistentry id="gencat">
385 <term><command>gencat</command></term>
386 <listitem>
387 <para>Generates message catalogues</para>
388 <indexterm zone="ch-system-glibc gencat">
389 <primary sortas="b-gencat">gencat</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="getconf">
395 <term><command>getconf</command></term>
396 <listitem>
397 <para>Displays the system configuration values for file system
398 specific variables</para>
399 <indexterm zone="ch-system-glibc getconf">
400 <primary sortas="b-getconf">getconf</primary>
401 </indexterm>
402 </listitem>
403 </varlistentry>
404
405 <varlistentry id="getent">
406 <term><command>getent</command></term>
407 <listitem>
408 <para>Gets entries from an administrative database</para>
409 <indexterm zone="ch-system-glibc getent">
410 <primary sortas="b-getent">getent</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="iconv">
416 <term><command>iconv</command></term>
417 <listitem>
418 <para>Performs character set conversion</para>
419 <indexterm zone="ch-system-glibc iconv">
420 <primary sortas="b-iconv">iconv</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 <varlistentry id="iconvconfig">
426 <term><command>iconvconfig</command></term>
427 <listitem>
428 <para>Creates fastloading <command>iconv</command> module configuration
429 files</para>
430 <indexterm zone="ch-system-glibc iconvconfig">
431 <primary sortas="b-iconvconfig">iconvconfig</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="ldconfig">
437 <term><command>ldconfig</command></term>
438 <listitem>
439 <para>Configures the dynamic linker runtime bindings</para>
440 <indexterm zone="ch-system-glibc ldconfig">
441 <primary sortas="b-ldconfig">ldconfig</primary>
442 </indexterm>
443 </listitem>
444 </varlistentry>
445
446 <varlistentry id="ldd">
447 <term><command>ldd</command></term>
448 <listitem>
449 <para>Reports which shared libraries are required
450 by each given program or shared library</para>
451 <indexterm zone="ch-system-glibc ldd">
452 <primary sortas="b-ldd">ldd</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="lddlibc4">
458 <term><command>lddlibc4</command></term>
459 <listitem>
460 <para>Assists <command>ldd</command> with object files</para>
461 <indexterm zone="ch-system-glibc lddlibc4">
462 <primary sortas="b-lddlibc4">lddlibc4</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="locale">
468 <term><command>locale</command></term>
469 <listitem>
470 <para>Prints various information about the current locale</para>
471 <indexterm zone="ch-system-glibc locale">
472 <primary sortas="b-locale">locale</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="localedef">
478 <term><command>localedef</command></term>
479 <listitem>
480 <para>Compiles locale specifications</para>
481 <indexterm zone="ch-system-glibc localedef">
482 <primary sortas="b-localedef">localedef</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="mtrace">
488 <term><command>mtrace</command></term>
489 <listitem>
490 <para>Reads and interprets a memory trace file and displays a summary
491 in human-readable format</para>
492 <indexterm zone="ch-system-glibc mtrace">
493 <primary sortas="b-mtrace">mtrace</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="nscd">
499 <term><command>nscd</command></term>
500 <listitem>
501 <para>A daemon that provides a cache for the most common name
502 service requests</para>
503 <indexterm zone="ch-system-glibc nscd">
504 <primary sortas="b-nscd">nscd</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508
509 <varlistentry id="pcprofiledump">
510 <term><command>pcprofiledump</command></term>
511 <listitem>
512 <para>Dumps information generated by PC profiling</para>
513 <indexterm zone="ch-system-glibc pcprofiledump">
514 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
515 </indexterm>
516 </listitem>
517 </varlistentry>
518
519 <varlistentry id="pt_chown">
520 <term><command>pt_chown</command></term>
521 <listitem>
522 <para>A helper program for <command>grantpt</command> to set the owner,
523 group and access permissions of a slave pseudo terminal</para>
524 <indexterm zone="ch-system-glibc pt_chown">
525 <primary sortas="b-pt_chown">pt_chown</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="rpcgen">
531 <term><command>rpcgen</command></term>
532 <listitem>
533 <para>Generates C code to implement the Remote Procecure Call (RPC)
534 protocol</para>
535 <indexterm zone="ch-system-glibc rpcgen">
536 <primary sortas="b-rpcgen">rpcgen</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
541 <varlistentry id="rpcinfo">
542 <term><command>rpcinfo</command></term>
543 <listitem>
544 <para>Makes an RPC call to an RPC server</para>
545 <indexterm zone="ch-system-glibc rpcinfo">
546 <primary sortas="b-rpcinfo">rpcinfo</primary>
547 </indexterm>
548 </listitem>
549 </varlistentry>
550
551 <varlistentry id="sln">
552 <term><command>sln</command></term>
553 <listitem>
554 <para>A statically linked <command>ln</command> program</para>
555 <indexterm zone="ch-system-glibc sln">
556 <primary sortas="b-sln">sln</primary>
557 </indexterm>
558 </listitem>
559 </varlistentry>
560
561 <varlistentry id="sprof">
562 <term><command>sprof</command></term>
563 <listitem>
564 <para>Reads and displays shared object profiling data</para>
565 <indexterm zone="ch-system-glibc sprof">
566 <primary sortas="b-sprof">sprof</primary>
567 </indexterm>
568 </listitem>
569 </varlistentry>
570
571 <varlistentry id="tzselect">
572 <term><command>tzselect</command></term>
573 <listitem>
574 <para>Asks the user about the location of the system and reports
575 the corresponding time zone description</para>
576 <indexterm zone="ch-system-glibc tzselect">
577 <primary sortas="b-tzselect">tzselect</primary>
578 </indexterm>
579 </listitem>
580 </varlistentry>
581
582 <varlistentry id="xtrace">
583 <term><command>xtrace</command></term>
584 <listitem>
585 <para>Traces the execution of a program by printing the currently
586 executed function</para>
587 <indexterm zone="ch-system-glibc xtrace">
588 <primary sortas="b-xtrace">xtrace</primary>
589 </indexterm>
590 </listitem>
591 </varlistentry>
592
593 <varlistentry id="zdump">
594 <term><command>zdump</command></term>
595 <listitem>
596 <para>The time zone dumper</para>
597 <indexterm zone="ch-system-glibc zdump">
598 <primary sortas="b-zdump">zdump</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 <varlistentry id="zic">
604 <term><command>zic</command></term>
605 <listitem>
606 <para>The time zone compiler</para>
607 <indexterm zone="ch-system-glibc zic">
608 <primary sortas="b-zic">zic</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="ld.so">
614 <term><filename class="libraryfile">ld.so</filename></term>
615 <listitem>
616 <para>The helper program for shared library executables</para>
617 <indexterm zone="ch-system-glibc ld.so">
618 <primary sortas="c-ld.so">ld.so</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622
623 <varlistentry id="libBrokenLocale">
624 <term><filename class="libraryfile">libBrokenLocale</filename></term>
625 <listitem>
626 <para>Used internally by Glibc as a gross hack to get broken programs
627 (e.g., some Motif applications) running. See comments in
628 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
629 for more information</para>
630 <indexterm zone="ch-system-glibc libBrokenLocale">
631 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
632 </indexterm>
633 </listitem>
634 </varlistentry>
635
636 <varlistentry id="libSegFault">
637 <term><filename class="libraryfile">libSegFault</filename></term>
638 <listitem>
639 <para>The segmentation fault signal handler, used by
640 <command>catchsegv</command></para>
641 <indexterm zone="ch-system-glibc libSegFault">
642 <primary sortas="c-libSegFault">libSegFault</primary>
643 </indexterm>
644 </listitem>
645 </varlistentry>
646
647 <varlistentry id="libanl">
648 <term><filename class="libraryfile">libanl</filename></term>
649 <listitem>
650 <para>An asynchronous name lookup library</para>
651 <indexterm zone="ch-system-glibc libanl">
652 <primary sortas="c-libanl">libanl</primary>
653 </indexterm>
654 </listitem>
655 </varlistentry>
656
657 <varlistentry id="libbsd-compat">
658 <term><filename class="libraryfile">libbsd-compat</filename></term>
659 <listitem>
660 <para>Provides the portability needed in order to run certain
661 Berkeley Software Distribution (BSD) programs under Linux</para>
662 <indexterm zone="ch-system-glibc libbsd-compat">
663 <primary sortas="c-libbsd-compat">libbsd-compat</primary>
664 </indexterm>
665 </listitem>
666 </varlistentry>
667
668 <varlistentry id="libc">
669 <term><filename class="libraryfile">libc</filename></term>
670 <listitem>
671 <para>The main C library</para>
672 <indexterm zone="ch-system-glibc libc">
673 <primary sortas="c-libc">libc</primary>
674 </indexterm>
675 </listitem>
676 </varlistentry>
677
678 <varlistentry id="libcidn">
679 <term><filename class="libraryfile">libcidn</filename></term>
680 <listitem>
681 <para>Used internally by Glibc for handling internationalized domain
682 names in the <function>getaddrinfo()</function> function</para>
683 <indexterm zone="ch-system-glibc libcrypt">
684 <primary sortas="c-libcrypt">libcrypt</primary>
685 </indexterm>
686 </listitem>
687 </varlistentry>
688
689 <varlistentry id="libcrypt">
690 <term><filename class="libraryfile">libcrypt</filename></term>
691 <listitem>
692 <para>The cryptography library</para>
693 <indexterm zone="ch-system-glibc libcrypt">
694 <primary sortas="c-libcrypt">libcrypt</primary>
695 </indexterm>
696 </listitem>
697 </varlistentry>
698
699 <varlistentry id="libdl">
700 <term><filename class="libraryfile">libdl</filename></term>
701 <listitem>
702 <para>The dynamic linking interface library</para>
703 <indexterm zone="ch-system-glibc libdl">
704 <primary sortas="c-libdl">libdl</primary>
705 </indexterm>
706 </listitem>
707 </varlistentry>
708
709 <varlistentry id="libg">
710 <term><filename class="libraryfile">libg</filename></term>
711 <listitem>
712 <para>Dummy library containing no functions. Previously was a runtime
713 library for <command>g++</command></para>
714 <indexterm zone="ch-system-glibc libg">
715 <primary sortas="c-libg">libg</primary>
716 </indexterm>
717 </listitem>
718 </varlistentry>
719
720 <varlistentry id="libieee">
721 <term><filename class="libraryfile">libieee</filename></term>
722 <listitem>
723 <para>Linking in this module forces error handling rules for math
724 functions as defined by the Institute of Electrical and Electronic
725 Engineers (IEEE). The default is POSIX.1 error handling</para>
726 <indexterm zone="ch-system-glibc libieee">
727 <primary sortas="c-libieee">libieee</primary>
728 </indexterm>
729 </listitem>
730 </varlistentry>
731
732 <varlistentry id="libm">
733 <term><filename class="libraryfile">libm</filename></term>
734 <listitem>
735 <para>The mathematical library</para>
736 <indexterm zone="ch-system-glibc libm">
737 <primary sortas="c-libm">libm</primary>
738 </indexterm>
739 </listitem>
740 </varlistentry>
741
742 <varlistentry id="libmcheck">
743 <term><filename class="libraryfile">libmcheck</filename></term>
744 <listitem>
745 <para>Turns on memory allocation checking when linked to</para>
746 <indexterm zone="ch-system-glibc libmcheck">
747 <primary sortas="c-libmcheck">libmcheck</primary>
748 </indexterm>
749 </listitem>
750 </varlistentry>
751
752 <varlistentry id="libmemusage">
753 <term><filename class="libraryfile">libmemusage</filename></term>
754 <listitem>
755 <para>Used by <command>memusage</command> to help collect
756 information about the memory usage of a program</para>
757 <indexterm zone="ch-system-glibc libmemusage">
758 <primary sortas="c-libmemusage">libmemusage</primary>
759 </indexterm>
760 </listitem>
761 </varlistentry>
762
763 <varlistentry id="libnsl">
764 <term><filename class="libraryfile">libnsl</filename></term>
765 <listitem>
766 <para>The network services library</para>
767 <indexterm zone="ch-system-glibc libnsl">
768 <primary sortas="c-libnsl">libnsl</primary>
769 </indexterm>
770 </listitem>
771 </varlistentry>
772
773 <varlistentry id="libnss">
774 <term><filename class="libraryfile">libnss</filename></term>
775 <listitem>
776 <para>The Name Service Switch libraries, containing functions for
777 resolving host names, user names, group names, aliases, services,
778 protocols, etc.</para>
779 <indexterm zone="ch-system-glibc libnss">
780 <primary sortas="c-libnss">libnss</primary>
781 </indexterm>
782 </listitem>
783 </varlistentry>
784
785 <varlistentry id="libpcprofile">
786 <term><filename class="libraryfile">libpcprofile</filename></term>
787 <listitem>
788 <para>Contains profiling functions used to track the amount of CPU
789 time spent in specific source code lines</para>
790 <indexterm zone="ch-system-glibc libpcprofile">
791 <primary sortas="c-libpcprofile">libpcprofile</primary>
792 </indexterm>
793 </listitem>
794 </varlistentry>
795
796 <varlistentry id="libpthread">
797 <term><filename class="libraryfile">libpthread</filename></term>
798 <listitem>
799 <para>The POSIX threads library</para>
800 <indexterm zone="ch-system-glibc libpthread">
801 <primary sortas="c-libpthread">libpthread</primary>
802 </indexterm>
803 </listitem>
804 </varlistentry>
805
806 <varlistentry id="libresolv">
807 <term><filename class="libraryfile">libresolv</filename></term>
808 <listitem>
809 <para>Contains functions for creating, sending, and interpreting
810 packets to the Internet domain name servers</para>
811 <indexterm zone="ch-system-glibc libresolv">
812 <primary sortas="c-libresolv">libresolv</primary>
813 </indexterm>
814 </listitem>
815 </varlistentry>
816
817 <varlistentry id="librpcsvc">
818 <term><filename class="libraryfile">librpcsvc</filename></term>
819 <listitem>
820 <para>Contains functions providing miscellaneous RPC services</para>
821 <indexterm zone="ch-system-glibc librpcsvc">
822 <primary sortas="c-librpcsvc">librpcsvc</primary>
823 </indexterm>
824 </listitem>
825 </varlistentry>
826
827 <varlistentry id="librt">
828 <term><filename class="libraryfile">librt</filename></term>
829 <listitem>
830 <para>Contains functions providing most of the interfaces specified
831 by the POSIX.1b Realtime Extension</para>
832 <indexterm zone="ch-system-glibc librt">
833 <primary sortas="c-librt">librt</primary>
834 </indexterm>
835 </listitem>
836 </varlistentry>
837
838 <varlistentry id="libthread_db">
839 <term><filename class="libraryfile">libthread_db</filename></term>
840 <listitem>
841 <para>Contains functions useful for building debuggers for
842 multi-threaded programs</para>
843 <indexterm zone="ch-system-glibc libthread_db">
844 <primary sortas="c-libthread_db">libthread_db</primary>
845 </indexterm>
846 </listitem>
847 </varlistentry>
848
849 <varlistentry id="libutil">
850 <term><filename class="libraryfile">libutil</filename></term>
851 <listitem>
852 <para>Contains code for <quote>standard</quote> functions used in
853 many different Unix utilities</para>
854 <indexterm zone="ch-system-glibc libutil">
855 <primary sortas="c-libutil">libutil</primary>
856 </indexterm>
857 </listitem>
858 </varlistentry>
859
860 </variablelist>
861
862 </sect2>
863
864</sect1>
Note: See TracBrowser for help on using the repository browser.