From 050335d4bd4d2691e025fd970438b662861d105a Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 2 May 2023 21:25:09 +0800 Subject: [PATCH 1/2] gcc: Update known test failures for GCC 13 --- chapter08/gcc.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index d2b93a0e6..e89f7e468 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -161,14 +161,14 @@ su tester -c "PATH=$PATH make -k check" url="&test-results;"/> and . - Eleven tests in the i386 test suite for the gcc compiler are known to FAIL. - It's because the test files do not account for the - --enable-default-pie option. - + Two tests named pr104610.c and + pr69482-1.c are known to fail because the test + files does not account for the + --enable-default-ssp option. + + Additionally, two tests named copy.cc and + pr56837.c are known to fail. + A few unexpected failures cannot always be avoided. The GCC developers are usually aware of these issues, but have not resolved them yet. Unless the test results are vastly different from those at the above URL, From 9781ec5baeb533384f8f64063d6d386cfc199dec Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 2 May 2023 22:49:48 +0800 Subject: [PATCH 2/2] gcc: Document the meaning of --disable-fixincludes --- chapter08/gcc.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index e89f7e468..bbef8643c 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -98,6 +98,17 @@ cd build + + --disable-fixincludes + + By default, during the installation of GCC some system + headers would be fixed to be used with GCC. This + is not necessary for a modern Linux system, and potentionally + harmful if a package is reinstalled after installing GCC. This + switch prevents GCC from fixing the headers. + + + --with-system-zlib