From 0c0d7c18125f1335cb5e52167a57c171b5b988cf Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Mon, 26 Mar 2012 20:29:25 +0000 Subject: Upgrade to Glibc-2.15. Fixes #3045. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9787 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/glibc.xml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'chapter05') diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 26db57d2d..1a95b0935 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -43,14 +43,14 @@ Installation of Glibc - Fix a bug that prevents Glibc from building with GCC-&gcc-version;: + Address a header check that fails due to an incomplete build + environment at this point: - patch -Np1 -i ../&glibc-gcc_fix-patch; + sed -i 's#$ac_includes_default#\n\n#' sysdeps/i386/configure - Also address a header check that fails due to an incomplete build - environment at this point: + Fix a path that is hardcoded: - patch -Np1 -i ../&glibc-cpuid-patch; + sed -i 's#/var/db#/tools/var/db#' Makeconfig The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory: @@ -83,6 +83,7 @@ esac --enable-kernel=2.6.25 \ --with-headers=/tools/include \ libc_cv_forced_unwind=yes \ + libc_cv_ctors_header=yes \ libc_cv_c_cleanup=yes @@ -151,6 +152,14 @@ esac cleanup handling support is configured. + + libc_cv_ctors_header=yes + + Simlarly, we pass libc_cv_ctors_header=yes through to the + configure script so that the test is skipped and + gcc constructor support is configured. + + -- cgit v1.2.3-54-g00ecf