This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Obsolete IRIX < 6.5, Solaris 7, and Tru64 UNIX < V5.1
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 03 Feb 2010 10:08:11 +0100
- Subject: PATCH: Obsolete IRIX < 6.5, Solaris 7, and Tru64 UNIX < V5.1
Since there have been no objections to my obsoletion notice for older
IRIX, Solaris, and Tru64 UNIX releases
http://gcc.gnu.org/ml/gcc/2010-01/msg00510.html
within a week, I've just installed the following patch to config.gcc.
Tested by configuring on mips-sgi-irix5.3, alpha-dec-osf4.0f, and
i386-pc-solaris2.10 --target i386-pc-solaris2.7 and checking that the
build aborts with the expected error.
I'm not yet sure what to do about the obsoletion of the O32 ABI support
for IRIX 6.5, though: I could add a warning when compiling with
-mabi=32, but that would mean that either all O32 testcases fail or I'd
have to add code to DejaGnu to ignore it.
Therefore, I think the obsoletion note and announcement, together with
another note in install.texi, will have to suffice.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2010-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config.gcc: Reenable check for obsolete targets.
Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
mips-sgi-irix6.[0-4]*.
Index: config.gcc
===================================================================
--- config.gcc (revision 156461)
+++ config.gcc (working copy)
@@ -205,16 +205,21 @@
md_file=
# Obsolete configurations.
-#case ${target} in
-# )
-# if test "x$enable_obsolete" != xyes; then
-# echo "*** Configuration ${target} is obsolete." >&2
-# echo "*** Specify --enable-obsolete to build it anyway." >&2
-# echo "*** Support will be REMOVED in the next major release of GCC," >&2
-# echo "*** unless a maintainer comes forward." >&2
-# exit 1
-# fi;;
-#esac
+case ${target} in
+ alpha*-dec-osf4* \
+ | alpha*-dec-osf5.0* \
+ | mips-sgi-irix5* \
+ | mips-sgi-irix6.[0-4]5* \
+ | *-*-solaris2.7* \
+ )
+ if test "x$enable_obsolete" != xyes; then
+ echo "*** Configuration ${target} is obsolete." >&2
+ echo "*** Specify --enable-obsolete to build it anyway." >&2
+ echo "*** Support will be REMOVED in the next major release of GCC," >&2
+ echo "*** unless a maintainer comes forward." >&2
+ exit 1
+ fi;;
+esac
# Unsupported targets list. Do not put an entry in this list unless
# it would otherwise be caught by a more permissive pattern. The list