diff options
Diffstat (limited to 'chapter05/gcc-pass1.xml')
-rw-r--r-- | chapter05/gcc-pass1.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 180cdf7ae..0edcd87d2 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -99,6 +99,12 @@ done</userinput></screen> prevents unexpected changes to the original files in case the commands are inadvertently run twice. </para> + <para>GCC doesn't detect stack protection correctly, which causes problems + for the build of Glibc-&glibc-version;, so fix that by issuing the following + command:</para> + +<screen><userinput remap="pre">sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure</userinput></screen> + <para>The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:</para> |