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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c64abcb was 52ed4da, checked in by William Harrington <kb0iic@…>, 12 years ago

Update eglibc install commands for 2.17 update and add time zone data install.

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