From patchwork Mon Mar 21 11:25:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 87744 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 0E8F9B6F10 for ; Mon, 21 Mar 2011 22:26:13 +1100 (EST) Received: (qmail 9139 invoked by alias); 21 Mar 2011 11:26:06 -0000 Received: (qmail 9105 invoked by uid 22791); 21 Mar 2011 11:26:03 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Mar 2011 11:25:55 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 30C19A06; Mon, 21 Mar 2011 12:25:53 +0100 (CET) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OH8d9CcJNmJq; Mon, 21 Mar 2011 12:25:50 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id BC4ACA05; Mon, 21 Mar 2011 12:25:50 +0100 (CET) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p2LBPoEf015473; Mon, 21 Mar 2011 12:25:50 +0100 (MET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Eric Botcazou Subject: [build, doc] Obsolete Solaris 8 support Date: Mon, 21 Mar 2011 12:25:50 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 * config.gcc: Obsolete *-*-solaris2.8*. * doc/install.texi (Specific, *-*-solaris2*): Document it. 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,