From ee321a46882b7583b2b831b87e6afce2e5652a6d Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 11 Oct 2011 04:23:55 +0000 Subject: Added Check-1.2.0 library to Chapter 5. Updated errordiscussion in glibc. Added a fix for locale issues in gcc. Incorporated Check library into libpipeline test. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9626 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc.xml | 5 +++++ chapter06/glibc.xml | 4 ++++ chapter06/libpipeline.xml | 20 ++++++++++++++++++-- 3 files changed, 27 insertions(+), 2 deletions(-) (limited to 'chapter06') diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index b2b0cd6b2..74665889a 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -66,6 +66,11 @@ esac sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in + Finally, apply a patch that corrects the test code for locale changes + that were made in glibc-2.14 and later. + +patch -Np1 -i ../gcc-4.6.1-locale-1.patch + The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory: diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index e03617d5a..819bcdb95 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -205,6 +205,10 @@ grep Error glibc-check-log help eliminate these errors (e.g. TIMEOUTFACTOR=16 make -k check). + + Other tests known to fail on some architectures are posix/bug-regex32, + misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and stdio-common/bug22. + Though it is a harmless message, the install stage of Glibc will diff --git a/chapter06/libpipeline.xml b/chapter06/libpipeline.xml index 1c832d0e3..a2a573892 100644 --- a/chapter06/libpipeline.xml +++ b/chapter06/libpipeline.xml @@ -43,13 +43,29 @@ Prepare Libpipeline for compilation: -./configure --prefix=/usr +./configure CHECK_CFLAGS=-I/tools/include \ + CHECK_LIBS="-L/tools/lib -lcheck" --prefix=/usr + + + The meaning of the configure options: + + + CHECK_CFLAGS=, CHECK_LIBS= + + These environment variables specify the location of the test + library built in . + + + + Compile the package: make - This package does not come with a test suite. + To test the results, issue: + +make check Install the package: -- cgit v1.2.3-54-g00ecf