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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f0483af 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
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
[00a58649]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>
[3f8be484]72
[093b0e8]73<screen os="f"><userinput>mkdir -v ../eglibc-build
74cd ../eglibc-build</userinput></screen>
[3f8be484]75
[093b0e8]76 <para os="g">Prepare EGLIBC for compilation:</para>
[3f8be484]77
[093b0e8]78<screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \
[52ed4da]79 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc \
80 --enable-obsolete-rpc</userinput></screen>
[3f8be484]81
82 <variablelist os="i">
83 <title>The meaning of the new configure option:</title>
84
85 <varlistentry>
[093b0e8]86 <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term>
[3f8be484]87 <listitem>
[b5bd3744]88 <para>This changes the location of the <command>getconf</command>
89 utility from its default of <filename
[3f8be484]90 class="directory">/usr/libexec</filename> to <filename
[093b0e8]91 class="directory">/usr/lib/eglibc</filename>.</para>
[3f8be484]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">
[093b0e8]101 <para>The test suite for EGLIBC is considered critical.
[3f8be484]102 Do not skip it under any circumstance.</para>
103 </important>
104
[d8f87e8]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>
[3f8be484]107
108<!-- items n,o,p no longer the master, use x86_64 which has no failures -->
109
[2026a2e]110<screen os="n"><userinput>cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata
[0179f08]111make -k check 2&gt;&amp;1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen>
[3f8be484]112
[093b0e8]113 <para os="o">The EGLIBC test suite is highly dependent on certain functions of
[10b2850]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
[093b0e8]116 from this, the EGLIBC test suite is always expected to pass. However, in certain
[10b2850]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>
[3f8be484]123
124 <itemizedlist os="p">
125 <listitem>
[3514708]126 <para>The <emphasis>math</emphasis> tests sometimes fail.
127 Certain optimization settings are known to be a
128 factor here.</para>
[3f8be484]129 </listitem>
130 <listitem>
[fb40919]131 <para>If you have mounted the CLFS partition with the
[3f8be484]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
[fb40919]135 CLFS.</para>
[3f8be484]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
[093b0e8]143 <para os="q">Though it is a harmless message, the install stage of EGLIBC will
[3f8be484]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
[093b0e8]155 <sect2 id="i18n-eglibc" role="configuration">
[3f8be484]156 <title>Internationalization</title>
157
158 <para>The locales that can make the system respond in a different
[5a321cb]159 language were not installed by the above command. Install them
[3f8be484]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
[643f8be]165 generates and installs every locale listed in the
[e7aadbe]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
[3f8be484]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
[3a3e135]177<screen role="nodump"><userinput>mkdir -pv /usr/lib/locale
[8a10f1c]178localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
[3f8be484]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
[e3a8717]193 supported by some applications that are in CLFS and CBLFS. Because
[3f8be484]194 of the various problems that arise due to application programmers making
[fb40919]195 assumptions that break in such locales, CLFS should not be used in locales
[3f8be484]196 that utilize multibyte character sets (including UTF-8) or right-to-left
197 writing order. Numerous unofficial and unstable patches are required to
[fb40919]198 fix these problems, and it has been decided by the CLFS developers not to
[643f8be]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>
[3f8be484]205
206 </sect2>
207
[093b0e8]208 <sect2 id="conf-eglibc" role="configuration">
209 <title>Configuring EGLIBC</title>
[3f8be484]210
[093b0e8]211 <indexterm zone="conf-eglibc">
[3f8be484]212 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
213 </indexterm>
214
[093b0e8]215 <indexterm zone="conf-eglibc">
[3f8be484]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
[093b0e8]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.
[3f8be484]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
[52ed4da]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
[3f8be484]302 <para>To determine the local time zone, run the following script:</para>
303
[0f3854e]304<screen role="nodump"><userinput>tzselect</userinput></screen>
[3f8be484]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
[94e6142]311<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
[3f8be484]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">
[0b637f1]335 <title>Configuring The Dynamic Loader</title>
[3f8be484]336
337 <indexterm zone="conf-ld">
338 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
339 </indexterm>
340
[3998188]341 <para os="ld-a">By default, the dynamic loader (<filename
[3f8be484]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
[3998188]355 <para os="ld-b">Create a new file <filename>/etc/ld.so.conf</filename> by running the
[3f8be484]356 following:</para>
357
[3998188]358<screen os="ld-c"><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[3f8be484]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
[093b0e8]369 <sect2 id="contents-eglibc" role="content">
370 <title>Contents of EGLIBC</title>
[3f8be484]371
372 <segmentedlist>
373 <segtitle>Installed programs</segtitle>
374 <segtitle>Installed libraries</segtitle>
[61ad0b7f]375 <segtitle>Installed directories</segtitle>
[3f8be484]376
377 <seglistitem>
378 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
[2b220db9]379 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
[b5bd3744]380 pcprofiledump, pldd, rpcgen, sln, sprof, tzselect, xtrace,zdump,
381 and zic</seg>
[3f8be484]382 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
[188b6b2]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,
[3f8be484]388 libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and
389 libutil.[a,so]</seg>
[61ad0b7f]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>
[3f8be484]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>
[093b0e8]411 <indexterm zone="ch-system-eglibc catchsegv">
[3f8be484]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>
[093b0e8]421 <indexterm zone="ch-system-eglibc gencat">
[3f8be484]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>
[093b0e8]432 <indexterm zone="ch-system-eglibc getconf">
[3f8be484]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>
[093b0e8]442 <indexterm zone="ch-system-eglibc getent">
[3f8be484]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>
[093b0e8]452 <indexterm zone="ch-system-eglibc iconv">
[3f8be484]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>
[093b0e8]463 <indexterm zone="ch-system-eglibc iconvconfig">
[3f8be484]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>
[093b0e8]473 <indexterm zone="ch-system-eglibc ldconfig">
[3f8be484]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>
[093b0e8]484 <indexterm zone="ch-system-eglibc ldd">
[3f8be484]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>
[093b0e8]494 <indexterm zone="ch-system-eglibc lddlibc4">
[3f8be484]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>
[093b0e8]505 <indexterm zone="ch-system-eglibc locale">
[3f8be484]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>
[093b0e8]515 <indexterm zone="ch-system-eglibc localedef">
[3f8be484]516 <primary sortas="b-localedef">localedef</primary>
517 </indexterm>
518 </listitem>
519 </varlistentry>
520
[2b220db9]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
[3f8be484]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>
[093b0e8]536 <indexterm zone="ch-system-eglibc mtrace">
[3f8be484]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>
[093b0e8]547 <indexterm zone="ch-system-eglibc nscd">
[3f8be484]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>
[093b0e8]557 <indexterm zone="ch-system-eglibc pcprofiledump">
[3f8be484]558 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
559 </indexterm>
560 </listitem>
561 </varlistentry>
562
[2b220db9]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
[3f8be484]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>
[093b0e8]578 <indexterm zone="ch-system-eglibc rpcgen">
[3f8be484]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>
[7087cbc]587 <para>A statically linked program that creates symbolic links</para>
[093b0e8]588 <indexterm zone="ch-system-eglibc sln">
[3f8be484]589 <primary sortas="b-sln">sln</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
[2b220db9]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
[3f8be484]604 <varlistentry id="sprof">
605 <term><command>sprof</command></term>
606 <listitem>
607 <para>Reads and displays shared object profiling data</para>
[093b0e8]608 <indexterm zone="ch-system-eglibc sprof">
[3f8be484]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>
[093b0e8]619 <indexterm zone="ch-system-eglibc tzselect">
[3f8be484]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>
[093b0e8]630 <indexterm zone="ch-system-eglibc xtrace">
[3f8be484]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>
[093b0e8]640 <indexterm zone="ch-system-eglibc zdump">
[3f8be484]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>
[093b0e8]650 <indexterm zone="ch-system-eglibc zic">
[3f8be484]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>
[093b0e8]660 <indexterm zone="ch-system-eglibc ld.so">
[3f8be484]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>
[093b0e8]670 <indexterm zone="ch-system-eglibc libBrokenLocale">
[3f8be484]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>
[093b0e8]680 <indexterm zone="ch-system-eglibc libSegFault">
[3f8be484]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>
[093b0e8]690 <indexterm zone="ch-system-eglibc libanl">
[3f8be484]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>
[093b0e8]702 <indexterm zone="ch-system-eglibc libbsd-compat">
[3f8be484]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>
[093b0e8]712 <indexterm zone="ch-system-eglibc libc">
[3f8be484]713 <primary sortas="c-libc">libc</primary>
714 </indexterm>
715 </listitem>
716 </varlistentry>
717
[188b6b2]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
[3f8be484]729 <varlistentry id="libcrypt">
730 <term><filename class="libraryfile">libcrypt</filename></term>
731 <listitem>
732 <para>The cryptography library</para>
[093b0e8]733 <indexterm zone="ch-system-eglibc libcrypt">
[3f8be484]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>
[093b0e8]743 <indexterm zone="ch-system-eglibc libdl">
[3f8be484]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>
[093b0e8]753 <indexterm zone="ch-system-eglibc libg">
[3f8be484]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>
[093b0e8]764 <indexterm zone="ch-system-eglibc libieee">
[3f8be484]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>
[093b0e8]774 <indexterm zone="ch-system-eglibc libm">
[3f8be484]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>
[093b0e8]784 <indexterm zone="ch-system-eglibc libmcheck">
[3f8be484]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>
[093b0e8]793 <para>Used by <command>memusage</command> (included in EGLIBC, but
[7087cbc]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>
[093b0e8]796 <indexterm zone="ch-system-eglibc libmemusage">
[3f8be484]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>
[093b0e8]806 <indexterm zone="ch-system-eglibc libnsl">
[3f8be484]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>
[093b0e8]818 <indexterm zone="ch-system-eglibc libnss">
[3f8be484]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>
[093b0e8]829 <indexterm zone="ch-system-eglibc libpcprofile">
[3f8be484]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>
[093b0e8]839 <indexterm zone="ch-system-eglibc libpthread">
[3f8be484]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>
[093b0e8]850 <indexterm zone="ch-system-eglibc libresolv">
[3f8be484]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>
[093b0e8]860 <indexterm zone="ch-system-eglibc librpcsvc">
[3f8be484]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>
[093b0e8]871 <indexterm zone="ch-system-eglibc librt">
[3f8be484]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>
[093b0e8]882 <indexterm zone="ch-system-eglibc libthread_db">
[3f8be484]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>
[093b0e8]893 <indexterm zone="ch-system-eglibc libutil">
[3f8be484]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.