source: chapter08/glibc.xml@ 2195c1e

multilib
Last change on this file since 2195c1e was 2195c1e, checked in by Thomas Trepl (Moody) <thomas@…>, 2 years ago

Add glibc patch fixing the LC_MONETARY issue

  • Property mode set to 100644
File size: 41.5 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[6a82dd9]7
[81fd230]8<sect1 id="ch-system-glibc" role="wrap">
[6a82dd9]9 <?dbhtml filename="glibc.html"?>
10
[e747759]11 <sect1info condition="script">
12 <productname>glibc</productname>
13 <productnumber>&glibc-version;</productnumber>
14 <address>&glibc-url;</address>
15 </sect1info>
16
[6a82dd9]17 <title>Glibc-&glibc-version;</title>
18
19 <indexterm zone="ch-system-glibc">
20 <primary sortas="a-Glibc">Glibc</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Glibc package contains the main C library. This library provides
27 the basic routines for allocating memory, searching directories, opening and
28 closing files, reading and writing files, string handling, pattern matching,
29 arithmetic, and so on.</para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
[6dfcfecc]36 <seg>&glibc-fin-sbu;</seg>
37 <seg>&glibc-fin-du;</seg>
[6a82dd9]38 </seglistitem>
39 </segmentedlist>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Glibc</title>
[12836f5]45
[651c74b]46<!-- applied in 2.35 (commit b805aebd42364fe696e417808a700fdb9800c9e8)
[de8b6cb]47 <para>First, fix a security problem identified upstream:</para>
48
49 <screen><userinput remap="pre">sed -e '/NOTIFY_REMOVED)/s/)/ \&amp;\&amp; data.attr != NULL)/' \
[d672ab7]50 -i sysdeps/unix/sysv/linux/mq_notify.c</userinput></screen>
[651c74b]51-->
[2195c1e]52 <para>Fix some issues identified after release of Glibc-&glibc-version;:</para>
53
54<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
55
[725ef3b]56 <para>Some of the Glibc programs use the non-FHS compliant
[4028929]57 <filename class="directory">/var/db</filename> directory to store
58 their runtime data. Apply the following patch to make such programs
59 store their runtime data in the FHS-compliant locations:</para>
60
61<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
[ffbeb5f]62
[d672ab7]63 <para>The Glibc documentation recommends building Glibc
[f1dd547]64 in a dedicated build directory:</para>
[73aedd1d]65
[f1dd547]66<screen><userinput remap="pre">mkdir -v build
67cd build</userinput></screen>
[c906b7e]68
[4eee9cc]69 <para>Ensure that the <command>ldconfig</command> and <command>sln</command>
[d02074e9]70 utilites will be installed into
[4eee9cc]71 <filename class="directory">/usr/sbin</filename>:</para>
72
73<screen><userinput remap="pre">echo "rootsbindir=/usr/sbin" &gt; configparms</userinput></screen>
74
[6a82dd9]75 <para>Prepare Glibc for compilation:</para>
[73aedd1d]76
[6dfcfecc]77<screen arch="default"><userinput remap="configure">../configure --prefix=/usr \
78 --disable-werror \
79 --enable-kernel=&min-kernel; \
80 --enable-stack-protector=strong \
81 --with-headers=/usr/include \
[d4b5218]82 libc_cv_slibdir=/usr/lib</userinput></screen>
[6dfcfecc]83<screen arch="ml_32,ml_x32,ml_all"><userinput remap="configure">../configure --prefix=/usr \
84 --disable-werror \
85 --enable-kernel=&min-kernel; \
86 --enable-stack-protector=strong \
87 --with-headers=/usr/include \
88 --enable-multi-arch \
[d4b5218]89 libc_cv_slibdir=/usr/lib</userinput></screen>
[73aedd1d]90
[6dfcfecc]91 <variablelist>
92 <title>The meaning of the configure options:</title>
[0967c90]93
94 <varlistentry>
[6dfcfecc]95 <term><parameter>--disable-werror</parameter></term>
[0967c90]96 <listitem>
[d672ab7]97 <para>This option disables the -Werror option passed to
[6dfcfecc]98 GCC. This is necessary for running the test suite.</para>
[0967c90]99 </listitem>
100 </varlistentry>
[5897639]101
102 <varlistentry>
[6dfcfecc]103 <term><parameter>--enable-kernel=&min-kernel;</parameter></term>
[5897639]104 <listitem>
[6dfcfecc]105 <para>This option tells the build system that this glibc may
106 be used with kernels as old as &min-kernel;. This means generating
107 workarounds in case a system call introduced in a later version
108 cannot be used.</para>
[5897639]109 </listitem>
110 </varlistentry>
111
112 <varlistentry>
113 <term><parameter>--enable-stack-protector=strong</parameter></term>
114 <listitem>
[d672ab7]115 <para>This option increases system security by adding
[0d84af1]116 extra code to check for buffer overflows, such as stack
117 smashing attacks.</para>
[5897639]118 </listitem>
119 </varlistentry>
[6dfcfecc]120<!-- do we need this one? -->
[6702623]121 <varlistentry>
122 <term><parameter>--with-headers=/usr/include</parameter></term>
123 <listitem>
124 <para>This option tells the build system where to find the
[6dfcfecc]125 kernel API headers.</para>
[6702623]126 </listitem>
127 </varlistentry>
128
[5897639]129 <varlistentry>
[d7a9421]130 <term><parameter>libc_cv_slibdir=/usr/lib</parameter></term>
[5897639]131 <listitem>
132 <para>This variable sets the correct library for all
133 systems. We do not want lib64 to be used.</para>
134 </listitem>
135 </varlistentry>
136
137 </variablelist>
138
[6a82dd9]139 <para>Compile the package:</para>
[73aedd1d]140
[0445a3d]141<screen><userinput remap="make">make</userinput></screen>
[73aedd1d]142
[6a82dd9]143 <important>
144 <para>In this section, the test suite for Glibc is considered critical.
145 Do not skip it under any circumstance.</para>
146 </important>
[81fd230]147
[0d84af1]148 <para>Generally a few tests do not pass. The test failures listed below
149 are usually safe to ignore.</para>
[d9c836b]150
[082bbce]151<!-- Use remap="make" here to work around a jhalfs issue. -->
[9da9d014]152<!--<screen><userinput remap="make">case $(uname -m) in
[1b3fac7]153 i?86) ln -sfnv $PWD/elf/ld-linux.so.2 /lib ;;
154 x86_64) ln -sfnv $PWD/elf/ld-linux-x86-64.so.2 /lib ;;
[082bbce]155esac</userinput></screen>
[2e02c35]156
[70b235f4]157 <note><para>The symbolic link above is needed to run the tests at this
[d7f58cc]158 stage of building in the chroot environment. It will be overwritten
[70b235f4]159 in the install phase below.</para></note>
[9da9d014]160-->
[082bbce]161<screen><userinput remap="test">make check</userinput></screen>
162
[58ccce5]163 <para>You may see some test failures. The Glibc test suite is
164 somewhat dependent on the host system. A few failures out of
[d672ab7]165 over 4200 tests can generally be ignored. This is a list of the
[58ccce5]166 most common issues seen for recent versions of LFS:</para>
[6a82dd9]167
168 <itemizedlist>
[5d1f0157]169
[032dc4e8]170 <listitem>
[d672ab7]171 <para><emphasis>io/tst-lchmod</emphasis>
[032dc4e8]172 is known to fail in the LFS chroot environment.</para>
173 </listitem>
174
[751a13d]175 <listitem>
[d672ab7]176 <para><emphasis>misc/tst-ttyname</emphasis>
[751a13d]177 is known to fail in the LFS chroot environment.</para>
178 </listitem>
[58ccce5]179<!--
[de6905d]180 <listitem>
181 <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis>
182 test may fail for reasons that have not been determined.</para>
183 </listitem>
184
[d9c836b]185 <listitem>
[1b3fac7]186 <para>The <emphasis>rt/tst-cputimer{1,2,3}</emphasis> tests depend on
187 the host system kernel. Kernels 4.14.91&ndash;4.14.96,
[d672ab7]188 4.19.13&ndash;4.19.18, and 4.20.0&ndash;4.20.5 are known to
[235556a]189 cause these tests to fail.
[1b3fac7]190 </para>
[6a82dd9]191 </listitem>
[a271796]192
[6a82dd9]193 <listitem>
[a0ec869]194 <para>The math tests sometimes fail when running on
[9218b05]195 systems where the CPU is not a relatively new Intel or
196 AMD processor.</para>
[6a82dd9]197 </listitem>
[58ccce5]198-->
[6a82dd9]199 </itemizedlist>
200
201 <para>Though it is a harmless message, the install stage of Glibc will
202 complain about the absence of <filename>/etc/ld.so.conf</filename>.
203 Prevent this warning with:</para>
[1caa48e]204
[0445a3d]205<screen><userinput remap="install">touch /etc/ld.so.conf</userinput></screen>
[1caa48e]206
[21dd2f0]207 <para>Fix the Makefile to skip an unneeded sanity check
[ffbeb5f]208 that fails in the LFS partial environment:
209 </para>
210
211<screen><userinput remap="install">sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile</userinput></screen>
212
[6a82dd9]213 <para>Install the package:</para>
[73aedd1d]214
[0445a3d]215<screen><userinput remap="install">make install</userinput></screen>
[73aedd1d]216
[0ebda11]217 <para>Fix hardcoded path to the executable loader in
218 <command>ldd</command> script:</para>
219
220<screen><userinput remap="install">sed '/RTLDLIST=/s@/usr@@g' -i /usr/bin/ldd</userinput></screen>
221
[4028929]222 <para>Install the configuration file and runtime directory for
223 <command>nscd</command>:</para>
224
[f1dd547]225<screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf
[4028929]226mkdir -pv /var/cache/nscd</userinput></screen>
227
[d672ab7]228 <para revision="systemd">Install the systemd support files for
[1118b17]229 <command>nscd</command>:</para>
230
231 <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
[d7a9421]232install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen>
[1118b17]233
[d730742]234 <para>Next, install the locales that can make the system respond in a
235 different language. None of the locales are required, but if some of them
236 are missing, the test suites of future packages would skip important
237 testcases.</para>
[6a82dd9]238
239 <para>Individual locales can be installed using the
[a5d31dd]240 <command>localedef</command> program. E.g., the second
[6a82dd9]241 <command>localedef</command> command below combines the
[fffccab]242 <filename>/usr/share/i18n/locales/cs_CZ</filename>
[6a82dd9]243 charset-independent locale definition with the
[fffccab]244 <filename>/usr/share/i18n/charmaps/UTF-8.gz</filename>
[6a82dd9]245 charmap definition and appends the result to the
246 <filename>/usr/lib/locale/locale-archive</filename> file.
247 The following instructions will install the minimum set of
248 locales necessary for the optimal coverage of tests:</para>
[3f0c882]249
[0445a3d]250<screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale
[75828c3]251localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
[1e77f0c]252localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8
[73aedd1d]253localedef -i de_DE -f ISO-8859-1 de_DE
254localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
[1e77f0c]255localedef -i de_DE -f UTF-8 de_DE.UTF-8
[75828c3]256localedef -i el_GR -f ISO-8859-7 el_GR
[cefe505]257localedef -i en_GB -f ISO-8859-1 en_GB
[e9aabce]258localedef -i en_GB -f UTF-8 en_GB.UTF-8
[73aedd1d]259localedef -i en_HK -f ISO-8859-1 en_HK
260localedef -i en_PH -f ISO-8859-1 en_PH
261localedef -i en_US -f ISO-8859-1 en_US
[3a35b11]262localedef -i en_US -f UTF-8 en_US.UTF-8
[cefe505]263localedef -i es_ES -f ISO-8859-15 es_ES@euro
[73aedd1d]264localedef -i es_MX -f ISO-8859-1 es_MX
[673b0d8]265localedef -i fa_IR -f UTF-8 fa_IR
[73aedd1d]266localedef -i fr_FR -f ISO-8859-1 fr_FR
267localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
[d93d1c90]268localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
[cefe505]269localedef -i is_IS -f ISO-8859-1 is_IS
270localedef -i is_IS -f UTF-8 is_IS.UTF-8
[73aedd1d]271localedef -i it_IT -f ISO-8859-1 it_IT
[cefe505]272localedef -i it_IT -f ISO-8859-15 it_IT@euro
[5b36d32]273localedef -i it_IT -f UTF-8 it_IT.UTF-8
[1e77f0c]274localedef -i ja_JP -f EUC-JP ja_JP
[75828c3]275localedef -i ja_JP -f SHIFT_JIS ja_JP.SIJS 2> /dev/null || true
[74f027f]276localedef -i ja_JP -f UTF-8 ja_JP.UTF-8
[cefe505]277localedef -i nl_NL@euro -f ISO-8859-15 nl_NL@euro
[5b36d32]278localedef -i ru_RU -f KOI8-R ru_RU.KOI8-R
279localedef -i ru_RU -f UTF-8 ru_RU.UTF-8
[cefe505]280localedef -i se_NO -f UTF-8 se_NO.UTF-8
281localedef -i ta_IN -f UTF-8 ta_IN.UTF-8
[fffccab]282localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
[75828c3]283localedef -i zh_CN -f GB18030 zh_CN.GB18030
[cefe505]284localedef -i zh_HK -f BIG5-HKSCS zh_HK.BIG5-HKSCS
285localedef -i zh_TW -f UTF-8 zh_TW.UTF-8</userinput></screen>
[73aedd1d]286
[6a82dd9]287 <para>In addition, install the locale for your own country, language and
288 character set.</para>
[fa21b3d]289
[6a82dd9]290 <para>Alternatively, install all locales listed in the
291 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
292 (it includes every locale listed above and many more) at once with the
293 following time-consuming command:</para>
[fa21b3d]294
[0445a3d]295<screen><userinput remap="locale-full">make localedata/install-locales</userinput></screen>
[fa21b3d]296
[6a82dd9]297 <para>Then use the <command>localedef</command> command to create and
298 install locales not listed in the
299 <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
[49e360b9]300 when you need them. For instance, the following two locales are
301 needed for some tests later in this chapter:</para>
[d672ab7]302
[49e360b9]303<screen role="nodump"><userinput remap="locale-full">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
304localedef -i ja_JP -f SHIFT_JIS ja_JP.SIJS 2> /dev/null || true</userinput></screen>
[6a82dd9]305
[d672ab7]306 <note><para>Glibc now uses libidn2 when resolving internationalized
[3b03219]307 domain names. This is a run time dependency. If this capability
[d672ab7]308 is needed, the instructions for installing libidn2 are in the
[3b03219]309 <ulink url="&blfs-book;general/libidn2.html">BLFS libidn2 page</ulink>.
310 </para></note>
311
[6a82dd9]312 </sect2>
[94aa6621]313
[6a82dd9]314 <sect2 id="conf-glibc" role="configuration">
315 <title>Configuring Glibc</title>
[5888299]316
[6a82dd9]317 <indexterm zone="conf-glibc">
318 <primary sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary>
319 </indexterm>
[81fd230]320
[6a82dd9]321 <indexterm zone="conf-glibc">
322 <primary sortas="e-/etc/localtime">/etc/localtime</primary>
323 </indexterm>
[342b176]324
[a72ca33]325 <sect3>
326 <title>Adding nsswitch.conf</title>
327
[6a82dd9]328 <para>The <filename>/etc/nsswitch.conf</filename> file needs to be created
[a72ca33]329 because the Glibc defaults do not work well in a networked environment.
330 </para>
[6a82dd9]331
332 <para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
333 following:</para>
[342b176]334
[bb55064]335<screen><userinput>cat &gt; /etc/nsswitch.conf &lt;&lt; "EOF"
[d72e04a]336<literal># Begin /etc/nsswitch.conf
[342b176]337
338passwd: files
339group: files
340shadow: files
341
342hosts: files dns
343networks: files
344
[4a80bec]345protocols: files
346services: files
347ethers: files
348rpc: files
[342b176]349
[d72e04a]350# End /etc/nsswitch.conf</literal>
[bb55064]351EOF</userinput></screen>
[342b176]352
[a72ca33]353 </sect3>
354
355 <sect3>
356 <title>Adding time zone data</title>
357
[edbeeb5]358 <para>Install and set up the time zone data with the following:</para>
[f1dd547]359<screen><userinput>tar -xf ../../tzdata&tzdata-version;.tar.gz
[f1c177f]360
[ea31e92]361ZONEINFO=/usr/share/zoneinfo
[2ca8941]362mkdir -pv $ZONEINFO/{posix,right}
[ea31e92]363
364for tz in etcetera southamerica northamerica europe africa antarctica \
[fb95c5c]365 asia australasia backward; do
[082bbce]366 zic -L /dev/null -d $ZONEINFO ${tz}
367 zic -L /dev/null -d $ZONEINFO/posix ${tz}
368 zic -L leapseconds -d $ZONEINFO/right ${tz}
[287a36b4]369done
[f0f7ea0]370
[f1d755b]371cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
[ea31e92]372zic -d $ZONEINFO -p America/New_York
373unset ZONEINFO</userinput></screen>
[f1c177f]374
[7a6bcf9]375 <variablelist>
376 <title>The meaning of the zic commands:</title>
377
378 <varlistentry>
379 <term><parameter>zic -L /dev/null ...</parameter></term>
380 <listitem>
[6dfcfecc]381 <para>This creates posix time zones without any leap seconds. It is
[7a6bcf9]382 conventional to put these in both
383 <filename class="directory">zoneinfo</filename> and
384 <filename class="directory">zoneinfo/posix</filename>. It is
[edbeeb5]385 necessary to put the POSIX time zones in
[7a6bcf9]386 <filename class="directory">zoneinfo</filename>, otherwise various
387 test-suites will report errors. On an embedded system, where space is
[edbeeb5]388 tight and you do not intend to ever update the time zones, you could save
[6dfcfecc]389 1.9 MB by not using the <filename class="directory">posix</filename>
[7bb9fda]390 directory, but some applications or test-suites might produce some
391 failures.</para>
[7a6bcf9]392 </listitem>
393 </varlistentry>
394 <varlistentry>
395 <term><parameter>zic -L leapseconds ...</parameter></term>
396 <listitem>
[edbeeb5]397 <para>This creates right time zones, including leap seconds. On an
[7a6bcf9]398 embedded system, where space is tight and you do not intend to
[edbeeb5]399 ever update the time zones, or care about the correct time, you could
[7a6bcf9]400 save 1.9MB by omitting the <filename class="directory">right</filename>
401 directory.</para>
402 </listitem>
403 </varlistentry>
404 <varlistentry>
405 <term><parameter>zic ... -p ...</parameter></term>
406 <listitem>
[d7f2eb0]407 <para>This creates the <filename>posixrules</filename> file. We use
[cb02946]408 New York because POSIX requires the daylight savings time rules
[e7134f1]409 to be in accordance with US rules.</para>
[7a6bcf9]410 </listitem>
411 </varlistentry>
412 </variablelist>
413
414
415 <para>One way to determine the local time zone is to run the following
[e1060de]416 script:</para>
[342b176]417
[be4be92]418<screen role="nodump"><userinput>tzselect</userinput></screen>
[342b176]419
[6a82dd9]420 <para>After answering a few questions about the location, the script will
[e1060de]421 output the name of the time zone (e.g.,
422 <emphasis>America/Edmonton</emphasis>). There are also some other possible
[edbeeb5]423 time zones listed in <filename
[e1060de]424 class='directory'>/usr/share/zoneinfo</filename> such as
425 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that
426 are not identified by the script but can be used.</para>
427
428 <para>Then create the <filename>/etc/localtime</filename> file by
429 running:</para>
[342b176]430
[1daca67]431<screen><userinput>ln -sfv /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
[342b176]432
[e1060de]433 <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
434 time zone selected (e.g., Canada/Eastern).</para>
[6a82dd9]435
[a72ca33]436 </sect3>
[6a82dd9]437
[a72ca33]438 <sect3 id="conf-ld" role="configuration">
[6a82dd9]439 <title>Configuring the Dynamic Loader</title>
440
441 <indexterm zone="conf-ld">
442 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
443 </indexterm>
444
445 <para>By default, the dynamic loader (<filename
446 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
447 <filename class="directory">/lib</filename> and <filename
448 class="directory">/usr/lib</filename> for dynamic libraries that are
449 needed by programs as they are run. However, if there are libraries in
450 directories other than <filename class="directory">/lib</filename> and
451 <filename class="directory">/usr/lib</filename>, these need to be added
452 to the <filename>/etc/ld.so.conf</filename> file in order for the
453 dynamic loader to find them. Two directories that are commonly known
454 to contain additional libraries are <filename
455 class="directory">/usr/local/lib</filename> and <filename
456 class="directory">/opt/lib</filename>, so add those directories to the
457 dynamic loader's search path.</para>
458
459 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
460 following:</para>
[342b176]461
[bb55064]462<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
[d72e04a]463<literal># Begin /etc/ld.so.conf
[342b176]464/usr/local/lib
465/opt/lib
[50f648b]466</literal>
[bb55064]467EOF</userinput></screen>
[342b176]468
[6dfcfecc]469 <para>If desired, the dynamic loader can also search a directory and
[2ca8941]470 include the contents of files found there. Generally the files in
[50f648b]471 this include directory are one line specifying the desired library path.
472 To add this capability run the following commands:</para>
473
[6dfcfecc]474<screen role="nodump"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
[50f648b]475<literal># Add an include directory
476include /etc/ld.so.conf.d/*.conf
477</literal>
478EOF
[3d086301]479mkdir -pv /etc/ld.so.conf.d</userinput></screen>
[50f648b]480
[a72ca33]481 </sect3>
[6a82dd9]482 </sect2>
483
[6dfcfecc]484 <!-- - - - - - - - - - -->
485 <!-- Multilib - 32bit -->
486 <!-- - - - - - - - - - -->
487 <sect2 arch="ml_32,ml_all">
488 <title>Building Glibc - 32bit</title>
489
490 <para>Now recompile for m32. The extracted source can be
[0ebda11]491 reused but needs to be cleaned before installing the m32
[6dfcfecc]492 version of Glibc.</para>
493
494 <para>Clear the build directory and remove artefacts from
495 previous build:</para>
496
497<screen><userinput remap="pre">rm -rf ./*
498find .. -name "*.a" -delete</userinput></screen>
499
500 <para>Configure Glibc for m32 with the following commands:</para>
501
502<screen><userinput remap="configure">CC="gcc -m32" CXX="g++ -m32" \
503../configure \
504 --prefix=/usr \
505 --host=i686-pc-linux-gnu \
506 --build=$(../scripts/config.guess) \
507 --enable-kernel=&min-kernel; \
508 --with-headers=/usr/include \
509 --enable-multi-arch \
[0ebda11]510 --libdir=/usr/lib32 \
511 --libexecdir=/usr/lib32 \
[d4b5218]512 libc_cv_slibdir=/usr/lib32</userinput></screen>
[6dfcfecc]513
514 <para>Compile the package:</para>
515
516<screen><userinput remap="make">make</userinput></screen>
517
518 <para>Install the package:</para>
519
520<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
[0ebda11]521cp -a DESTDIR/usr/lib32/* /usr/lib32/
[6dfcfecc]522install -vm644 DESTDIR/usr/include/gnu/{lib-names,stubs}-32.h \
[0ebda11]523 /usr/include/gnu/</userinput></screen>
524<!-- no longer required as they are created in chap5
525ln -svf ../lib32/ld-linux.so.2 /lib/ld-linux.so.2
526-->
[6dfcfecc]527
528 <para>Add the library name to the dynamic loader config:</para>
529
[0ebda11]530<screen role="install"><userinput>echo "/usr/lib32" &gt;&gt; /etc/ld.so.conf</userinput></screen>
[6dfcfecc]531
532 <caution>
533 <para>At this point, it is imperative to stop and ensure that the basic
534 functions (compiling and linking) of the new toolchain are working as
535 expected. To perform a sanity check, run the following commands:</para>
536
537<screen><userinput>echo 'int main(){}' &gt; dummy.c
538gcc -m32 dummy.c
539readelf -l a.out | grep '/ld-linux'</userinput></screen>
540
541 <para>If everything is working correctly, there should be no errors,
542 and the output of the last command will be of the form:</para>
543
544<screen><computeroutput>[Requesting program interpreter: /lib/ld-linux.so.2]</computeroutput></screen>
545
546 <para>If the output is not shown as above or there was no output at all,
547 then something is wrong. Investigate and retrace the steps to find out
548 where the problem is and correct it. This issue must be resolved before
549 continuing on.</para>
550
551 <para>Once all is well, clean up the test files:</para>
552
553<screen><userinput>rm -v dummy.c a.out</userinput></screen>
554
555 </caution>
556
557 </sect2><!-- m32 -->
558
559 <!-- - - - - - - - - - -->
560 <!-- Multilib - x32bit -->
561 <!-- - - - - - - - - - -->
562
563 <sect2 arch="ml_x32,ml_all">
564 <title>Building Glibc - x32bit</title>
565
566 <para>Now recompile for mx32. The extracted source can be
[0ebda11]567 reused but needs to be cleaned before installing the mx32
[6dfcfecc]568 version of Glibc.</para>
569
570 <para>Clear the build directory and remove artefacts from
571 previous build:</para>
572
573<screen><userinput remap="pre">rm -rf ./*
574find .. -name "*.a" -delete</userinput></screen>
575
576 <para>Configure Glibc for mx32 with the following commands:</para>
577
578<screen><userinput remap="configure">CC="gcc -mx32" CXX="g++ -mx32" \
579../configure \
580 --prefix=/usr \
581 --host=x86_64-pc-linux-gnux32 \
582 --build=$(../scripts/config.guess) \
583 --enable-kernel=&min-kernel; \
[0ebda11]584 --with-headers=/usr/include \
[6dfcfecc]585 --enable-multi-arch \
[0ebda11]586 --libdir=/usr/libx32 \
587 --libexecdir=/usr/libx32 \
[d4b5218]588 libc_cv_slibdir=/usr/libx32</userinput></screen>
[6dfcfecc]589
590 <para>Compile the package:</para>
591
592<screen><userinput remap="make">make</userinput></screen>
593
594 <para>Install the package:</para>
595
596<screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install
[0ebda11]597cp -a DESTDIR/usr/libx32/* /usr/libx32/
[6dfcfecc]598install -vm644 DESTDIR/usr/include/gnu/{lib-names,stubs}-x32.h \
[0ebda11]599 /usr/include/gnu/</userinput></screen>
600<!-- no longer required as they are created in chap5
601ln -svf ../libx32/ld-linux-x32.so.2 /lib/ld-linux-x32.so.2
602-->
[6dfcfecc]603 <para>Add the library name to the dynamic loader config:</para>
604
[0ebda11]605<screen role="install"><userinput>echo "/usr/libx32" &gt;&gt; /etc/ld.so.conf</userinput></screen>
[6dfcfecc]606
607 <caution>
608 <para>At this point, it is imperative to stop and ensure that the basic
609 functions (compiling and linking) of the new toolchain are working as
610 expected. To perform a sanity check, run the following commands:</para>
611
612<screen><userinput>echo 'int main(){}' &gt; dummy.c
613gcc -mx32 dummy.c
614readelf -l a.out | grep '/ld-linux-x32'</userinput></screen>
615
616 <para>If everything is working correctly, there should be no errors,
617 and the output of the last command will be of the form:</para>
618
[d7e0db5]619<screen><computeroutput>[Requesting program interpreter: /libx32/ld-linux-x32.so.2]</computeroutput></screen>
[6dfcfecc]620
621 <para>If the output is not shown as above or there was no output at all,
622 then something is wrong. Investigate and retrace the steps to find out
623 where the problem is and correct it. This issue must be resolved before
624 continuing on.</para>
625
626 <para>Once all is well, clean up the test files:</para>
627
628<screen><userinput>rm -v dummy.c a.out</userinput></screen>
629
630 </caution>
631
632 </sect2><!-- mx32 -->
633
[6a82dd9]634 <sect2 id="contents-glibc" role="content">
635 <title>Contents of Glibc</title>
636
637 <segmentedlist>
638 <segtitle>Installed programs</segtitle>
639 <segtitle>Installed libraries</segtitle>
[fe05b08]640 <segtitle>Installed directories</segtitle>
[6a82dd9]641
642 <seglistitem>
643 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
[d672ab7]644 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
[78cc3be]645 pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
[6a82dd9]646 zdump, and zic</seg>
[9c7598cc]647 <seg>ld-linux-x86-64.so.2, ld-linux.so.2,
648 libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
[78cc3be]649 libc.{a,so}, libc_nonshared.a,
[9c7598cc]650 libcrypt.{a,so}, libdl.{a,so.2}, libg.a, libm.{a,so},
651 libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1,
[78cc3be]652 libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
[9c7598cc]653 libpcprofile.so, libpthread.{a,so.0},
654 libresolv.{a,so}, librt.{a,so.1},
655 libthread_db.so, and libutil.{a,so.1}</seg>
[fe05b08]656 <seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
657 /usr/include/net, /usr/include/netash, /usr/include/netatalk,
658 /usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,
659 /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
660 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
[78cc3be]661 /usr/include/protocols, /usr/include/rpc,
[4028929]662 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
663 /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
[7bb9fda]664 /var/cache/nscd, and /var/lib/nss_db</seg>
[6a82dd9]665 </seglistitem>
666 </segmentedlist>
667
668 <variablelist>
669 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
670 <?dbfo list-presentation="list"?>
671 <?dbhtml list-presentation="table"?>
672
673 <varlistentry id="catchsegv">
674 <term><command>catchsegv</command></term>
675 <listitem>
676 <para>Can be used to create a stack trace when a program
677 terminates with a segmentation fault</para>
678 <indexterm zone="ch-system-glibc catchsegv">
679 <primary sortas="b-catchsegv">catchsegv</primary>
680 </indexterm>
681 </listitem>
682 </varlistentry>
683
684 <varlistentry id="gencat">
685 <term><command>gencat</command></term>
686 <listitem>
687 <para>Generates message catalogues</para>
688 <indexterm zone="ch-system-glibc gencat">
689 <primary sortas="b-gencat">gencat</primary>
690 </indexterm>
691 </listitem>
692 </varlistentry>
693
694 <varlistentry id="getconf">
695 <term><command>getconf</command></term>
696 <listitem>
697 <para>Displays the system configuration values for file system
698 specific variables</para>
699 <indexterm zone="ch-system-glibc getconf">
700 <primary sortas="b-getconf">getconf</primary>
701 </indexterm>
702 </listitem>
703 </varlistentry>
704
705 <varlistentry id="getent">
706 <term><command>getent</command></term>
707 <listitem>
708 <para>Gets entries from an administrative database</para>
709 <indexterm zone="ch-system-glibc getent">
710 <primary sortas="b-getent">getent</primary>
711 </indexterm>
712 </listitem>
713 </varlistentry>
714
715 <varlistentry id="iconv">
716 <term><command>iconv</command></term>
717 <listitem>
718 <para>Performs character set conversion</para>
719 <indexterm zone="ch-system-glibc iconv">
720 <primary sortas="b-iconv">iconv</primary>
721 </indexterm>
722 </listitem>
723 </varlistentry>
724
725 <varlistentry id="iconvconfig">
726 <term><command>iconvconfig</command></term>
727 <listitem>
728 <para>Creates fastloading <command>iconv</command> module configuration
729 files</para>
730 <indexterm zone="ch-system-glibc iconvconfig">
731 <primary sortas="b-iconvconfig">iconvconfig</primary>
732 </indexterm>
733 </listitem>
734 </varlistentry>
735
736 <varlistentry id="ldconfig">
737 <term><command>ldconfig</command></term>
738 <listitem>
739 <para>Configures the dynamic linker runtime bindings</para>
740 <indexterm zone="ch-system-glibc ldconfig">
741 <primary sortas="b-ldconfig">ldconfig</primary>
742 </indexterm>
743 </listitem>
744 </varlistentry>
745
746 <varlistentry id="ldd">
747 <term><command>ldd</command></term>
748 <listitem>
749 <para>Reports which shared libraries are required
750 by each given program or shared library</para>
751 <indexterm zone="ch-system-glibc ldd">
752 <primary sortas="b-ldd">ldd</primary>
753 </indexterm>
754 </listitem>
755 </varlistentry>
756
757 <varlistentry id="lddlibc4">
758 <term><command>lddlibc4</command></term>
759 <listitem>
760 <para>Assists <command>ldd</command> with object files</para>
761 <indexterm zone="ch-system-glibc lddlibc4">
762 <primary sortas="b-lddlibc4">lddlibc4</primary>
763 </indexterm>
764 </listitem>
765 </varlistentry>
766
767 <varlistentry id="locale">
768 <term><command>locale</command></term>
769 <listitem>
770 <para>Prints various information about the current locale</para>
771 <indexterm zone="ch-system-glibc locale">
772 <primary sortas="b-locale">locale</primary>
773 </indexterm>
774 </listitem>
775 </varlistentry>
776
777 <varlistentry id="localedef">
778 <term><command>localedef</command></term>
779 <listitem>
780 <para>Compiles locale specifications</para>
781 <indexterm zone="ch-system-glibc localedef">
782 <primary sortas="b-localedef">localedef</primary>
783 </indexterm>
784 </listitem>
785 </varlistentry>
786
[ca101ad]787 <varlistentry id="makedb">
788 <term><command>makedb</command></term>
789 <listitem>
790 <para>Creates a simple database from textual input</para>
791 <indexterm zone="ch-system-glibc makedb">
792 <primary sortas="b-makedb">makedb</primary>
793 </indexterm>
794 </listitem>
795 </varlistentry>
796
[6a82dd9]797 <varlistentry id="mtrace">
798 <term><command>mtrace</command></term>
799 <listitem>
800 <para>Reads and interprets a memory trace file and displays a summary
801 in human-readable format</para>
802 <indexterm zone="ch-system-glibc mtrace">
803 <primary sortas="b-mtrace">mtrace</primary>
804 </indexterm>
805 </listitem>
806 </varlistentry>
807
808 <varlistentry id="nscd">
809 <term><command>nscd</command></term>
810 <listitem>
811 <para>A daemon that provides a cache for the most common name
812 service requests</para>
813 <indexterm zone="ch-system-glibc nscd">
814 <primary sortas="b-nscd">nscd</primary>
815 </indexterm>
816 </listitem>
817 </varlistentry>
[1118b17]818
[78cc3be]819 <varlistentry id="pcprofiledump">
820 <term><command>pcprofiledump</command></term>
821 <listitem>
822 <para>Dump information generated by PC profiling</para>
823 <indexterm zone="ch-system-glibc pcprofiledump">
824 <primary sortas="b-pcprofiledump">pcprofiledump</primary>
825 </indexterm>
826 </listitem>
827 </varlistentry>
828
[ca101ad]829 <varlistentry id="pldd">
830 <term><command>pldd</command></term>
831 <listitem>
832 <para>Lists dynamic shared objects used by running processes</para>
833 <indexterm zone="ch-system-glibc pldd">
834 <primary sortas="b-pldd">pldd</primary>
835 </indexterm>
836 </listitem>
837 </varlistentry>
[1118b17]838
[6a82dd9]839 <varlistentry id="sln">
840 <term><command>sln</command></term>
841 <listitem>
842 <para>A statically linked <command>ln</command> program</para>
843 <indexterm zone="ch-system-glibc sln">
844 <primary sortas="b-sln">sln</primary>
845 </indexterm>
846 </listitem>
847 </varlistentry>
848
[3119ddc]849 <varlistentry id="sotruss">
850 <term><command>sotruss</command></term>
851 <listitem>
852 <para>Traces shared library procedure calls of a specified command</para>
853 <indexterm zone="ch-system-glibc sotruss">
854 <primary sortas="b-sotruss">sotruss</primary>
855 </indexterm>
856 </listitem>
857 </varlistentry>
858
[6a82dd9]859 <varlistentry id="sprof">
860 <term><command>sprof</command></term>
861 <listitem>
862 <para>Reads and displays shared object profiling data</para>
863 <indexterm zone="ch-system-glibc sprof">
864 <primary sortas="b-sprof">sprof</primary>
865 </indexterm>
866 </listitem>
867 </varlistentry>
868
869 <varlistentry id="tzselect">
870 <term><command>tzselect</command></term>
871 <listitem>
872 <para>Asks the user about the location of the system and reports
873 the corresponding time zone description</para>
874 <indexterm zone="ch-system-glibc tzselect">
875 <primary sortas="b-tzselect">tzselect</primary>
876 </indexterm>
877 </listitem>
878 </varlistentry>
879
880 <varlistentry id="xtrace">
881 <term><command>xtrace</command></term>
882 <listitem>
883 <para>Traces the execution of a program by printing the currently
884 executed function</para>
885 <indexterm zone="ch-system-glibc xtrace">
886 <primary sortas="b-xtrace">xtrace</primary>
887 </indexterm>
888 </listitem>
889 </varlistentry>
890
891 <varlistentry id="zdump">
892 <term><command>zdump</command></term>
893 <listitem>
894 <para>The time zone dumper</para>
895 <indexterm zone="ch-system-glibc zdump">
896 <primary sortas="b-zdump">zdump</primary>
897 </indexterm>
898 </listitem>
899 </varlistentry>
900
901 <varlistentry id="zic">
902 <term><command>zic</command></term>
903 <listitem>
904 <para>The time zone compiler</para>
905 <indexterm zone="ch-system-glibc zic">
906 <primary sortas="b-zic">zic</primary>
907 </indexterm>
908 </listitem>
909 </varlistentry>
910
911 <varlistentry id="ld.so">
[9c7598cc]912 <term><filename class="libraryfile">ld-*.so</filename></term>
[6a82dd9]913 <listitem>
914 <para>The helper program for shared library executables</para>
915 <indexterm zone="ch-system-glibc ld.so">
[5ef820b]916 <primary sortas="c-ld.so">ld-&glibc-version;.so</primary>
[6a82dd9]917 </indexterm>
918 </listitem>
919 </varlistentry>
920
921 <varlistentry id="libBrokenLocale">
922 <term><filename class="libraryfile">libBrokenLocale</filename></term>
923 <listitem>
924 <para>Used internally by Glibc as a gross hack to get broken programs
925 (e.g., some Motif applications) running. See comments in
926 <filename>glibc-&glibc-version;/locale/broken_cur_max.c</filename>
927 for more information</para>
928 <indexterm zone="ch-system-glibc libBrokenLocale">
929 <primary sortas="c-libBrokenLocale">libBrokenLocale</primary>
930 </indexterm>
931 </listitem>
932 </varlistentry>
933
934 <varlistentry id="libSegFault">
935 <term><filename class="libraryfile">libSegFault</filename></term>
936 <listitem>
937 <para>The segmentation fault signal handler, used by
938 <command>catchsegv</command></para>
939 <indexterm zone="ch-system-glibc libSegFault">
940 <primary sortas="c-libSegFault">libSegFault</primary>
941 </indexterm>
942 </listitem>
943 </varlistentry>
944
945 <varlistentry id="libanl">
946 <term><filename class="libraryfile">libanl</filename></term>
947 <listitem>
948 <para>An asynchronous name lookup library</para>
949 <indexterm zone="ch-system-glibc libanl">
950 <primary sortas="c-libanl">libanl</primary>
951 </indexterm>
952 </listitem>
953 </varlistentry>
954
955 <varlistentry id="libc">
956 <term><filename class="libraryfile">libc</filename></term>
957 <listitem>
958 <para>The main C library</para>
959 <indexterm zone="ch-system-glibc libc">
960 <primary sortas="c-libc">libc</primary>
961 </indexterm>
962 </listitem>
963 </varlistentry>
964
965 <varlistentry id="libcrypt">
966 <term><filename class="libraryfile">libcrypt</filename></term>
967 <listitem>
968 <para>The cryptography library</para>
969 <indexterm zone="ch-system-glibc libcrypt">
970 <primary sortas="c-libcrypt">libcrypt</primary>
971 </indexterm>
972 </listitem>
973 </varlistentry>
974
975 <varlistentry id="libdl">
976 <term><filename class="libraryfile">libdl</filename></term>
977 <listitem>
[9c7598cc]978 <para>Dummy library containing no functions. Previously was the
979 dynamic linking interface library, whose functions are now in
980 <filename class="libraryfile">libc</filename></para>
[6a82dd9]981 <indexterm zone="ch-system-glibc libdl">
982 <primary sortas="c-libdl">libdl</primary>
983 </indexterm>
984 </listitem>
985 </varlistentry>
986
987 <varlistentry id="libg">
988 <term><filename class="libraryfile">libg</filename></term>
989 <listitem>
990 <para>Dummy library containing no functions. Previously was a runtime
991 library for <command>g++</command></para>
992 <indexterm zone="ch-system-glibc libg">
993 <primary sortas="c-libg">libg</primary>
994 </indexterm>
995 </listitem>
996 </varlistentry>
997
998 <varlistentry id="libm">
999 <term><filename class="libraryfile">libm</filename></term>
1000 <listitem>
1001 <para>The mathematical library</para>
1002 <indexterm zone="ch-system-glibc libm">
1003 <primary sortas="c-libm">libm</primary>
1004 </indexterm>
1005 </listitem>
1006 </varlistentry>
1007
1008 <varlistentry id="libmcheck">
1009 <term><filename class="libraryfile">libmcheck</filename></term>
1010 <listitem>
1011 <para>Turns on memory allocation checking when linked to</para>
1012 <indexterm zone="ch-system-glibc libmcheck">
1013 <primary sortas="c-libmcheck">libmcheck</primary>
1014 </indexterm>
1015 </listitem>
1016 </varlistentry>
1017
1018 <varlistentry id="libmemusage">
1019 <term><filename class="libraryfile">libmemusage</filename></term>
1020 <listitem>
1021 <para>Used by <command>memusage</command> to help collect
1022 information about the memory usage of a program</para>
1023 <indexterm zone="ch-system-glibc libmemusage">
1024 <primary sortas="c-libmemusage">libmemusage</primary>
1025 </indexterm>
1026 </listitem>
1027 </varlistentry>
1028
1029 <varlistentry id="libnsl">
1030 <term><filename class="libraryfile">libnsl</filename></term>
1031 <listitem>
[9c7598cc]1032 <para>The network services library, now deprecated</para>
[6a82dd9]1033 <indexterm zone="ch-system-glibc libnsl">
1034 <primary sortas="c-libnsl">libnsl</primary>
1035 </indexterm>
1036 </listitem>
1037 </varlistentry>
1038
1039 <varlistentry id="libnss">
1040 <term><filename class="libraryfile">libnss</filename></term>
1041 <listitem>
1042 <para>The Name Service Switch libraries, containing functions for
1043 resolving host names, user names, group names, aliases, services,
1044 protocols, etc.</para>
1045 <indexterm zone="ch-system-glibc libnss">
1046 <primary sortas="c-libnss">libnss</primary>
1047 </indexterm>
1048 </listitem>
1049 </varlistentry>
[1118b17]1050
[78cc3be]1051 <varlistentry id="libpcprofile">
1052 <term><filename class="libraryfile">libpcprofile</filename></term>
1053 <listitem>
1054 <para>Can be preloaded to PC profile an executable</para>
1055 <indexterm zone="ch-system-glibc libpcprofile">
1056 <primary sortas="c-libpcprofile">libpcprofile</primary>
1057 </indexterm>
1058 </listitem>
1059 </varlistentry>
1060
[6a82dd9]1061 <varlistentry id="libpthread">
1062 <term><filename class="libraryfile">libpthread</filename></term>
1063 <listitem>
[9c7598cc]1064 <para>Dummy library containing no functions. Previously contained
1065 functions providing most of the interfaces specified
1066 by the POSIX.1b Realtime Extension, now the functions are in
1067 <filename class="libraryfile">libc</filename></para>
[6a82dd9]1068 <indexterm zone="ch-system-glibc libpthread">
1069 <primary sortas="c-libpthread">libpthread</primary>
1070 </indexterm>
1071 </listitem>
1072 </varlistentry>
1073
1074 <varlistentry id="libresolv">
1075 <term><filename class="libraryfile">libresolv</filename></term>
1076 <listitem>
1077 <para>Contains functions for creating, sending, and interpreting
1078 packets to the Internet domain name servers</para>
1079 <indexterm zone="ch-system-glibc libresolv">
1080 <primary sortas="c-libresolv">libresolv</primary>
1081 </indexterm>
1082 </listitem>
1083 </varlistentry>
1084
1085 <varlistentry id="librt">
1086 <term><filename class="libraryfile">librt</filename></term>
1087 <listitem>
1088 <para>Contains functions providing most of the interfaces specified
1089 by the POSIX.1b Realtime Extension</para>
1090 <indexterm zone="ch-system-glibc librt">
1091 <primary sortas="c-librt">librt</primary>
1092 </indexterm>
1093 </listitem>
1094 </varlistentry>
1095
1096 <varlistentry id="libthread_db">
1097 <term><filename class="libraryfile">libthread_db</filename></term>
1098 <listitem>
1099 <para>Contains functions useful for building debuggers for
1100 multi-threaded programs</para>
1101 <indexterm zone="ch-system-glibc libthread_db">
1102 <primary sortas="c-libthread_db">libthread_db</primary>
1103 </indexterm>
1104 </listitem>
1105 </varlistentry>
1106
1107 <varlistentry id="libutil">
1108 <term><filename class="libraryfile">libutil</filename></term>
1109 <listitem>
[99b2938]1110 <para>Dummy library containing no functions. Previously contained
[9c7598cc]1111 code for <quote>standard</quote> functions used in
1112 many different Unix utilities. These functions are now in
1113 <filename class="libraryfile">libc</filename></para>
[6a82dd9]1114 <indexterm zone="ch-system-glibc libutil">
1115 <primary sortas="c-libutil">libutil</primary>
1116 </indexterm>
1117 </listitem>
1118 </varlistentry>
1119
1120 </variablelist>
1121
1122 </sect2>
[673b0d8]1123
1124</sect1>
Note: See TracBrowser for help on using the repository browser.