From c906b7e5cc69bc203b14204e7bdeeeea3fc4fb4a Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Fri, 28 Dec 2012 10:23:04 +0000 Subject: Upgrade to Glibc-2.17. Fixes #3261. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10075 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/glibc.xml | 76 +---------------------------------------------------- 1 file changed, 1 insertion(+), 75 deletions(-) (limited to 'chapter06') diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 3431ae5d4..80bd4cf60 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -61,67 +61,12 @@ Glibc autoconf tests would give false results and defeat the goal of achieving a clean build. - - - Fix a problem that causes the build to fail in the LFS environment: - -sed -i 's#<rpc/types.h>#"rpc/types.h"#' sunrpc/rpc_clntout.c - - - - When running make install, a script called - test-installation.pl performs a small sanity test on - our newly installed Glibc. Use a patch to fix the bug that causes it to - fail: - -patch -Np1 -i ../&glibc-installation-patch; - - The ldd shell script contains Bash-specific - syntax. Change its default program interpreter to /bin/bash - in case another /bin/sh is installed as described in the - Shells - chapter of the BLFS book: - -sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in - - Now fix a problem that causes some applications to crash when - utilizing problem nameservers: - -patch -Np1 -i ../&glibc-fix-resolv-patch; - The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory: mkdir -v ../glibc-build cd ../glibc-build - + Prepare Glibc for compilation: ../glibc-&glibc-version;/configure \ @@ -157,8 +102,6 @@ esac Generally a few tests do not pass, but you can generally ignore any of the test failures listed below. Now test the build results: - - make -k check 2>&1 | tee glibc-check-log grep Error glibc-check-log @@ -169,12 +112,6 @@ grep Error glibc-check-log most common issues: - - - The nptl/tst-clock2, @@ -192,15 +129,6 @@ grep Error glibc-check-log authentic AMD processor. - - When running on older and slower hardware or on systems under load, some tests can fail because of test timeouts being exceeded. @@ -287,8 +215,6 @@ localedef -i zh_CN -f GB18030 zh_CN.GB18030 install locales not listed in the glibc-&glibc-version;/localedata/SUPPORTED file in the unlikely case you need them. - -- cgit v1.2.3-54-g00ecf