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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5d61ba8 was c8d4414, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Add a patch to EGlibc to fix a compatibility issue with Make 3.82.

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