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

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

Add a sed for eglibc to detect Make-4.x

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