aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2009-05-25 17:51:22 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2009-05-25 17:51:22 +0000
commitfd40de873311d7bb504462bde4c585282625019d (patch)
tree6a74a1c182ebe50022af02192c07fb992be70897 /chapter06/glibc.xml
parent30081aded59082599e65771c37b4cc8f6a4db950 (diff)
Various edits. Update glibc to fix a make check error.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8921 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 53c97a8ca..097f1dff7 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -70,12 +70,16 @@
<screen><userinput remap="pre">tar -xvf ../glibc-libidn-&glibc-version;.tar.bz2
mv glibc-libidn-&glibc-version; libidn</userinput></screen>
+<!--
+ This should have been fixed a long time ago.
+
<para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite
loop at startup. It is unknown whether this is a <command>bash</command>
bug or a Glibc problem. Disable installation of this locale in order to
avoid the problem:</para>
<screen><userinput remap="pre">sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
+-->
<para>When running <command>make install</command>, a script called
<filename>test-installation.pl</filename> performs a small sanity test on
@@ -97,6 +101,13 @@ unset DL</userinput></screen>
<screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>
+ <para>Fix an error in one of the make check routines. Note that the escaped
+ newline in the second <command>sed</command> is required:</para>
+
+<screen><userinput remap="pre">sed -i s/utf8/UTF-8/ libio/tst-fgetwc.c
+sed -i '/tst-fgetws-ENV/ a\
+tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata' libio/Makefile</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>