source: BOOK/final-system/common/glibc.xml@ aa9865d

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since aa9865d was 767a2a5, checked in by William Harrington <kb0iic@…>, 11 years ago

Add conform/run-conformtest as an emphasis with posix/annexc as being ignored, and include some more teset suite failures with reasons.

  • Property mode set to 100644
File size: 35.7 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 </sect2>
26
27 <sect2 role="installation">
28 <title>Installation of GLIBC</title>
29
30 <note os="z">
31 <para>Some packages outside of CLFS suggest installing GNU libiconv in
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
38 Unicode, therefore libiconv is not required on a CLFS system.</para>
39 </note>
40
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>
46
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')
56sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
57 scripts/test-installation.pl
58unset LINKER</userinput></screen>
59
60 <para os="b">The GLIBC build system is self-contained and will install
61 perfectly, even though the compiler specs file and linker are still
62 pointing at <filename class="directory">/tools</filename>. The specs
63 and linker cannot be adjusted before the GLIBC install because the
64 GLIBC Autoconf tests would give false results and defeat the goal
65 of achieving a clean build.</para>
66
67 <para os="s1">Apply the following sed so the <command>tzselect</command> script works properly:</para>
68
69<screen os="s2"><userinput>sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen>
70
71 <para os="e">The GLIBC documentation recommends building GLIBC outside of the source directory in a dedicated build directory:</para>
72
73<screen os="f"><userinput>mkdir -v ../glibc-build
74cd ../glibc-build</userinput></screen>
75
76 <para os="g">Prepare GLIBC for compilation:</para>
77
78<screen os="h"><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
79 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/glibc \
80 --enable-obsolete-rpc</userinput></screen>
81
82 <variablelist os="i">
83 <title>The meaning of the new configure option:</title>
84
85 <varlistentry>
86 <term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
87 <listitem>
88 <para>This changes the location of the <command>getconf</command>
89 utility from its default of <filename
90 class="directory">/usr/libexec</filename> to <filename
91 class="directory">/usr/lib/glibc</filename>.</para>
92 </listitem>
93 </varlistentry>
94 </variablelist>
95
96 <para os="j">Compile the package:</para>
97
98<screen os="k"><userinput>make</userinput></screen>
99
100 <important os="l">
101 <para>The test suite for GLIBC is considered critical.
102 Do not skip it under any circumstance.</para>
103 </important>
104
105 <para os="m">Before running the tests, copy a file from the source tree into our
106 build tree to prevent a couple of test failures, then run the tests:</para>
107
108<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
109
110<screen os="n"><userinput remap="test">cp -v ../glibc-&glibc-version;/iconvdata/gconv-modules iconvdata
111make -k check 2&gt;&amp;1 | tee glibc-check-log; grep Error glibc-check-log</userinput></screen>
112
113 <para os="o">The GLIBC test suite is highly dependent on certain functions of
114 the host system, in particular the kernel. The <emphasis>posix/annexc</emphasis> and
115 <emphasis>conform/run-conformtest</emphasis> tests normally fail
116 and you should see <literal>Error 1 (ignored)</literal> in the output. Apart
117 from this, the GLIBC test suite is always expected to pass. However, in certain
118 circumstances, some failures are unavoidable. If a test fails because of a missing
119 program (or missing symbolic link), or a segfault, you will see an error code
120 greater than 127 and the details will be in the log. More commonly, tests will
121 fail with <literal>Error 2</literal> - for these, the contents of the corresponding
122 <filename>.out</filename> file, e.g. <filename>posix/annexc.out</filename> may be
123 informative. Here is a list of the most common issues:</para>
124
125 <itemizedlist os="p">
126 <listitem>
127 <para>The <emphasis>nptl/tst-clock2</emphasis>,
128 <emphasis>nptl/tst-attr3</emphasis>,
129 <emphasis>tst/tst-cputimer1</emphasis>, and
130 <emphasis>rt/tst-cpuclock2</emphasis>
131 tests have been known to fail. The
132 reason is not completely understood, but indications are that minor
133 timing issues can trigger these failures.</para>
134 </listitem>
135 <listitem>
136 <para>The <emphasis>math</emphasis> tests sometimes fail.
137 Certain optimization settings are known to be a
138 factor here.</para>
139 </listitem>
140 <listitem>
141 <para>If you have mounted the CLFS partition with the
142 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
143 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
144 do not use the <parameter>noatime</parameter> option while building
145 CLFS.</para>
146 </listitem>
147 <listitem>
148 <para>When running on older and slower hardware, some tests
149 can fail because of test timeouts being exceeded.
150 Modifying the make check command to set a TIMEOUTFACTOR is reported to
151 help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
152 make -k check</command>).</para>
153 </listitem>
154 <listitem>
155 <para>posix/tst-getaddrinfo4 will always fail due to not having a network
156 connection when the test is run.</para>
157 </listitem>
158 </itemizedlist>
159
160 <para os="q">Though it is a harmless message, the install stage of GLIBC will
161 complain about the absence of <filename>/etc/ld.so.conf</filename>.
162 Prevent this warning with:</para>
163
164<screen os="r"><userinput>touch /etc/ld.so.conf</userinput></screen>
165
166 <para os="s">Install the package, and remove unneeded files from
167 <filename class="directory">/usr/include/rpcsvc</filename>:</para>
168
169<screen os="t"><userinput>make install &amp;&amp;
170rm -v /usr/include/rpcsvc/*.x</userinput></screen>
171
172 <para os="u">Install the configuration file and runtime directory for
173 <command>nscd</command></para>
174
175<screen os="v"><userinput>cp -v ../glibc-2.19/nscd/nscd.conf /etc/nscd.conf
176mkdir -pv /var/cache/nscd</userinput></screen>
177
178 <para os="w">Install the Systemd support files for <command>nscd</command>:</para>
179
180<screen os="x"><userinput>install -v -Dm644 ../glibc-2.19/nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
181install -v -Dm644 ../glibc-2.19/nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>
182
183 </sect2>
184
185 <sect2 id="i18n-glibc" role="configuration">
186 <title>Internationalization</title>
187
188 <para>The locales that can make the system respond in a different
189 language were not installed by the above command. Install them
190 with:</para>
191
192<screen><userinput>make localedata/install-locales</userinput></screen>
193
194 <para>To save time, an alternative to running the previous command (which
195 generates and installs every locale listed in the
196 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file) is
197 to install only those locales that are wanted and needed. This can be
198 achieved by using the <command>localedef</command> command. Information on
199 this command is located in the <filename>INSTALL</filename> file in the
200 GLIBC source. However, there are a number of locales that are essential in
201 order for the tests of future packages to pass, in particular, the
202 <emphasis>libstdc++</emphasis> tests from GCC. The following instructions,
203 instead of the <parameter>install-locales</parameter> target used above,
204 will install the minimum set of locales necessary for the tests to run
205 successfully:</para>
206
207<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
208localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
209localedef -i de_DE -f ISO-8859-1 de_DE
210localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
211localedef -i en_HK -f ISO-8859-1 en_HK
212localedef -i en_PH -f ISO-8859-1 en_PH
213localedef -i en_US -f ISO-8859-1 en_US
214localedef -i es_MX -f ISO-8859-1 es_MX
215localedef -i fa_IR -f UTF-8 fa_IR
216localedef -i fr_FR -f ISO-8859-1 fr_FR
217localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
218localedef -i it_IT -f ISO-8859-1 it_IT
219localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
220
221 <para>Some locales installed by the <command>make
222 localedata/install-locales</command> command above are not properly
223 supported by some applications that are in CLFS and CBLFS. Because
224 of the various problems that arise due to application programmers making
225 assumptions that break in such locales, CLFS should not be used in locales
226 that utilize multibyte character sets (including UTF-8) or right-to-left
227 writing order. Numerous unofficial and unstable patches are required to
228 fix these problems, and it has been decided by the CLFS developers not to
229 support such complex locales at this time. This applies to the ja_JP and
230 fa_IR locales as well&mdash;they have been installed only for GCC and
231 Gettext tests to pass, and the <command>watch</command> program (part of
232 the Procps-ng package) does not work properly in them. Various attempts to
233 circumvent these restrictions are documented in internationalization-related
234 hints.</para>
235
236 </sect2>
237
238 <sect2 id="conf-glibc" role="configuration">
239 <title>Configuring GLIBC</title>
240
241 <indexterm zone="conf-glibc">
242 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
243 </indexterm>
244
245 <indexterm zone="conf-glibc">
246 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
247 </indexterm>
248
249 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
250 because, although GLIBC provides defaults when this file is missing or
251 corrupt, the GLIBC defaults do not work well in a networked environment.
252 The time zone also needs to be configured.</para>
253
254 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running
255 the following:</para>
256
257<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
258<literal># Begin /etc/nsswitch.conf
259
260passwd: files
261group: files
262shadow: files
263
264hosts: files dns
265networks: files
266
267protocols: files
268services: files
269ethers: files
270rpc: files
271
272# End /etc/nsswitch.conf</literal>
273EOF</userinput></screen>
274
275 <para>Install timezone data:</para>
276<screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
277
278ZONEINFO=/usr/share/zoneinfo
279mkdir -pv $ZONEINFO/{posix,right}
280
281for tz in etcetera southamerica northamerica europe africa antarctica \
282 asia australasia backward pacificnew \
283 systemv; do
284 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
285 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
286 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
287done
288
289cp -v zone.tab iso3166.tab $ZONEINFO
290zic -d $ZONEINFO -p America/New_York
291unset ZONEINFO</userinput></screen>
292
293 <variablelist>
294 <title>The meaning of the zic commands:</title>
295
296 <varlistentry>
297 <term><parameter>zic -L /dev/null ...</parameter></term>
298 <listitem>
299 <para>This creates posix timezones, without any leap seconds. It is
300 conventional to put these in both
301 <filename class="directory">zoneinfo</filename> and
302 <filename class="directory">zoneinfo/posix</filename>. It is
303 necessary to put the POSIX timezones in
304 <filename class="directory">zoneinfo</filename>, otherwise various
305 test-suites will report errors. On an embedded system, where space is
306 tight and you do not intend to ever update the timezones, you could save
307 1.9MB by not using the <filename class="directory">posix</filename>
308 directory, but some applications or test-suites might give less good
309 results</para>
310 </listitem>
311 </varlistentry>
312 <varlistentry>
313 <term><parameter>zic -L leapseconds ...</parameter></term>
314 <listitem>
315 <para>This creates right timezones, including leap seconds. On an
316 embedded system, where space is tight and you do not intend to
317 ever update the timezones, or care about the correct time, you could
318 save 1.9MB by omitting the <filename class="directory">right</filename>
319 directory.</para>
320 </listitem>
321 </varlistentry>
322 <varlistentry>
323 <term><parameter>zic ... -p ...</parameter></term>
324 <listitem>
325 <para>This creates the <filename>posixrules</filename> file. We use
326 New York because POSIX requires the daylight savings time rules
327 to be in accordance with US rules.</para>
328 </listitem>
329 </varlistentry>
330 </variablelist>
331
332 <para>To determine the local time zone, run the following script:</para>
333
334<screen role="nodump"><userinput>tzselect</userinput></screen>
335
336 <para>After answering a few questions about the location, the script will
337 output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or
338 <emphasis>Canada/Eastern</emphasis>). Then create the
339 <filename>/etc/localtime</filename> file by running:</para>
340
341<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
342 /etc/localtime</userinput></screen>
343
344 <para>Replace <replaceable>[xxx]</replaceable> with the name of the time zone
345 that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
346
347 <variablelist>
348 <title>The meaning of the cp option:</title>
349
350 <varlistentry>
351 <term><parameter>--remove-destination</parameter></term>
352 <listitem>
353 <para>This is needed to force removal of the already existing symbolic
354 link. The reason for copying the file instead of using a symlink is to
355 cover the situation where <filename class="directory">/usr</filename>
356 is on a separate partition. This could be important when booted into
357 single user mode.</para>
358 </listitem>
359 </varlistentry>
360 </variablelist>
361
362 </sect2>
363
364 <sect2 id="conf-ld" role="configuration">
365 <title>Configuring The Dynamic Loader</title>
366
367 <indexterm zone="conf-ld">
368 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
369 </indexterm>
370
371 <para os="ld-a">By default, the dynamic loader (<filename
372 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
373 <filename class="directory">/lib</filename> and <filename
374 class="directory">/usr/lib</filename> for dynamic libraries that are
375 needed by programs as they are run. However, if there are libraries in
376 directories other than <filename class="directory">/lib</filename> and
377 <filename class="directory">/usr/lib</filename>, these need to be
378 added to the <filename>/etc/ld.so.conf</filename> file in order
379 for the dynamic loader to find them. Two directories that are commonly
380 known to contain additional libraries are <filename
381 class="directory">/usr/local/lib</filename> and <filename
382 class="directory">/opt/lib</filename>, so add those directories to the
383 dynamic loader's search path.</para>
384
385 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
386 following:</para>
387
388<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
389<literal># Begin /etc/ld.so.conf
390
391/usr/local/lib
392/opt/lib
393
394# End /etc/ld.so.conf</literal>
395EOF</userinput></screen>
396
397 </sect2>
398
399 <sect2 id="contents-glibc" role="content">
400 <title>Contents of GLIBC</title>
401
402 <segmentedlist>
403 <segtitle>Installed programs</segtitle>
404 <segtitle>Installed libraries</segtitle>
405 <segtitle>Installed directories</segtitle>
406
407 <seglistitem>
408 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
409 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
410 pcprofiledump, pldd, rpcgen, sln, sprof, tzselect, xtrace,zdump,
411 and zic</seg>
412 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
413 libc.[a,so], libc_nonshared.a, libcidn.[a,so], libcrypt.[a,so],
414 libdl.[a,so], libg.a, libieee.a, libm.[a,so], libmcheck.a,
415 libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so,
416 libnss_files.so, libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so,
417 libpcprofile.so, libpthread.[a,so], libpthread_nonshared.a,
418 libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and
419 libutil.[a,so]</seg>
420 <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
421 /usr/include/net, /usr/include/netash, /usr/include/netatalk,
422 /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
423 /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
424 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
425 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
426 /usr/include/sys, /usr/lib/gconv, /usr/lib/glibc, /usr/lib/locale,
427 /usr/share/i18n, /usr/share/zoneinfo, /var/cache/ldconfig, and
428 /var/cache/nscd</seg>
429 </seglistitem>
430 </segmentedlist>
431
432 <variablelist>
433 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
434 <?dbfo list-presentation="list"?>
435 <?dbhtml list-presentation="table"?>
436
437 <varlistentry id="catchsegv">
438 <term><command>catchsegv</command></term>
439 <listitem>
440 <para>Can be used to create a stack trace when a program
441 terminates with a segmentation fault</para>
442 <indexterm zone="ch-system-glibc catchsegv">
443 <primary sortas="b-catchsegv">catchsegv</primary>
444 </indexterm>
445 </listitem>
446 </varlistentry>
447
448 <varlistentry id="gencat">
449 <term><command>gencat</command></term>
450 <listitem>
451 <para>Generates message catalogues</para>
452 <indexterm zone="ch-system-glibc gencat">
453 <primary sortas="b-gencat">gencat</primary>
454 </indexterm>
455 </listitem>
456 </varlistentry>
457
458 <varlistentry id="getconf">
459 <term><command>getconf</command></term>
460 <listitem>
461 <para>Displays the system configuration values for file system specific
462 variables</para>
463 <indexterm zone="ch-system-glibc getconf">
464 <primary sortas="b-getconf">getconf</primary>
465 </indexterm>
466 </listitem>
467 </varlistentry>
468
469 <varlistentry id="getent">
470 <term><command>getent</command></term>
471 <listitem>
472 <para>Gets entries from an administrative database</para>
473 <indexterm zone="ch-system-glibc getent">
474 <primary sortas="b-getent">getent</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="iconv">
480 <term><command>iconv</command></term>
481 <listitem>
482 <para>Performs character set conversion</para>
483 <indexterm zone="ch-system-glibc iconv">
484 <primary sortas="b-iconv">iconv</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 <varlistentry id="iconvconfig">
490 <term><command>iconvconfig</command></term>
491 <listitem>
492 <para>Creates fastloading <command>iconv</command> module configuration
493 files</para>
494 <indexterm zone="ch-system-glibc iconvconfig">
495 <primary sortas="b-iconvconfig">iconvconfig</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 <varlistentry id="ldconfig">
501 <term><command>ldconfig</command></term>
502 <listitem>
503 <para>Configures the dynamic linker runtime bindings</para>
504 <indexterm zone="ch-system-glibc ldconfig">
505 <primary sortas="b-ldconfig">ldconfig</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="ldd">
511 <term><command>ldd</command></term>
512 <listitem>
513 <para>Reports which shared libraries are required
514 by each given program or shared library</para>
515 <indexterm zone="ch-system-glibc ldd">
516 <primary sortas="b-ldd">ldd</primary>
517 </indexterm>
518 </listitem>
519 </varlistentry>
520
521 <varlistentry id="lddlibc4">
522 <term><command>lddlibc4</command></term>
523 <listitem>
524 <para>Assists <command>ldd</command> with object files</para>
525 <indexterm zone="ch-system-glibc lddlibc4">
526 <primary sortas="b-lddlibc4">lddlibc4</primary>
527 </indexterm>
528 </listitem>
529 </varlistentry>
530
531 <varlistentry id="locale">
532 <term><command>locale</command></term>
533 <listitem>
534 <para>Tells the compiler to enable or disable the use of POSIX locales
535 for built-in operations</para>
536 <indexterm zone="ch-system-glibc locale">
537 <primary sortas="b-locale">locale</primary>
538 </indexterm>
539 </listitem>
540 </varlistentry>
541
542 <varlistentry id="localedef">
543 <term><command>localedef</command></term>
544 <listitem>
545 <para>Compiles locale specifications</para>
546 <indexterm zone="ch-system-glibc localedef">
547 <primary sortas="b-localedef">localedef</primary>
548 </indexterm>
549 </listitem>
550 </varlistentry>
551
552 <varlistentry id="makedb">
553 <term><command>makedb</command></term>
554 <listitem>
555 <para>Creates a simple database from textual input</para>
556 <indexterm zone="ch-system-glibc makedb">
557 <primary sortas="b-makedb">makedb</primary>
558 </indexterm>
559 </listitem>
560 </varlistentry>
561
562 <varlistentry id="mtrace">
563 <term><command>mtrace</command></term>
564 <listitem>
565 <para>Reads and interprets a memory trace file and
566 displays a summary in human-readable format</para>
567 <indexterm zone="ch-system-glibc mtrace">
568 <primary sortas="b-mtrace">mtrace</primary>
569 </indexterm>
570 </listitem>
571 </varlistentry>
572
573 <varlistentry id="nscd">
574 <term><command>nscd</command></term>
575 <listitem>
576 <para>A daemon that provides a cache for the most common name
577 service requests</para>
578 <indexterm zone="ch-system-glibc nscd">
579 <primary sortas="b-nscd">nscd</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
584 <varlistentry id="pcprofiledump">
585 <term><command>pcprofiledump</command></term>
586 <listitem>
587 <para>Dumps information generated by PC profiling</para>
588 <indexterm zone="ch-system-glibc pcprofiledump">
589 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="pldd">
595 <term><command>pldd</command></term>
596 <listitem>
597 <para>Lists dynamic shared objects used by running processes</para>
598 <indexterm zone="ch-system-glibc pldd">
599 <primary sortas="b-pldd">pldd</primary>
600 </indexterm>
601 </listitem>
602 </varlistentry>
603
604 <varlistentry id="rpcgen">
605 <term><command>rpcgen</command></term>
606 <listitem>
607 <para>Generates C code to implement the Remote Procecure Call (RPC)
608 protocol</para>
609 <indexterm zone="ch-system-glibc rpcgen">
610 <primary sortas="b-rpcgen">rpcgen</primary>
611 </indexterm>
612 </listitem>
613 </varlistentry>
614
615 <varlistentry id="sln">
616 <term><command>sln</command></term>
617 <listitem>
618 <para>A statically linked program that creates symbolic links</para>
619 <indexterm zone="ch-system-glibc sln">
620 <primary sortas="b-sln">sln</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
625 <varlistentry id="sotruss">
626 <term><command>sotruss</command></term>
627 <listitem>
628 <para>Traces shared library procedure calls of a specified command</para>
629 <indexterm zone="ch-system-glibc sotruss">
630 <primary sortas="b-sotruss">sotruss</primary>
631 </indexterm>
632 </listitem>
633 </varlistentry>
634
635 <varlistentry id="sprof">
636 <term><command>sprof</command></term>
637 <listitem>
638 <para>Reads and displays shared object profiling data</para>
639 <indexterm zone="ch-system-glibc sprof">
640 <primary sortas="b-sprof">sprof</primary>
641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="tzselect">
646 <term><command>tzselect</command></term>
647 <listitem>
648 <para>Asks the user about the location of the
649 system and reports the corresponding time zone description</para>
650 <indexterm zone="ch-system-glibc tzselect">
651 <primary sortas="b-tzselect">tzselect</primary>
652 </indexterm>
653 </listitem>
654 </varlistentry>
655
656 <varlistentry id="xtrace">
657 <term><command>xtrace</command></term>
658 <listitem>
659 <para>Traces the execution of a program by
660 printing the currently executed function</para>
661 <indexterm zone="ch-system-glibc xtrace">
662 <primary sortas="b-xtrace">xtrace</primary>
663 </indexterm>
664 </listitem>
665 </varlistentry>
666
667 <varlistentry id="zdump">
668 <term><command>zdump</command></term>
669 <listitem>
670 <para>The time zone dumper</para>
671 <indexterm zone="ch-system-glibc zdump">
672 <primary sortas="b-zdump">zdump</primary>
673 </indexterm>
674 </listitem>
675 </varlistentry>
676
677 <varlistentry id="zic">
678 <term><command>zic</command></term>
679 <listitem>
680 <para>The time zone compiler</para>
681 <indexterm zone="ch-system-glibc zic">
682 <primary sortas="b-zic">zic</primary>
683 </indexterm>
684 </listitem>
685 </varlistentry>
686
687 <varlistentry id="ld.so">
688 <term><filename class="libraryfile">ld.so</filename></term>
689 <listitem>
690 <para>The helper program for shared library executables</para>
691 <indexterm zone="ch-system-glibc ld.so">
692 <primary sortas="c-ld.so">ld.so</primary>
693 </indexterm>
694 </listitem>
695 </varlistentry>
696
697 <varlistentry id="libBrokenLocale">
698 <term><filename class="libraryfile">libBrokenLocale</filename></term>
699 <listitem>
700 <para>Used by programs, such as Mozilla, to solve broken locales</para>
701 <indexterm zone="ch-system-glibc libBrokenLocale">
702 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
703 </indexterm>
704 </listitem>
705 </varlistentry>
706
707 <varlistentry id="libSegFault">
708 <term><filename class="libraryfile">libSegFault</filename></term>
709 <listitem>
710 <para>The segmentation fault signal handler</para>
711 <indexterm zone="ch-system-glibc libSegFault">
712 <primary sortas="c-libSegFault">libSegFault</primary>
713 </indexterm>
714 </listitem>
715 </varlistentry>
716
717 <varlistentry id="libanl">
718 <term><filename class="libraryfile">libanl</filename></term>
719 <listitem>
720 <para>An asynchronous name lookup library</para>
721 <indexterm zone="ch-system-glibc libanl">
722 <primary sortas="c-libanl">libanl</primary>
723 </indexterm>
724 </listitem>
725 </varlistentry>
726
727 <varlistentry id="libc">
728 <term><filename class="libraryfile">libc</filename></term>
729 <listitem>
730 <para>The main C library</para>
731 <indexterm zone="ch-system-glibc libc">
732 <primary sortas="c-libc">libc</primary>
733 </indexterm>
734 </listitem>
735 </varlistentry>
736
737 <varlistentry id="libcidn">
738 <term><filename class="libraryfile">libcidn</filename></term>
739 <listitem>
740 <para>Used internally by GLIBC for handling internationalized domain
741 names in the <function>getaddrinfo()</function> function</para>
742 <indexterm zone="ch-system-glibc libcidn">
743 <primary sortas="c-libcidn">libcidn</primary>
744 </indexterm>
745 </listitem>
746 </varlistentry>
747
748 <varlistentry id="libcrypt">
749 <term><filename class="libraryfile">libcrypt</filename></term>
750 <listitem>
751 <para>The cryptography library</para>
752 <indexterm zone="ch-system-glibc libcrypt">
753 <primary sortas="c-libcrypt">libcrypt</primary>
754 </indexterm>
755 </listitem>
756 </varlistentry>
757
758 <varlistentry id="libdl">
759 <term><filename class="libraryfile">libdl</filename></term>
760 <listitem>
761 <para>The dynamic linking interface library</para>
762 <indexterm zone="ch-system-glibc libdl">
763 <primary sortas="c-libdl">libdl</primary>
764 </indexterm>
765 </listitem>
766 </varlistentry>
767
768 <varlistentry id="libg">
769 <term><filename class="libraryfile">libg</filename></term>
770 <listitem>
771 <para>A runtime library for <command>g++</command></para>
772 <indexterm zone="ch-system-glibc libg">
773 <primary sortas="c-libg">libg</primary>
774 </indexterm>
775 </listitem>
776 </varlistentry>
777
778 <varlistentry id="libieee">
779 <term><filename class="libraryfile">libieee</filename></term>
780 <listitem>
781 <para>The Institute of Electrical and Electronic Engineers (IEEE)
782 floating point library</para>
783 <indexterm zone="ch-system-glibc libieee">
784 <primary sortas="c-libieee">libieee</primary>
785 </indexterm>
786 </listitem>
787 </varlistentry>
788
789 <varlistentry id="libm">
790 <term><filename class="libraryfile">libm</filename></term>
791 <listitem>
792 <para>The mathematical library</para>
793 <indexterm zone="ch-system-glibc libm">
794 <primary sortas="c-libm">libm</primary>
795 </indexterm>
796 </listitem>
797 </varlistentry>
798
799 <varlistentry id="libmcheck">
800 <term><filename class="libraryfile">libmcheck</filename></term>
801 <listitem>
802 <para>Contains code run at boot</para>
803 <indexterm zone="ch-system-glibc libmcheck">
804 <primary sortas="c-libmcheck">libmcheck</primary>
805 </indexterm>
806 </listitem>
807 </varlistentry>
808
809 <varlistentry id="libmemusage">
810 <term><filename class="libraryfile">libmemusage</filename></term>
811 <listitem>
812 <para>Used by <command>memusage</command> (included in GLIBC, but
813 not built in a base CLFS system as it has additional dependencies)
814 to help collect information about the memory usage of a program</para>
815 <indexterm zone="ch-system-glibc libmemusage">
816 <primary sortas="c-libmemusage">libmemusage</primary>
817 </indexterm>
818 </listitem>
819 </varlistentry>
820
821 <varlistentry id="libnsl">
822 <term><filename class="libraryfile">libnsl</filename></term>
823 <listitem>
824 <para>The network services library</para>
825 <indexterm zone="ch-system-glibc libnsl">
826 <primary sortas="c-libnsl">libnsl</primary>
827 </indexterm>
828 </listitem>
829 </varlistentry>
830
831 <varlistentry id="libnss">
832 <term><filename class="libraryfile">libnss</filename></term>
833 <listitem>
834 <para>The Name Service Switch libraries, containing functions for
835 resolving host names, user names, group names, aliases, services,
836 protocols, etc.</para>
837 <indexterm zone="ch-system-glibc libnss">
838 <primary sortas="c-libnss">libnss</primary>
839 </indexterm>
840 </listitem>
841 </varlistentry>
842
843 <varlistentry id="libpcprofile">
844 <term><filename class="libraryfile">libpcprofile</filename></term>
845 <listitem>
846 <para>Contains profiling functions used to track the amount of CPU
847 time spent in specific source code lines</para>
848 <indexterm zone="ch-system-glibc libpcprofile">
849 <primary sortas="c-libpcprofile">libpcprofile</primary>
850 </indexterm>
851 </listitem>
852 </varlistentry>
853
854 <varlistentry id="libpthread">
855 <term><filename class="libraryfile">libpthread</filename></term>
856 <listitem>
857 <para>The POSIX threads library</para>
858 <indexterm zone="ch-system-glibc libpthread">
859 <primary sortas="c-libpthread">libpthread</primary>
860 </indexterm>
861 </listitem>
862 </varlistentry>
863
864 <varlistentry id="libresolv">
865 <term><filename class="libraryfile">libresolv</filename></term>
866 <listitem>
867 <para>Contains functions for creating, sending, and interpreting
868 packets to the Internet domain name servers</para>
869 <indexterm zone="ch-system-glibc libresolv">
870 <primary sortas="c-libresolv">libresolv</primary>
871 </indexterm>
872 </listitem>
873 </varlistentry>
874
875 <varlistentry id="librpcsvc">
876 <term><filename class="libraryfile">librpcsvc</filename></term>
877 <listitem>
878 <para>Contains functions providing miscellaneous RPC services</para>
879 <indexterm zone="ch-system-glibc librpcsvc">
880 <primary sortas="c-librpcsvc">librpcsvc</primary>
881 </indexterm>
882 </listitem>
883 </varlistentry>
884
885 <varlistentry id="librt">
886 <term><filename class="libraryfile">librt</filename></term>
887 <listitem>
888 <para>Contains functions providing most of the interfaces specified by
889 the POSIX.1b Realtime Extension</para>
890 <indexterm zone="ch-system-glibc librt">
891 <primary sortas="c-librt">librt</primary>
892 </indexterm>
893 </listitem>
894 </varlistentry>
895
896 <varlistentry id="libthread_db">
897 <term><filename class="libraryfile">libthread_db</filename></term>
898 <listitem>
899 <para>Contains functions useful for
900 building debuggers for multi-threaded programs</para>
901 <indexterm zone="ch-system-glibc libthread_db">
902 <primary sortas="c-libthread_db">libthread_db</primary>
903 </indexterm>
904 </listitem>
905 </varlistentry>
906
907 <varlistentry id="libutil">
908 <term><filename class="libraryfile">libutil</filename></term>
909 <listitem>
910 <para>Contains code for <quote>standard</quote> functions used in
911 many different Unix utilities</para>
912 <indexterm zone="ch-system-glibc libutil">
913 <primary sortas="c-libutil">libutil</primary>
914 </indexterm>
915 </listitem>
916 </varlistentry>
917
918 </variablelist>
919
920 </sect2>
921
922</sect1>
Note: See TracBrowser for help on using the repository browser.