From: Rainer Orth Date: Fri, 27 Oct 2017 11:59:37 +0000 (+0000) Subject: Update install.texi for Solaris 12 rename X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57e7db041f0eb98fae437ab2519eeac06dbb5999;p=gcc.git Update install.texi for Solaris 12 rename * doc/install.texi (Specific, i?86-*-solaris2.10): Simplify gas 2.26 caveat. Update gas and gld versions. (Specific, *-*-solaris2*): Update binutils version. Remove caveat reference. From-SVN: r254143 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 159cae7f354..fb8ef611502 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-10-27 Rainer Orth + + * doc/install.texi (Specific, i?86-*-solaris2.10): Simplify gas + 2.26 caveat. Update gas and gld versions. + (Specific, *-*-solaris2*): Update binutils version. Remove caveat + reference. + 2017-10-27 Prathamesh Kulkarni * cgraph.h (set_malloc_flag): Declare. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 82a63607b2d..34fef377634 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3806,12 +3806,10 @@ It is recommended that you configure GCC to use the GNU assembler. The versions included in Solaris 10, from GNU binutils 2.15 (in @file{/usr/sfw/bin/gas}), and Solaris 11, from GNU binutils 2.19 or newer (also available as @file{/usr/bin/gas} and -@file{/usr/gnu/bin/as}), work fine. Please note that the current -version, from GNU binutils 2.26, only works on Solaris 12 when using the -Solaris linker. On Solaris 10 and 11, you either have to wait for GNU -binutils 2.26.1 or newer, or stay with GNU binutils 2.25.1. Recent -versions of the Solaris assembler in @file{/usr/ccs/bin/as} work almost -as well, though. +@file{/usr/gnu/bin/as}), work fine. The current version, from GNU +binutils 2.29, is known to work, but the version from GNU binutils 2.26 +must be avoided. Recent versions of the Solaris assembler in +@file{/usr/ccs/bin/as} work almost as well, though. @c FIXME: as patch requirements? For linking, the Solaris linker, is preferred. If you want to use the GNU @@ -3819,7 +3817,7 @@ linker instead, note that due to a packaging bug the version in Solaris 10, from GNU binutils 2.15 (in @file{/usr/sfw/bin/gld}), cannot be used, while the version in Solaris 11, from GNU binutils 2.19 or newer (also in @file{/usr/gnu/bin/ld} and @file{/usr/bin/gld}), works, as does the -latest version, from GNU binutils 2.26. +latest version, from GNU binutils 2.29. To use GNU @command{as}, configure with the options @option{--with-gnu-as --with-as=@//usr/@/sfw/@/bin/@/gas}. It may be necessary @@ -4456,9 +4454,8 @@ versions included in Solaris 10, from GNU binutils 2.15 (in @file{/usr/sfw/bin/gas}), and Solaris 11, from GNU binutils 2.19 or newer (also in @file{/usr/bin/gas} and @file{/usr/gnu/bin/as}), are known to work. -Current versions of GNU binutils (2.26) -are known to work as well, with the caveat mentioned in -@uref{#ix86-x-solaris210,,i?86-*-solaris2.10} . Note that your mileage may vary +The current version, from GNU binutils 2.29, +is known to work as well. Note that your mileage may vary if you use a combination of the GNU tools and the Solaris tools: while the combination GNU @command{as} + Sun @command{ld} should reasonably work, the reverse combination Sun @command{as} + GNU @command{ld} may fail to @@ -4466,7 +4463,7 @@ build or cause memory corruption at runtime in some cases for C++ programs. @c FIXME: still? GNU @command{ld} usually works as well, although the version included in Solaris 10 cannot be used due to several bugs. Again, the current -version (2.26) is known to work, but generally lacks platform specific +version (2.29) is known to work, but generally lacks platform specific features, so better stay with Solaris @command{ld}. To use the LTO linker plugin (@option{-fuse-linker-plugin}) with GNU @command{ld}, GNU binutils @emph{must} be configured with @option{--enable-largefile}.