From 76db8d6fa13e6c7c133fc1118c127bce9dcb8564 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 12 Aug 2018 16:35:49 +0000 Subject: Add LANG to vim test instructions. Ensure grep tests run to completion. Run gcc tests in Chapter 6 as a non-privileged user. Move shadow to before gcc so the gcc tests can use su to run as a non-privileged user. Add perl Configure options in Chapter 5 to ensure no host system libraries are used. Update minimum make version to 4.0 required by glibc-2.28. Update bzip2 url to a new location. Update to linux-4.17.14. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'chapter06/gcc.xml') diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 645b72cfa..c1a074911 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -109,9 +109,14 @@ cd build ulimit -s 32768 - Test the results, but do not stop at errors: + Remove one test known to cause a problem: -make -k check +rm ../gcc/testsuite/g++.dg/pr83239.C + + Test the results as a non-privileged user, but do not stop at errors: + +chown -Rv nobody . +su nobody -s /bin/bash -c "PATH=$PATH make -k check" To receive a summary of the test suite results, run: @@ -126,8 +131,6 @@ cd build A few unexpected failures cannot always be avoided. The GCC developers are usually aware of these issues, but have not resolved them yet. - In particular, six tests in the libstdc++ test suite are known to fail - when running as the root user as we do here. Unless the test results are vastly different from those at the above URL, it is safe to continue. -- cgit v1.2.3-54-g00ecf