From 6c89f58d241ec03e6dba2a726e2341f35f113492 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 15 Aug 2016 09:16:49 +0000 Subject: [PATCH] install.texi (*-*-solaris2*): Fix version number and document requirement on GNU make for building libjava... * doc/install.texi (*-*-solaris2*): Fix version number and document requirement on GNU make for building libjava with the Solaris linker. From-SVN: r239466 --- gcc/ChangeLog | 5 +++++ gcc/doc/install.texi | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5600b02ab758..46611c0920e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-08-15 Eric Botcazou + + * doc/install.texi (*-*-solaris2*): Fix version number and document + requirement on GNU make for building libjava with the Solaris linker. + 2016-08-12 Bernd Edlinger Backport from mainline diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index d8d393985c34..76c3c4f1162d 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -4446,7 +4446,7 @@ supported as cross-compilation target only. @c alone is too unspecific and must be avoided. @anchor{x-x-solaris2} @heading *-*-solaris2* -Support for Solaris 9 has been removed in GCC 4.10. Support for Solaris +Support for Solaris 9 has been removed in GCC 5. Support for Solaris 8 has been removed in GCC 4.8. Support for Solaris 7 has been removed in GCC 4.6. @@ -4510,12 +4510,15 @@ features, so better stay with Sun @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}. -To enable symbol versioning in @samp{libstdc++} with Sun @command{ld}, +To enable symbol versioning in @samp{libstdc++} with the Sun linker, you need to have any version of GNU @command{c++filt}, which is part of GNU binutils. @samp{libstdc++} symbol versioning will be disabled if no appropriate version is found. Sun @command{c++filt} from the Sun Studio compilers does @emph{not} work. +GNU @command{make} version 3.82 or later is required to build libjava +with the Sun linker. + Sun bug 4296832 turns up when compiling X11 headers with GCC 2.95 or newer: @command{g++} will complain that types are missing. These headers assume that omitting the type means @code{int}; this assumption worked for -- 2.47.2