Update to GCC-5.2.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16296 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2015-07-29 13:39:07 +00:00
parent b9488cf8bb
commit 87532434b1
6 changed files with 72 additions and 52 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "28"> <!-- Always 2 digits -->
<!ENTITY day "29"> <!-- Always 2 digits -->
<!ENTITY month "07"> <!-- Always 2 digits -->
<!ENTITY year "2015">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "July 28th &year;">
<!ENTITY releasedate "July 29th &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development] -->

View File

@ -4,17 +4,17 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gcc-download-http "https://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-download-http "http://ftpmirror.gnu.org/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-md5sum "d5525b1127d07d215960e6051c5da35e">
<!ENTITY gcc-md5sum "a51bcfeb3da7dd4c623e27207ed43467">
<!ENTITY gcc-size "91 MB">
<!ENTITY gcc-ada-buildsize "6.4 GB (0.7 GB added if GNAT install dir is not removed)">
<!ENTITY gcc-ada-time "125 SBU (including 73 SBU for tests)">
<!ENTITY gcc-ada-buildsize "6.0 GB (0.2 GB added if GNAT install dir is not removed)">
<!ENTITY gcc-ada-time "119 SBU (including 68 SBU for tests)">
<!ENTITY gnat-download-http "https://libre.adacore.com/download/">
<!ENTITY gnat-64-download-http "http://mirrors.cdn.adacore.com/art/7427735035ecc98968ebfcee17494161b0de28ef">
<!ENTITY gnat-64-md5sum "c0863ed75109b5aa737becfd5a6ec038">
<!ENTITY gnat-64-size "225 MB">
<!ENTITY gnat-64-download-http "http://mirrors.cdn.adacore.com/art/9ed9164f59a40cc295307a85bebd6c38d5da84ba">
<!ENTITY gnat-64-md5sum "1ab69af79f981b1321f6e989403f5e7d">
<!ENTITY gnat-64-size "308 MB">
<!ENTITY gnat-32-download-http "http://mirrors.cdn.adacore.com/art/3fc05fc61cbc7ab4f291ed19ea4cb269fffd17bd">
<!ENTITY gnat-32-md5sum "69423c7ad8d9759377d4fff71a78992d">
<!ENTITY gnat-32-size "222 MB">
@ -117,7 +117,8 @@
You will need to install <application>GNAT</application>
temporarily to satisfy the circular dependency. You may point your
browser to the <ulink url="&gnat-download-http;">AdaCore download
page</ulink>, choose your platform and 2014, then select the file
page</ulink>, choose your platform and 2015 (64 bit machines) or
2014 (32 bit machines), then select the file
to download. Alternatively, direct links to the 64 bit and 32 bit
linux versions are given below.
</para>
@ -154,12 +155,14 @@
GNAT 32 bit size: &gnat-32-size;
</para>
</listitem>
<!--
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/gcc-&gcc-version;-upstream_fixes-1.patch"/>
</para>
</listitem>
-->
</itemizedlist>
<bridgehead renderas="sect3">GCC Ada Dependencies</bridgehead>
@ -228,12 +231,6 @@ find /opt/gnat -name as -exec mv -v {} {}.old \;</userinput></screen>
<sect2 role="installation">
<title>Installation of GCC Ada</title>
<para>
As in LFS, fix some problems identified upstream:
</para>
<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch</userinput></screen>
<para>
Install <application>GCC Ada</application> by running the
following commands:
@ -505,7 +502,7 @@ unset PATH_HOLD</userinput></screen>
<listitem>
<para>
is the <application>Ada</application> compiler, which performs
compilaton, binding and linking.
compilation, binding and linking.
</para>
<indexterm zone="gcc-ada gnatmake">
<primary sortas="b-gnatmake">gnatmake</primary>

View File

@ -4,12 +4,12 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gcc-java-download-http "https://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-java-download-http "http://ftpmirror.gnu.org/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-java-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-java-md5sum "d5525b1127d07d215960e6051c5da35e">
<!ENTITY gcc-java-md5sum "a51bcfeb3da7dd4c623e27207ed43467">
<!ENTITY gcc-java-size "91 MB">
<!ENTITY gcc-java-buildsize "4.1 GB">
<!ENTITY gcc-java-time "78 SBU (including 65 SBU for tests)">
<!ENTITY gcc-java-buildsize "3.3 GB">
<!ENTITY gcc-java-time "80 SBU (including 67 SBU for tests)">
<!ENTITY ecj-download-ftp "ftp://sourceware.org/pub/java/ecj-latest.jar">
@ -103,12 +103,12 @@
<ulink url="&antlr-download-http;"/>
</para>
</listitem>
<listitem>
<!-- <listitem>
<para>
Required patch:
<ulink url="&patch-root;/gcc-&gcc-version;-upstream_fixes-1.patch"/>
</para>
</listitem>
</listitem>-->
</itemizedlist>
<bridgehead renderas="sect3">GCC Java Dependencies</bridgehead>
@ -149,12 +149,6 @@
the <command>./configure</command> options below.
</para>
<para>
As in LFS, fix some problems identified upstream:
</para>
<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-upstream_fixes-1.patch</userinput></screen>
<para>
Install <application>GCC Java</application> by running the
following commands:

View File

@ -4,12 +4,12 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gcc-download-http "https://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-download-http "http://ftpmirror.gnu.org/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-download-ftp "ftp://ftp.gnu.org/gnu/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
<!ENTITY gcc-md5sum "d5525b1127d07d215960e6051c5da35e">
<!ENTITY gcc-md5sum "a51bcfeb3da7dd4c623e27207ed43467">
<!ENTITY gcc-size "91 MB">
<!ENTITY gcc-buildsize "6.7 GB">
<!ENTITY gcc-time "130 SBU (including 80 SBU for tests)">
<!ENTITY gcc-buildsize "5.9 GB">
<!ENTITY gcc-time "132 SBU (including 82 SBU for tests)">
]>
<sect1 id="gcc" xreflabel="GCC-&gcc-version;">
@ -63,9 +63,10 @@
C++ library <filename>libstdc++.so</filename>. This does not prevent
using programs compiled with the previous version of <application>GCC
</application>, since both old and new symbols are available in the
library. But compiling, with the new version, programs which use libraries
compiled with the old version is likely to give errors. So, if you are
upgrading from any previous version prior to 5.1.0, you have two solutions:
library. But compiling, with the new version, programs which use
libraries compiled with the old version is likely to give errors. So,
if you are upgrading from any previous version prior to 5.1.0, you have
two solutions:
recompile all the libraries with the new version, or use the <option>
--with-default-libstdcxx-abi</option> switch to configure.
</para>
@ -105,7 +106,7 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
@ -114,7 +115,7 @@
</para>
</listitem>
</itemizedlist>
-->
<bridgehead renderas="sect3">GCC Dependencies</bridgehead>
@ -163,13 +164,6 @@
<command>./configure</command> options below.
</para>
<para>
As in LFS, fix some problems identified upstream:
</para>
<screen><userinput>patch -Np1 -i ../gcc-5.1.0-upstream_fixes-1.patch</userinput></screen>
<para>
Install <application>GCC</application> by running the following commands:
</para>
@ -320,15 +314,16 @@ ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so /us
<seglistitem>
<seg>
gccgo and gfortran, hard-linked to architecture specific names
gccgo, go, gofmt and gfortran, hard-linked to architecture specific
names
</seg>
<seg>
libgfortran.{so,a},
libgo.{so,a}, libgobegin.a, libnetgo.a, libobjc.{so,a}, and numerous
other run-time libraries and executables in <filename class="directory">
/usr/lib/gcc</filename>, <filename class="directory">
/usr/libexec/gcc</filename>, and <filename class="directory">
/usr/lib/go</filename>
libgo.{so,a}, libgobegin.a, libgolibbegin.a, libnetgo.a,
libobjc.{so,a}, and numerous other run-time libraries and executables
in <filename class="directory">/usr/lib/gcc</filename>,
<filename class="directory">/usr/libexec/gcc</filename>, and
<filename class="directory">/usr/lib/go</filename>
</seg>
<seg>
/usr/lib/gcc/&lt;arch-triplet&gt;/&gcc-version;/include/objc and
@ -354,6 +349,30 @@ ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so /us
</listitem>
</varlistentry>
<varlistentry id="go">
<term><command>go</command></term>
<listitem>
<para>
is a tool for managing <application>Go</application> source code.
</para>
<indexterm zone="gcc go">
<primary sortas="b-go">go</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="gofmt">
<term><command>gofmt</command></term>
<listitem>
<para>
is a tool for formatting <application>Go</application> source code.
</para>
<indexterm zone="gcc gofmt">
<primary sortas="b-gofmt">gofmt</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="gfortran">
<term><command>gfortran</command></term>
<listitem>

View File

@ -44,6 +44,16 @@
-->
<listitem>
<para>July 29th, 2015</para>
<itemizedlist>
<listitem>
<para>[pierre] - Update to GCC-5.2.0. Fixes
<ulink url="&blfs-ticket-root;6728">#6728</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>July 28th, 2015</para>
<itemizedlist>

View File

@ -256,7 +256,7 @@
<!ENTITY doxygen-version "1.8.10">
<!ENTITY elfutils-version "0.163">
<!ENTITY expect-version "5.45">
<!ENTITY gcc-version "5.1.0">
<!ENTITY gcc-version "5.2.0">
<!ENTITY gc-version "7.4.2">
<!ENTITY gdb-version "7.9.1">
<!ENTITY git-version "2.5.0">