diff options
Diffstat (limited to 'chapter08/glibc.xml')
-rw-r--r-- | chapter08/glibc.xml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 968b398e0..c0e89455c 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -46,7 +46,7 @@ <para>First, fix a security problem identified upstream:</para> <screen><userinput remap="pre">sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' \ - -i sysdeps/unix/sysv/linux/mq_notify.c</userinput></screen> + -i sysdeps/unix/sysv/linux/mq_notify.c</userinput></screen> <para>Some of the Glibc programs use the non-FHS compliant <filename class="directory">/var/db</filename> directory to store @@ -55,7 +55,7 @@ <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> - <para>The Glibc documentation recommends building Glibc + <para>The Glibc documentation recommends building Glibc in a dedicated build directory:</para> <screen><userinput remap="pre">mkdir -v build @@ -82,7 +82,7 @@ cd build</userinput></screen> <varlistentry> <term><parameter>--disable-werror</parameter></term> <listitem> - <para>This option disables the -Werror option passed to + <para>This option disables the -Werror option passed to GCC. This is necessary for running the test suite.</para> </listitem> </varlistentry> @@ -100,7 +100,7 @@ cd build</userinput></screen> <varlistentry> <term><parameter>--enable-stack-protector=strong</parameter></term> <listitem> - <para>This option increases system security by adding + <para>This option increases system security by adding extra code to check for buffer overflows, such as stack smashing attacks.</para> </listitem> @@ -150,18 +150,18 @@ esac</userinput></screen> <para>You may see some test failures. The Glibc test suite is somewhat dependent on the host system. A few failures out of - over 4200 tests can generally be ignored. This is a list of the + over 4200 tests can generally be ignored. This is a list of the most common issues seen for recent versions of LFS:</para> <itemizedlist> <listitem> - <para><emphasis>io/tst-lchmod</emphasis> + <para><emphasis>io/tst-lchmod</emphasis> is known to fail in the LFS chroot environment.</para> </listitem> <listitem> - <para><emphasis>misc/tst-ttyname</emphasis> + <para><emphasis>misc/tst-ttyname</emphasis> is known to fail in the LFS chroot environment.</para> </listitem> <!-- @@ -173,7 +173,7 @@ esac</userinput></screen> <listitem> <para>The <emphasis>rt/tst-cputimer{1,2,3}</emphasis> tests depend on the host system kernel. Kernels 4.14.91–4.14.96, - 4.19.13–4.19.18, and 4.20.0–4.20.5 are known to + 4.19.13–4.19.18, and 4.20.0–4.20.5 are known to cause these tests to fail. </para> </listitem> @@ -213,7 +213,7 @@ esac</userinput></screen> <screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf mkdir -pv /var/cache/nscd</userinput></screen> - <para revision="systemd">Install the systemd support files for + <para revision="systemd">Install the systemd support files for <command>nscd</command>:</para> <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf @@ -287,13 +287,13 @@ localedef -i zh_TW -f UTF-8 zh_TW.UTF-8</userinput></screen> <filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file when you need them. For instance, the following two locales are needed for some tests later in this chapter:</para> - + <screen role="nodump"><userinput remap="locale-full">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true localedef -i ja_JP -f SHIFT_JIS ja_JP.SIJS 2> /dev/null || true</userinput></screen> - <note><para>Glibc now uses libidn2 when resolving internationalized + <note><para>Glibc now uses libidn2 when resolving internationalized domain names. This is a run time dependency. If this capability - is needed, the instructions for installing libidn2 are in the + is needed, the instructions for installing libidn2 are in the <ulink url="&blfs-book;general/libidn2.html">BLFS libidn2 page</ulink>. </para></note> @@ -479,7 +479,7 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen> <seglistitem> <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig, - ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, + ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace, zdump, and zic</seg> <seg>ld-linux-x86-64.so.2, ld-linux.so.2, @@ -949,7 +949,6 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen> code for <quote>standard</quote> functions used in many different Unix utilities. These functions are now in <filename class="libraryfile">libc</filename></para> - <indexterm zone="ch-system-glibc libutil"> <primary sortas="c-libutil">libutil</primary> </indexterm> |