This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch/proposal: obsolete configurations in 3.1
- From: Zack Weinberg <zack at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 12 Apr 2002 12:45:55 -0700
- Subject: patch/proposal: obsolete configurations in 3.1
There has been some discussion of obsoleting very old configurations.
It seemed to me that there was agreement that that was a good idea in
principle, but no one had time to research an appropriate list.
However, GDB has done some of the work for us -- they have been
removing obsolete configurations since 4.18.
For GCC 3.1 I propose to mark the following configuration triples
obsolete:
a29k-*-*
arm-*-riscix*
c*-convex-*
i[3456]86*-*-sunos*
i[3456]86*-freebsd1.*
i[3456]86*-freebsd2.[01]*
m68[k0]*-altos-*
m68[k0]*-isi-*
m68[k0]*-sony-*
ns32k-encore-bsd*
ns32k-sequent-bsd*
ns32k-tek6[12]00-bsd*
ns32k-merlin-*
ns32k-pc532-*
These are the triples which GDB 5.2 will have obsoleted or removed,
and which have support in GCC. (All but a29k-*-* are already gone
from GDB.)
I further propose to delete all support for these configurations from
mainline immediately. If people turn up expressing interest in them,
we can pull them back out of CVS; I consider it extremely unlikely
that this will happen.
Enclosed are the patch for config.gcc in 3.1 and for changes.html.
Final note: the only remaining ns32k configurations are netbsd and
openbsd. Are these live ports of those operating systems?
zw
* config.gcc: Import list of obsolete targets from GDB.
===================================================================
Index: config.gcc
--- config.gcc 12 Apr 2002 00:56:52 -0000 1.167.2.11
+++ config.gcc 12 Apr 2002 19:43:22 -0000
@@ -207,6 +207,32 @@ gas="$gas_flag"
gnu_ld="$gnu_ld_flag"
enable_threads=$enable_threads_flag
+# Obsolete configurations.
+case $machine in
+ a29k-*-* \
+ | arm-*-riscix* \
+ | c*-convex-* \
+ | i[3456]86*-*-sunos* \
+ | i[3456]86*-freebsd1.* \
+ | i[3456]86*-freebsd2.[01]* \
+ | m68[k0]*-altos-* \
+ | m68[k0]*-isi-* \
+ | m68[k0]*-sony-* \
+ | ns32k-encore-bsd* \
+ | ns32k-sequent-bsd* \
+ | ns32k-tek6[12]00-bsd* \
+ | ns32k-merlin-* \
+ | ns32k-pc532-* \
+ )
+ if test "x$enable_obsolete" = x; then
+ echo "*** Configuration $machine 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
+
# Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
# updated in each machine entry. Also set default extra_headers for some
# machines.
===================================================================
Index: gcc-3.1/changes.html
--- gcc-3.1/changes.html 9 Apr 2002 00:43:50 -0000 1.9
+++ gcc-3.1/changes.html 12 Apr 2002 19:43:59 -0000
@@ -69,6 +69,33 @@
information.</li>
</ul>
</li>
+
+ <li>Obsolete Targets
+ <ul>
+ <li>AMD 29k family: <code>a29k-*-*</code></li>
+ <li>ARM RISCix: <code>arm-*-riscix*</code></li>
+ <li>Convex family: <code>c*-convex-*</code></li>
+ <li>SunOS 4 on i386: <code>i[3456]86*-*-sunos*</code></li>
+ <li>i386 FreeBSD before 2.2:
+ <code>i[3456]86*-freebsd1.*</code> and
+ <code>i[3456]86*-freebsd2.[01]*</code></li>
+ <li>Altos 3068: <code>m68[k0]*-altos-*</code></li>
+ <li>ISI Optimum V: <code>m68[k0]*-isi-*</code></li>
+ <li>Sony NEWS (m68k): <code>m68[k0]*-sony-*</code></li>
+ <li>Most NS32k family:
+ <ul>
+ <li><code>ns32k-encore-bsd*</code></li>
+ <li><code>ns32k-sequent-bsd*</code></li>
+ <li><code>ns32k-tek6[12]00-bsd*</code></li>
+ <li><code>ns32k-merlin-*</code></li>
+ <li><code>ns32k-pc532-*</code></li>
+ </ul>
+ </li>
+ </ul>
+ <p>Support for these systems has been declared obsolete in GCC 3.1.
+ Unless there is activity to revive them, the next release of GCC
+ will have their sources permanently REMOVED.</p>
+ </li>
<li>Documentation improvements</li>