aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r--chapter06/gcc.xml11
1 files changed, 7 insertions, 4 deletions
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</userinput></screen>
<screen><userinput remap="test">ulimit -s 32768</userinput></screen>
- <para>Test the results, but do not stop at errors:</para>
+ <para>Remove one test known to cause a problem:</para>
-<screen><userinput remap="test">make -k check</userinput></screen>
+<screen><userinput remap="test">rm ../gcc/testsuite/g++.dg/pr83239.C</userinput></screen>
+
+ <para>Test the results as a non-privileged user, but do not stop at errors:</para>
+
+<screen><userinput remap="test">chown -Rv nobody .
+su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
<para>To receive a summary of the test suite results, run:</para>
@@ -126,8 +131,6 @@ cd build</userinput></screen>
<para>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.</para>