diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2012-08-05 14:25:02 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2012-08-05 14:25:02 +0000 |
commit | f1c177f9587a73e995b274d60babc763a4ed2f61 (patch) | |
tree | 0b8e3139ea25ac4106cbb4d044c61a46e962fc1f /chapter05/gcc-pass1.xml | |
parent | 36ba266b6f3981db638891ec5fa369bc5ae258a2 (diff) |
Upgrade to Glibc-2.16.0. Fixes #3131.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9922 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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> |