Author: ken Date: 2005-10-14 17:44:39 -0600 (Fri, 14 Oct 2005) New Revision: 7017
Modified: branches/6.1.1/BOOK/chapter01/changelog.xml branches/6.1.1/BOOK/chapter03/patches.xml branches/6.1.1/BOOK/chapter05/binutils-pass1.xml branches/6.1.1/BOOK/chapter05/perl.xml branches/6.1.1/BOOK/chapter06/glibc.xml branches/6.1.1/BOOK/chapter06/perl.xml branches/6.1.1/BOOK/chapter06/zlib.xml branches/6.1.1/BOOK/patches.ent Log: binutils and glibc patches, space/time updates Modified: branches/6.1.1/BOOK/chapter01/changelog.xml =================================================================== --- branches/6.1.1/BOOK/chapter01/changelog.xml 2005-10-14 23:16:01 UTC (rev 7016) +++ branches/6.1.1/BOOK/chapter01/changelog.xml 2005-10-14 23:44:39 UTC (rev 7017) @@ -26,8 +26,10 @@ <listitem><para>Added:</para> <itemizedlist> +<listitem><para>binutils-&binutils-version;-gcc4-1.patch</para></listitem> <listitem><para>bzip2-&bzip2-version;-install_docs-1.patch</para></listitem> <listitem><para>bzip2-&bzip2-version;-bzgrep_security-1.patch</para></listitem> +<listitem><para>glibc-&glibc-version;-rtld_search_dirs-1.patch</para></listitem> <listitem><para>texinfo-&texinfo-version;-tempfile_fix-1.patch</para></listitem> <listitem><para>util-linux-&util-linux-version;-umount_fix-1.patch</para></listitem> <listitem><para>vim-&vim-version;-security_fix-2.patch</para></listitem> @@ -40,6 +42,10 @@ </itemizedlist> </listitem> +<listitem><para>October 14th, 2005 [ken]: Added a patch to allow binutils +to be built from a host running gcc-4, updateid gcc instructions for the rtld +patch, updated space/time for perl and zlib.</para></listitem> + <listitem><para>October 14th, 2005 [matt]: Added a patch to fix a security vulnerability in util-linux.</para></listitem> Modified: branches/6.1.1/BOOK/chapter03/patches.xml =================================================================== --- branches/6.1.1/BOOK/chapter03/patches.xml 2005-10-14 23:16:01 UTC (rev 7016) +++ branches/6.1.1/BOOK/chapter03/patches.xml 2005-10-14 23:44:39 UTC (rev 7017) @@ -30,6 +30,13 @@ </varlistentry> <varlistentry> +<term>Binutils Build From Host Running Gcc4 Patch - 2 KB:</term> +<listitem> +<para><ulink url="&patches-root;&binutils-gcc4-patch;"/></para> +</listitem> +</varlistentry> + +<varlistentry> <term>Bzip2 Documentation Patch - 1 KB:</term> <listitem> <para><ulink url="&patches-root;&bzip2-docs-patch;"/></para> @@ -93,6 +100,13 @@ </varlistentry> <varlistentry> +<term>Glibc Rtld Search Dirs Patch - 1 KB:</term> +<listitem> +<para><ulink url="&patches-root;&glibc-rtld-patch;"/></para> +</listitem> +</varlistentry> + +<varlistentry> <term>Glibc Fix Testsuite Patch - 1 KB:</term> <listitem> <para><ulink url="&patches-root;&glibc-testfix-patch;"/></para> Modified: branches/6.1.1/BOOK/chapter05/binutils-pass1.xml =================================================================== --- branches/6.1.1/BOOK/chapter05/binutils-pass1.xml 2005-10-14 23:16:01 UTC (rev 7016) +++ branches/6.1.1/BOOK/chapter05/binutils-pass1.xml 2005-10-14 23:44:39 UTC (rev 7017) @@ -17,7 +17,7 @@ <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> -<seglistitem><seg>1.0 SBU</seg><seg>170 MB</seg></seglistitem> +<seglistitem><seg>1.0 SBU</seg><seg>179 MB</seg></seglistitem> </segmentedlist> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/binutils.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> @@ -39,6 +39,13 @@ as <envar>CFLAGS</envar> and <envar>CXXFLAGS</envar>, unset them when building Binutils.</para> +<para>If you are building from a host running Gcc-4 or later, it is necessary +to patch the first build of this version of Binutils so that it can be +compiled by the host system.</para> + +<screen><userinput>patch -Np1 -i ../binutils-&binutils-version;-gcc4-1.patch +</userinput></screen> + <para>The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build directory:</para> Modified: branches/6.1.1/BOOK/chapter05/perl.xml =================================================================== --- branches/6.1.1/BOOK/chapter05/perl.xml 2005-10-14 23:16:01 UTC (rev 7016) +++ branches/6.1.1/BOOK/chapter05/perl.xml 2005-10-14 23:44:39 UTC (rev 7017) @@ -17,7 +17,7 @@ <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.8 SBU</seg><seg>79.8 MB</seg></seglistitem> +<seglistitem><seg>0.8 SBU</seg><seg>81.6 MB</seg></seglistitem> </segmentedlist> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/perl.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> Modified: branches/6.1.1/BOOK/chapter06/glibc.xml =================================================================== --- branches/6.1.1/BOOK/chapter06/glibc.xml 2005-10-14 23:16:01 UTC (rev 7016) +++ branches/6.1.1/BOOK/chapter06/glibc.xml 2005-10-14 23:44:39 UTC (rev 7017) @@ -51,6 +51,11 @@ <screen><userinput>tar -xjvf /sources/glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen> +<para>In certain rare circumstances, Glibc can segfault when no standard search +directories exist. The following patch prevents this:</para> + +<screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-rtld_search_dirs-1.patch</userinput></screen> + <para>Glibc has two tests which fail when the running kernel is 2.6.11.x The problem has been determined to be with the tests themselves, not with the libc nor the kernel. This patch fixes the problem:</para> Modified: branches/6.1.1/BOOK/chapter06/perl.xml =================================================================== --- branches/6.1.1/BOOK/chapter06/perl.xml 2005-10-14 23:16:01 UTC (rev 7016) +++ branches/6.1.1/BOOK/chapter06/perl.xml 2005-10-14 23:44:39 UTC (rev 7017) @@ -15,7 +15,7 @@ <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> -<seglistitem><seg>2.9 SBU</seg><seg>137 MB</seg></seglistitem> +<seglistitem><seg>4.1 SBU</seg><seg>140 MB</seg></seglistitem> </segmentedlist> <segmentedlist> Modified: branches/6.1.1/BOOK/chapter06/zlib.xml =================================================================== --- branches/6.1.1/BOOK/chapter06/zlib.xml 2005-10-14 23:16:01 UTC (rev 7016) +++ branches/6.1.1/BOOK/chapter06/zlib.xml 2005-10-14 23:44:39 UTC (rev 7017) @@ -16,7 +16,7 @@ <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.1 SBU</seg><seg>2.7 MB</seg></seglistitem> +<seglistitem><seg>0.1 SBU</seg><seg>3.1 MB</seg></seglistitem> </segmentedlist> <segmentedlist> Modified: branches/6.1.1/BOOK/patches.ent =================================================================== --- branches/6.1.1/BOOK/patches.ent 2005-10-14 23:16:01 UTC (rev 7016) +++ branches/6.1.1/BOOK/patches.ent 2005-10-14 23:44:39 UTC (rev 7017) @@ -4,6 +4,7 @@ <!ENTITY bash-fixes-patch "bash-&bash-version;-fixes-3.patch"> <!ENTITY bash-avoid_WCONTINUED-patch "bash-&bash-version;-avoid_WCONTINUED-1.patch"> +<!ENTITY binutils-gcc4-patch "binutils-&binutils-version;-gcc4-1.patch"> <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch"> <!ENTITY bzip2-bzgrep-patch "bzip2-&bzip2-version;-bzgrep_security-1.patch"> @@ -18,6 +19,7 @@ <!ENTITY gcc-no_fixincludes-patch "gcc-&gcc-version;-no_fixincludes-1.patch"> <!ENTITY gcc-specs-patch "gcc-&gcc-version;-specs-2.patch"> +<!ENTITY glibc-rtld-patch "glibc-&glibc-version;-rtld_search_dirs-1.patch"> <!ENTITY glibc-testfix-patch "glibc-&glibc-version;-fix_test-1.patch"> <!ENTITY gzip-security_fix-patch "gzip-&gzip-version;-security_fixes-1.patch"> -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
