|
@@ -98,12 +98,14 @@ done</userinput></screen>
|
|
copied files. When used in conjunction with <command>cp -u</command>, this
|
|
copied files. When used in conjunction with <command>cp -u</command>, this
|
|
prevents unexpected changes to the original files in case the commands are
|
|
prevents unexpected changes to the original files in case the commands are
|
|
inadvertently run twice. </para>
|
|
inadvertently run twice. </para>
|
|
-
|
|
|
|
|
|
+<!--
|
|
<para>GCC doesn't detect stack protection correctly, which causes problems
|
|
<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
|
|
for the build of Glibc-&glibc-version;, so fix that by issuing the following
|
|
command:</para>
|
|
command:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure</userinput></screen>
|
|
<screen><userinput remap="pre">sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure</userinput></screen>
|
|
|
|
+-->
|
|
|
|
+
|
|
<!--
|
|
<!--
|
|
<para>Also fix a problem identified upstream:</para>
|
|
<para>Also fix a problem identified upstream:</para>
|
|
|
|
|
|
@@ -120,6 +122,7 @@ cd ../gcc-build</userinput></screen>
|
|
<screen><userinput remap="configure">../gcc-&gcc-version;/configure \
|
|
<screen><userinput remap="configure">../gcc-&gcc-version;/configure \
|
|
--target=$LFS_TGT \
|
|
--target=$LFS_TGT \
|
|
--prefix=/tools \
|
|
--prefix=/tools \
|
|
|
|
+ --with-glibc-version=2.11 \
|
|
--with-sysroot=$LFS \
|
|
--with-sysroot=$LFS \
|
|
--with-newlib \
|
|
--with-newlib \
|
|
--without-headers \
|
|
--without-headers \
|