Patchwork [build,doc] Obsolete Solaris 8 support

login
register
mail settings
Submitter Rainer Orth
Date March 21, 2011, 11:25 a.m.
Message ID <ydd62rchg01.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/87744/
State New
Headers show

Comments

Rainer Orth - March 21, 2011, 11:25 a.m.
Continuing to support Solaris 8 is starting to cause lots of trouble:

* Regular support has ended in March 2009, and even extended support
  with special arrangements will end in March 2012.

* Access to Solaris 8 patches is restricted to customers with such
  arrangements, which I'm not.

* While I can test Solaris 8/SPARC in a Solaris 8 Branded Zone running
  on Solaris 10, this testing is limited since only the non-default
  alternate thread library is supported there.  I could test on bare
  metal if need be, but this will likely go away.

* Solaris 8/x86 testing is even worse: running it inside VirtualBox is
  dog slow and unreliable and Xen doesn't work at all.  I've finally
  been able to get myself a machine old enough to still run it or hack
  newer machines into running it, but I doubt all this trouble is worth
  it.

Therefore I'll soon commit this patch to obsolete Solaris 8 support in
4.7.  It will be removed in 4.8 then.

Tested by configuring with --with-target i386-pc-solaris2.8 and noting
the build fail in the gcc subdir, while it continues to work with
--enable-obsolete.

	Rainer


2011-03-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config.gcc: Obsolete *-*-solaris2.8*.
	* doc/install.texi (Specific, *-*-solaris2*): Document it.
Joseph S. Myers - March 21, 2011, 2:25 p.m.
On Mon, 21 Mar 2011, Rainer Orth wrote:

> Therefore I'll soon commit this patch to obsolete Solaris 8 support in
> 4.7.  It will be removed in 4.8 then.

When obsoleting targets or other features, please update the release notes 
(gcc-4.7/changes.html).

Patch

diff -r 08a2bc3273f5 gcc/config.gcc
--- a/gcc/config.gcc	Sat Mar 19 09:24:43 2011 +0100
+++ b/gcc/config.gcc	Sat Mar 19 09:31:53 2011 +0100
@@ -250,6 +250,7 @@ 
  | powerpc*-*-gnu*			\
  | score-*				\
  | sh*-*-symbianelf*			\
+ | *-*-solaris2.8*			\
  | vax-*-netbsd*			\
  )
     if test "x$enable_obsolete" != xyes; then
diff -r 08a2bc3273f5 gcc/doc/install.texi
--- a/gcc/doc/install.texi	Sat Mar 19 09:24:43 2011 +0100
+++ b/gcc/doc/install.texi	Sat Mar 19 09:31:53 2011 +0100
@@ -46,7 +46,7 @@ 
 
 @c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
 @c 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 
-@c 2010 Free Software Foundation, Inc.
+@c 2010, 2011 Free Software Foundation, Inc.
 @c *** Converted to texinfo by Dean Wakerley, dean@wakerley.com
 
 @c IMPORTANT: whenever you modify this file, run `install.texi2html' to
@@ -4136,7 +4136,9 @@ 
 @c alone is too unspecific and must be avoided.
 @heading @anchor{x-x-solaris2}*-*-solaris2*
 
-Support for Solaris 7 has been removed in GCC 4.6.
+Support for Solaris 8 has been obsoleted in GCC 4.7, but can still be
+enabled by configuring with @option{--enable-obsolete}.  Support will be
+removed in GCC 4.8.  Support for Solaris 7 has been removed in GCC 4.6.
 
 Sun does not ship a C compiler with Solaris 2, though you can download
 the Sun Studio compilers for free.  Alternatively,