From 5a25e0a586ae26a4a8c0678dac85f9626385c11d Mon Sep 17 00:00:00 2001 From: Randy McMurchy Date: Sun, 5 Oct 2008 16:11:41 +0000 Subject: Updated Glibc to a 2.8 snapshot taken on 9/29/2008, the tarball of this snapshot includes the libidn data that previously was separately packaged git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8567 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 7 ++++++- chapter01/whatsnew.xml | 8 ++++++++ chapter03/packages.xml | 4 ++-- chapter03/patches.xml | 18 +++++++++++++++++- chapter05/glibc.xml | 6 ++++++ chapter06/glibc.xml | 28 +++++++++++++++++++--------- packages.ent | 16 ++++++++-------- patches.ent | 9 +++++++++ 8 files changed, 75 insertions(+), 21 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b67325641..85760f09b 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -38,8 +38,13 @@ --> - Date + 2008-10-05 + + [randy] - Updated Glibc to a 2.8 snapshot taken on + 9/29/2008. The tarball of this snapshot includes the libidn + data that previously was separately packaged. + [randy] - Added the GMP and MPFR packages to the list of packages in Chapter 3. Thanks to Lefteris Dimitroulakis for diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 7f284ef46..a01231ba4 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -226,6 +226,14 @@ GMP-&gmp-version; + + &glibc-iconv-test-fixes-patch; + + + + &glibc-ildoubl-test-fix-patch; + + &grep-debian-patch; diff --git a/chapter03/packages.xml b/chapter03/packages.xml index ec25e6e45..3d4412728 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -203,14 +203,14 @@ - + GMP (&gmp-version;) - &gmp-size;: diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 19e5074a5..c0d02d7e7 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -91,7 +91,23 @@ - Grep Debian Patch - &grep-debian-patch-size;; + Glibc Iconv Test Fixes Patch - &glibc-iconv-test-fixes-patch-size;: + + Download: + MD5 sum: &glibc-iconv-test-fixes-patch-md5; + + + + + Glibc Ildoubl Test Fix Patch - &glibc-ildoubl-test-fix-patch-size;: + + Download: + MD5 sum: &glibc-ildoubl-test-fix-patch-md5; + + + + + Grep Debian Patch - &grep-debian-patch-size;: Download: MD5 sum: &grep-debian-patch-md5; diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 4ef95147f..1919f9850 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -43,6 +43,12 @@ Installation of Glibc + Though not mandatory in this chapter, if you plan on running the test + suite, you should apply the following patches: + +patch -Np1 -i &glibc-iconv-test-fixes-patch; && +patch -Np1 -i &glibc-ildoubl-test-fix-patch; + The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory: diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 65a4383d7..192b21240 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -61,23 +61,23 @@ Glibc autoconf tests would give false results and defeat the goal of achieving a clean build. - The glibc-libidn tarball adds support for internationalized domain + - In the vi_VN.TCVN locale, bash enters an infinite loop + - When running make install, a script called + + + First apply two patches which correct failures in the test + suite: + +patch -Np1 -i &glibc-iconv-test-fixes-patch; && +patch -Np1 -i &glibc-ildoubl-test-fix-patch; + The ldd shell script contains Bash-specific syntax. Change its default program interpreter to /bin/bash @@ -136,9 +143,12 @@ cd ../glibc-build Do not skip it under any circumstance. - Test the results: + 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: -make -k check 2>&1 | tee glibc-check-log +cp -v ../glibc-&glibc-version;/iconvdata/gconv-modules iconvdata && +make -k check 2>&1 | tee glibc-check-log grep Error glibc-check-log You will probably see an expected (ignored) failure in the @@ -230,7 +240,7 @@ localedef -i ja_JP -f EUC-JP ja_JP Then use the localedef command to create and install locales not listed in the glibc-&glibc-version;/localedata/SUPPORTED file - in the unlikely case if you need them. + in the unlikely case you need them. diff --git a/packages.ent b/packages.ent index 5a0ca85f8..a1d83da34 100644 --- a/packages.ent +++ b/packages.ent @@ -192,15 +192,15 @@ - - - - + + + + - - - - + + + + diff --git a/patches.ent b/patches.ent index 2fbec72e0..52dff2b5c 100644 --- a/patches.ent +++ b/patches.ent @@ -43,6 +43,15 @@ + + + + + + + + + -- cgit v1.2.3-54-g00ecf