|
@@ -61,23 +61,23 @@
|
|
|
Glibc autoconf tests would give false results and defeat the goal
|
|
|
of achieving a clean build.</para>
|
|
|
|
|
|
- <para>The glibc-libidn tarball adds support for internationalized domain
|
|
|
+ <!-- <para>The glibc-libidn tarball adds support for internationalized domain
|
|
|
names (IDN) to Glibc. Many programs that support IDN require the full
|
|
|
<filename class="libraryfile">libidn</filename> library, not this add-on (see
|
|
|
<ulink url="&blfs-root;view/svn/general/libidn.html"/>).
|
|
|
Unpack the tarball from within the Glibc source directory:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">tar -xvf ../glibc-libidn-&glibc-version;.tar.bz2
|
|
|
-mv glibc-libidn-&glibc-version; libidn</userinput></screen>
|
|
|
+mv glibc-libidn-&glibc-version; libidn</userinput></screen>-->
|
|
|
|
|
|
- <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
|
|
|
+ <!-- <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>
|
|
|
+<screen><userinput remap="pre">sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen> -->
|
|
|
|
|
|
- <para>When running <command>make install</command>, a script called
|
|
|
+ <!-- <para>When running <command>make install</command>, a script called
|
|
|
<filename>test-installation.pl</filename> performs a small sanity test on
|
|
|
our newly installed Glibc. However, because our toolchain still points to
|
|
|
the <filename class="directory">/tools</filename> directory, the sanity
|
|
@@ -86,7 +86,14 @@ mv glibc-libidn-&glibc-version; libidn</userinput></screen>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i \
|
|
|
's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
|
|
|
- scripts/test-installation.pl</userinput></screen>
|
|
|
+ scripts/test-installation.pl</userinput></screen> -->
|
|
|
+
|
|
|
+ <para>First apply two patches which correct failures in the test
|
|
|
+ suite:</para>
|
|
|
+
|
|
|
+<screen><userinput remap="pre">patch -Np1 -i &glibc-iconv-test-fixes-patch; &&
|
|
|
+patch -Np1 -i &glibc-ildoubl-test-fix-patch;</userinput></screen>
|
|
|
+
|
|
|
|
|
|
<para>The <command>ldd</command> shell script contains Bash-specific
|
|
|
syntax. Change its default program interpreter to <command>/bin/bash</command>
|
|
@@ -136,9 +143,12 @@ cd ../glibc-build</userinput></screen>
|
|
|
Do not skip it under any circumstance.</para>
|
|
|
</important>
|
|
|
|
|
|
- <para>Test the results:</para>
|
|
|
+ <para>Before running the tests, copy a file from the source tree into our
|
|
|
+ build tree to prevent a couple of test failures, then test the
|
|
|
+ results:</para>
|
|
|
|
|
|
-<screen><userinput remap="test">make -k check 2>&1 | tee glibc-check-log
|
|
|
+<screen><userinput remap="test">cp -v ../glibc-&glibc-version;/iconvdata/gconv-modules iconvdata &&
|
|
|
+make -k check 2>&1 | tee glibc-check-log
|
|
|
grep Error glibc-check-log</userinput></screen>
|
|
|
|
|
|
<para>You will probably see an expected (ignored) failure in the
|
|
@@ -230,7 +240,7 @@ localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
|
|
|
<para>Then use the <command>localedef</command> command to create and
|
|
|
install locales not listed in the
|
|
|
<filename>glibc-&glibc-version;/localedata/SUPPORTED</filename> file
|
|
|
- in the unlikely case if you need them.</para>
|
|
|
+ in the unlikely case you need them.</para>
|
|
|
<!-- The Live CD patches the localedata/SUPPORTED file instead of
|
|
|
running localedef, the results are equivalent -->
|
|
|
|