Преглед изворни кода

updated to automake-1.6.3, gcc-3.2, groff-1.18, makedev-1.7, perl-5.8.0, util-linux-2.11u | added gcc-3.2.patch glibc-2.2.5-2.patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans пре 23 година
родитељ
комит
6f9d1a9f8e

+ 5 - 1
appendixa/gcc-down.xml

@@ -2,5 +2,9 @@
 <title>Official Download Location</title>
 
 <para><literallayout>GCC (&gcc-version;): 
-<ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/></literallayout></para>
+<ulink url="ftp://ftp.gnu.org/pub/gnu/gcc/"/>
+
+GCC Patch (&gcc-patch-version;):
+<ulink url="&ftp;/"/>
+<ulink url="&http;/"/></literallayout></para>
 </sect2>

+ 1 - 5
appendixa/perl-down.xml

@@ -2,9 +2,5 @@
 <title>Official Download Location</title>
 
 <para><literallayout>Perl (&perl-version;):
-<ulink url="http://www.perl.com/"/>
-
-Perl Patch (&perl-version;):
-<ulink url="&ftp;/"/>
-<ulink url="&http;/"/></literallayout></para>
+<ulink url="http://www.perl.com/"/></literallayout></para>
 </sect2>

+ 15 - 6
chapter01/changelog.xml

@@ -8,25 +8,27 @@
 
 <listitem><para>Updated to:
 <itemizedlist>
-<listitem><para>automake-1.6.2</para></listitem>
+<listitem><para>automake-1.6.3</para></listitem>
 <listitem><para>bin86-0.16.3</para></listitem>
 <listitem><para>binutils-2.13</para></listitem>
 <listitem><para>bison-1.35</para></listitem>
 <listitem><para>diffutils-2.8.1</para></listitem>
 <listitem><para>file-3.39</para></listitem>
 <listitem><para>gawk-3.1.1</para></listitem>
-<listitem><para>gcc-3.1</para></listitem>
+<listitem><para>gcc-3.2</para></listitem>
 <listitem><para>gettext-0.11.5</para></listitem>
+<listitem><para>groff-1.18</para></listitem>
 <listitem><para>linux-2.4.19</para></listitem>
-<listitem><para>MAKEDEV-1.5</para></listitem>
+<listitem><para>MAKEDEV-1.7</para></listitem>
 <listitem><para>man-1.5k</para></listitem>
 <listitem><para>man-pages-1.52</para></listitem>
 <listitem><para>modutils-2.4.19</para></listitem>
 <listitem><para>ncurses-5.2-2.patch</para></listitem>
+<listitem><para>perl-5.8.0</para></listitem>
 <listitem><para>psmisc-21</para></listitem>
 <listitem><para>texinfo-4.2</para></listitem>
 <listitem><para>textutils-2.1</para></listitem>
-<listitem><para>util-linux-2.11t</para></listitem>
+<listitem><para>util-linux-2.11u</para></listitem>
 </itemizedlist>
 </para></listitem>
 
@@ -35,9 +37,9 @@
 <listitem><para>ed-0.2.patch</para></listitem>
 <listitem><para>fileutils-4.1.patch</para></listitem>
 <listitem><para>gawk-3.1.1.patch</para></listitem>
-<listitem><para>glibc-2.2.5.patch</para></listitem>
+<listitem><para>gcc-3.2.patch</para></listitem>
+<listitem><para>glibc-2.2.5-2.patch</para></listitem>
 <listitem><para>ncurses-5.2.patch</para></listitem>
-<listitem><para>perl-5.6.1.patch</para></listitem>
 <listitem><para>vim-6.1.patch</para></listitem>
 <listitem><para>zlib-1.1.4</para></listitem>
 </itemizedlist>
@@ -50,6 +52,13 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>August 26th, 2002 [gerard]: Added a new Glibc patch and
+introducted a GCC patch.</para></listitem>
+
+<listitem><para>August 26th, 2002 [gerard]: Updated to automake-1.6.3,
+gcc-3.2, groff-1.18, makedev-1.7, perl-5.8.0,
+util-linux-2.11u</para></listitem>
+
 <listitem><para>August 22nd, 2002 [timothy]: Appendix: Added
 missing URLs to patches.</para></listitem>
 

+ 3 - 0
chapter04/gcc-patch.xml

@@ -0,0 +1,3 @@
+GCC Patch (&gcc-patch-version;) - &gcc-patch-size;:
+<ulink url="&ftp;/gcc-&gcc-patch-version;.patch.bz2"/>
+<ulink url="&http;/gcc-&gcc-patch-version;.patch.bz2"/>

+ 3 - 3
chapter04/glibc-patch.xml

@@ -1,3 +1,3 @@
-Glibc Patch (&glibc-version;) - &glibc-patch-size;:
-<ulink url="&ftp;/glibc-&glibc-version;.patch.bz2"/>
-<ulink url="&http;/glibc-&glibc-version;.patch.bz2"/>
+Glibc Patch (&glibc-patch-version;) - &glibc-patch-size;:
+<ulink url="&ftp;/glibc-&glibc-patch-version;.patch.bz2"/>
+<ulink url="&http;/glibc-&glibc-patch-version;.patch.bz2"/>

+ 1 - 1
chapter04/packages.xml

@@ -12,6 +12,7 @@
 &c3-fileutils;
 &c3-fileutils-patch;
 &c3-gcc;
+&c3-gcc-patch;
 &c3-kernel;
 &c3-grep;
 &c3-gzip;
@@ -45,7 +46,6 @@
 &c3-groff;
 &c3-man;
 &c3-perl;
-&c3-perl-patch;
 &c3-m4;
 &c3-autoconf;
 &c3-automake;

+ 0 - 3
chapter04/perl-patch.xml

@@ -1,3 +0,0 @@
-Perl Patch (&perl-version;) - &perl-patch-size;:
-<ulink url="&ftp;/perl-&perl-version;.patch.bz2"/>
-<ulink url="&http;/perl-&perl-version;.patch.bz2"/>

+ 11 - 6
chapter05/gcc-exp.xml

@@ -1,9 +1,10 @@
 <sect2>
 <title>Command explanations</title>
 
-<para><userinput>make BOOT_LDFLAGS=-static:</userinput>
-This is the equivalent to make LDFLAGS=-static as we use with other
-packages to compile them statically.</para>
+<para><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch:</userinput>
+This patch fixes a few bug fixes. See
+<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/> for
+more details.</para>
 
 <para><userinput>--prefix=/static:</userinput> This is NOT a typo.  GCC hard
 codes some paths while compiling and so we need to pass /static as the
@@ -18,9 +19,13 @@ the --enable-languages parameter may be omitted.</para>
 <para><userinput>--enable-threads=posix:</userinput> This enables C++ 
 exception handling for multithreaded code.</para>
 
-<para><userinput>echo "#define HAVE_GAS_HIDDEN 1":</userinput>
-This defines the .hidden assembler directive so that we don't build
-a faulty Glibc later on.</para>
+<para><userinput>--enable-__cxa-atexit:</userinput> This option will result
+in C++ shared libraries and C++ programs that are interoperable with other
+linux distributions.</para>
+
+<para><userinput>make BOOT_LDFLAGS=-static:</userinput>
+This is the equivalent to make LDFLAGS=-static as we use with other
+packages to compile them statically.</para>
 
 <para><userinput>ln -s gcc $LFS/static/bin/cc:</userinput> This
 creates the $LFS/static/bin/gcc symlink which some packages need.</para>

+ 4 - 3
chapter05/gcc-inst.xml

@@ -10,11 +10,12 @@ been warned.</para>
 
 <para>Install GCC by running the following commands:</para>
 
-<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
+mkdir ../gcc-build &amp;&amp;
 cd ../gcc-build &amp;&amp;
 ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
-&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix &amp;&amp;
-echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &amp;&amp;
+&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared --enable-threads=posix \
+&nbsp;&nbsp;&nbsp;--enable-__cxa-atexit &amp;&amp;
 make BOOT_LDFLAGS=-static bootstrap &amp;&amp;
 make prefix=$LFS/static install &amp;&amp;
 ln -s gcc $LFS/static/bin/cc</userinput></screen></para>

+ 3 - 2
chapter06/gcc-inst.xml

@@ -18,11 +18,12 @@ are available.</para>
 <para>Note: the build of other compilers is not tested by the people 
 who actively work on LFS.</para>
 
-<para><screen><userinput>mkdir ../gcc-build &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
+mkdir ../gcc-build &amp;&amp;
 cd ../gcc-build &amp;&amp;
 ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
 &nbsp;&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix \
-&nbsp;&nbsp;&nbsp;&nbsp;--with-slibdir=/lib &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;--with-slibdir=/lib --enable-_cxa-atexit &amp;&amp;
 make bootstrap &amp;&amp;
 make install &amp;&amp;
 ln -s ../usr/bin/cpp /lib &amp;&amp;

+ 4 - 0
chapter06/glibc-exp.xml

@@ -13,6 +13,10 @@ username to userid resolving isn't working yet, so a <userinput>chown root
 file</userinput> will fail, however it'll work fine if you use straight
 IDs.</para>
 
+<para>The patch also contains a few bug fixes and security fixes. More
+details can be found on
+<ulink url="http://www.zipworld.com.au/~gschafer/lfs-tweaks.html"/></para>
+
 <para><userinput>touch /etc/ld.so.conf:</userinput> One of the final steps
 of the Glibc installation is running ldconfig to update the dynamic loader
 cache. If this file doesn't exist, the installation will abort with an error

+ 4 - 0
chapter06/groff-exp.xml

@@ -1,6 +1,10 @@
 <sect2>
 <title>Command explanations</title>
 
+<para><userinput>make PROCESSEDEXAMPLEFILES="":</userinput> Groff has a few
+extra dependencies that we don't install with LFS. This option disable the
+need for those tools.</para>
+
 <para><userinput>ln -s ...</userinput>: These symlinks are needed for some
 <userinput>xman</userinput> and other groff/man document programs to work
 properly.</para>

+ 2 - 2
chapter06/groff-inst.xml

@@ -4,8 +4,8 @@
 <para>Install Groff by running the following commands:</para>
 
 <para><screen><userinput>./configure --prefix=/usr &amp;&amp;
-make &amp;&amp;
-make install &amp;&amp;
+make PROCESSEDEXAMPLEFILES="" &amp;&amp;
+make PROCESSEDEXAMPLEFILES="" install &amp;&amp;
 ln -s soelim /usr/bin/zsoelim &amp;&amp;
 ln -s eqn /usr/bin/geqn &amp;&amp;
 ln -s tbl /usr/bin/gtbl</userinput></screen></para>

+ 4 - 2
chapter06/makedev-inst.xml

@@ -6,9 +6,11 @@ won't create a directory for you to cd into.</para>
 
 <para>Create the device files by running the following commands:</para>
 
-<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
+<para><screen><userinput>ln -s /static/bin/bash /bin/bash &amp;&amp;
+cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
 cd /dev &amp;&amp;
-chmod 754 MAKEDEV</userinput></screen></para>
+chmod 754 MAKEDEV &amp;&amp;
+rm /bin/bash</userinput></screen></para>
 
 <para>Now, depending on whether you are going to use devpts or not, you
 can run one of two commands:</para>

+ 0 - 8
chapter06/perl-exp.xml

@@ -1,8 +0,0 @@
-<sect2>
-<title>Command explanations</title>
-
-<para><userinput>patch -Np1 -i ../perl-&perl-patch-version;.patch:</userinput> This
-patch fixes a compile problem with GCC-3.1.</para>
-
-</sect2>
-

+ 1 - 2
chapter06/perl-inst.xml

@@ -7,8 +7,7 @@ commands.</para>
 
 <para>Install Perl by running the following commands:</para>
 
-<para><screen><userinput>patch -Np1 -i ../perl-&perl-patch-version;.patch &amp;&amp;
-./configure.gnu --prefix=/usr &amp;&amp;
+<para><screen><userinput>./configure.gnu --prefix=/usr &amp;&amp;
 make &amp;&amp;
 make install</userinput></screen></para>
 

+ 0 - 1
chapter06/perl.xml

@@ -6,7 +6,6 @@
 Estimated required disk space:  &perl-compsize;</screen>
 
 &c6-perl-inst;
-&c6-perl-exp;
 &aa-perl-desc;
 &aa-perl-dep;
 

+ 2 - 2
entities/automake.ent

@@ -8,10 +8,10 @@
 <!ENTITY aa-automake-dep SYSTEM "../appendixa/automake-dep.xml">
 <!ENTITY aa-automake-down SYSTEM "../appendixa/automake-down.xml">
 
-<!ENTITY automake-version "1.6.2">
+<!ENTITY automake-version "1.6.3">
 <!ENTITY automake-depversion "1.5">
 <!ENTITY automake-contversion "1.6.2">
-<!ENTITY automake-size "464 KB">
+<!ENTITY automake-size "465 KB">
 <!ENTITY automake-package "automake-&automake-version;.tar.bz2">
 <!ENTITY automake-dir "automake-&automake-version;">
 

+ 4 - 2
entities/gcc.ent

@@ -13,10 +13,12 @@
 <!ENTITY aa-gcc-dep SYSTEM "../appendixa/gcc-dep.xml">
 <!ENTITY aa-gcc-down SYSTEM "../appendixa/gcc-down.xml">
 
-<!ENTITY gcc-version "3.1">
+<!ENTITY gcc-version "3.2">
 <!ENTITY gcc-depversion "2.95.3">
 <!ENTITY gcc-contversion "3.1">
-<!ENTITY gcc-size "19,966 KB">
+<!ENTITY gcc-size "20,043 KB">
+<!ENTITY gcc-patch-version "3.2">
+<!ENTITY gcc-patch-size "4 KB">
 <!ENTITY gcc-package "gcc-&gcc-version;.tar.bz2">
 <!ENTITY gcc-dir "gcc-&gcc-version;">
 

+ 2 - 2
entities/glibc.ent

@@ -17,8 +17,8 @@
 <!ENTITY glibc-contversion "2.2.5">
 <!ENTITY glibc-size "12,114 KB">
 <!ENTITY glibc-threads-size "164 KB">
-<!ENTITY glibc-patch-size "1 KB">
-<!ENTITY glibc-patch-version "2.2.5">
+<!ENTITY glibc-patch-size "8 KB">
+<!ENTITY glibc-patch-version "2.2.5-2">
 <!ENTITY glibc-dir "glibc-&glibc-version;">
 <!ENTITY glibc-threads-dir "linuxthreads, linuxthreads_db">
 <!ENTITY glibc-package "glibc-&glibc-version;.tar.bz2">

+ 2 - 2
entities/groff.ent

@@ -9,10 +9,10 @@
 <!ENTITY aa-groff-dep SYSTEM "../appendixa/groff-dep.xml">
 <!ENTITY aa-groff-down SYSTEM "../appendixa/groff-down.xml">
 
-<!ENTITY groff-version "1.17.2">
+<!ENTITY groff-version "1.18">
 <!ENTITY groff-depversion "1.17.2">
 <!ENTITY groff-contversion "1.17.2">
-<!ENTITY groff-size "1,214 KB">
+<!ENTITY groff-size "1,739 KB">
 <!ENTITY groff-dir "groff-&groff-version;">
 <!ENTITY groff-package "groff-&groff-version;.tar.bz2">
 

+ 1 - 1
entities/makedev.ent

@@ -9,7 +9,7 @@
 <!ENTITY aa-makedev-dep SYSTEM "../appendixa/makedev-dep.xml">
 <!ENTITY aa-makedev-down SYSTEM "../appendixa/makedev-down.xml">
 
-<!ENTITY makedev-version "1.5">
+<!ENTITY makedev-version "1.7">
 <!ENTITY makedev-depversion "1.5">
 <!ENTITY makedev-contversion "1.5">
 <!ENTITY makedev-size "8 KB">

+ 2 - 5
entities/perl.ent

@@ -3,19 +3,16 @@
 
 <!ENTITY c6-perl SYSTEM "../chapter06/perl.xml">
 <!ENTITY c6-perl-inst SYSTEM "../chapter06/perl-inst.xml">
-<!ENTITY c6-perl-exp SYSTEM "../chapter06/perl-exp.xml">
 
 <!ENTITY aa-perl SYSTEM "../appendixa/perl.xml">
 <!ENTITY aa-perl-desc SYSTEM "../appendixa/perl-desc.xml">
 <!ENTITY aa-perl-dep SYSTEM "../appendixa/perl-dep.xml">
 <!ENTITY aa-perl-down SYSTEM "../appendixa/perl-down.xml">
 
-<!ENTITY perl-version "5.6.1">
+<!ENTITY perl-version "5.8.0">
 <!ENTITY perl-depversion "5.6.1">
 <!ENTITY perl-contversion "5.6.1">
-<!ENTITY perl-size "4,750 KB">
-<!ENTITY perl-patch-size "4 KB">
-<!ENTITY perl-patch-version "5.6.1">
+<!ENTITY perl-size "8,416 KB">
 <!ENTITY perl-dir "perl-&perl-version;">
 <!ENTITY perl-package "perl-&perl-version;.tar.bz2">
 

+ 2 - 2
entities/utillinux.ent

@@ -12,10 +12,10 @@
 <!ENTITY aa-utillinux-dep SYSTEM "../appendixa/utillinux-dep.xml">
 <!ENTITY aa-utillinux-down SYSTEM "../appendixa/utillinux-down.xml">
 
-<!ENTITY util-linux-version "2.11t">
+<!ENTITY util-linux-version "2.11u">
 <!ENTITY util-linux-depversion "2.11n">
 <!ENTITY util-linux-contversion "2.11t">
-<!ENTITY util-linux-size "1064 KB">
+<!ENTITY util-linux-size "1,073 KB">
 <!ENTITY util-linux-dir "util-linux-&util-linux-version;">
 <!ENTITY util-linux-package "util-linux-&util-linux-version;.tar.bz2">
 

+ 3 - 3
index.xml

@@ -15,9 +15,9 @@
 <!ENTITY hints-index "http://hints.linuxfromscratch.org/hints.shtml">
 <!ENTITY blfs-root "http://beyond.linuxfromscratch.org/">
 
-<!ENTITY all-version "cvs-20020818-1028">
-<!ENTITY all-size-kb "101,270 KB">
-<!ENTITY all-size-mb "99 MB">
+<!ENTITY all-version "cvs-20020826-1614">
+<!ENTITY all-size-kb "105,030 KB">
+<!ENTITY all-size-mb "103.57 MB">
 
 <!ENTITY % parts SYSTEM "entities/parts.ent">
 <!ENTITY % bookinfo SYSTEM "entities/bookinfo.ent">