* Target deprecation patch for 4.6
@ 2011-02-07 2:03 Joseph S. Myers
2011-02-07 10:14 ` Thomas Schwinge
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Joseph S. Myers @ 2011-02-07 2:03 UTC (permalink / raw)
To: gcc-patches
This patch implements deprecation for 4.6 of the targets I proposed at
<http://gcc.gnu.org/ml/gcc/2011-01/msg00391.html>, plus the Alpha and
Power GNU/Hurd targets indicated at
<http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00358.html> as not being
currently usable. If approved I will prepare the corresponding
release notes changes.
Bootstrapped with no regressions on x86_64-unknown-linux-gnu. OK to
commit?
2011-02-06 Joseph Myers <joseph@codesourcery.com>
* config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*,
i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe,
m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*,
m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*,
sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 169867)
+++ gcc/config.gcc (working copy)
@@ -225,16 +225,39 @@ xm_file=
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
+# Avoid cases below matching.
+ alpha*-*-linux* \
+ | arm*-wince-pe* \
+ | arm*-*-netbsdelf* \
+ | i[34567]86-*-netbsdelf* \
+ | powerpc*-*-linux* \
+ | vax-*-netbsdelf*) ;;
+ arc-* \
+ | alpha*-*-gnu* \
+ | arm*-*-netbsd* \
+ | arm-*-pe* \
+ | i[34567]86-*-interix3* \
+ | i[34567]86-*-netbsd* \
+ | i[34567]86-*-pe \
+ | m68hc11-*-* \
+ | m6811-*-* \
+ | m68hc12-*-* \
+ | m6812-*-* \
+ | m68k-*-uclinuxoldabi* \
+ | mcore-*-pe* \
+ | powerpc*-*-gnu* \
+ | sh*-*-symbianelf* \
+ | vax-*-netbsd* \
+ )
+ 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
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Target deprecation patch for 4.6
2011-02-07 2:03 Target deprecation patch for 4.6 Joseph S. Myers
@ 2011-02-07 10:14 ` Thomas Schwinge
2011-02-07 11:43 ` Samuel Thibault
2011-02-07 11:04 ` Richard Guenther
2011-02-08 17:32 ` Joseph S. Myers
2 siblings, 1 reply; 5+ messages in thread
From: Thomas Schwinge @ 2011-02-07 10:14 UTC (permalink / raw)
To: Joseph S. Myers, gcc-patches; +Cc: bug-hurd
[-- Attachment #1: Type: text/plain, Size: 3227 bytes --]
Hallo!
bug-hurd audience: This is about deprecating any GNU/Hurd target
configuration apart from x86 -- none of the former have been maintained
for a lot of years, and there aren't any plans either. If there should
arise interest in reviving / completing these toolchain configurations,
re-adding GCC target configuration support is the smallest detail.
On Mon, 7 Feb 2011 02:03:38 +0000 (UTC), "Joseph S. Myers" <joseph@codesourcery.com> wrote:
> This patch implements deprecation for 4.6 of the targets I proposed at
> <http://gcc.gnu.org/ml/gcc/2011-01/msg00391.html>, plus the Alpha and
> Power GNU/Hurd targets indicated at
> <http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00358.html> as not being
> currently usable. If approved I will prepare the corresponding
> release notes changes.
>
> Bootstrapped with no regressions on x86_64-unknown-linux-gnu. OK to
> commit?
>
> 2011-02-06 Joseph Myers <joseph@codesourcery.com>
>
> * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*,
> i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe,
> m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*,
> m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*,
> sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete.
OK for alpha*-*-gnu*, powerpc*-*-gnu* (that is, powerpc64-*-gnu*,
powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*).
> Index: gcc/config.gcc
> ===================================================================
> --- gcc/config.gcc (revision 169867)
> +++ gcc/config.gcc (working copy)
> @@ -225,16 +225,39 @@ xm_file=
> 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
> +# Avoid cases below matching.
> + alpha*-*-linux* \
> + | arm*-wince-pe* \
> + | arm*-*-netbsdelf* \
> + | i[34567]86-*-netbsdelf* \
> + | powerpc*-*-linux* \
> + | vax-*-netbsdelf*) ;;
> + arc-* \
> + | alpha*-*-gnu* \
> + | arm*-*-netbsd* \
> + | arm-*-pe* \
> + | i[34567]86-*-interix3* \
> + | i[34567]86-*-netbsd* \
> + | i[34567]86-*-pe \
> + | m68hc11-*-* \
> + | m6811-*-* \
> + | m68hc12-*-* \
> + | m6812-*-* \
> + | m68k-*-uclinuxoldabi* \
> + | mcore-*-pe* \
> + | powerpc*-*-gnu* \
> + | sh*-*-symbianelf* \
> + | vax-*-netbsd* \
> + )
> + 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
Grüße,
Thomas
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Target deprecation patch for 4.6
2011-02-07 2:03 Target deprecation patch for 4.6 Joseph S. Myers
2011-02-07 10:14 ` Thomas Schwinge
@ 2011-02-07 11:04 ` Richard Guenther
2011-02-08 17:32 ` Joseph S. Myers
2 siblings, 0 replies; 5+ messages in thread
From: Richard Guenther @ 2011-02-07 11:04 UTC (permalink / raw)
To: Joseph S. Myers; +Cc: gcc-patches
On Mon, Feb 7, 2011 at 3:03 AM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> This patch implements deprecation for 4.6 of the targets I proposed at
> <http://gcc.gnu.org/ml/gcc/2011-01/msg00391.html>, plus the Alpha and
> Power GNU/Hurd targets indicated at
> <http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00358.html> as not being
> currently usable. If approved I will prepare the corresponding
> release notes changes.
>
> Bootstrapped with no regressions on x86_64-unknown-linux-gnu. OK to
> commit?
Ok from a RM perspective, I'm not 100% sure I can approve such patch,
it remotely sounds like a SC job. OTOH nobody objected to the proposals.
Thanks,
Richard.
> 2011-02-06 Joseph Myers <joseph@codesourcery.com>
>
> * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*,
> i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe,
> m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*,
> m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*,
> sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete.
>
> Index: gcc/config.gcc
> ===================================================================
> --- gcc/config.gcc (revision 169867)
> +++ gcc/config.gcc (working copy)
> @@ -225,16 +225,39 @@ xm_file=
> 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
> +# Avoid cases below matching.
> + alpha*-*-linux* \
> + | arm*-wince-pe* \
> + | arm*-*-netbsdelf* \
> + | i[34567]86-*-netbsdelf* \
> + | powerpc*-*-linux* \
> + | vax-*-netbsdelf*) ;;
> + arc-* \
> + | alpha*-*-gnu* \
> + | arm*-*-netbsd* \
> + | arm-*-pe* \
> + | i[34567]86-*-interix3* \
> + | i[34567]86-*-netbsd* \
> + | i[34567]86-*-pe \
> + | m68hc11-*-* \
> + | m6811-*-* \
> + | m68hc12-*-* \
> + | m6812-*-* \
> + | m68k-*-uclinuxoldabi* \
> + | mcore-*-pe* \
> + | powerpc*-*-gnu* \
> + | sh*-*-symbianelf* \
> + | vax-*-netbsd* \
> + )
> + 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
>
> --
> Joseph S. Myers
> joseph@codesourcery.com
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Target deprecation patch for 4.6
2011-02-07 10:14 ` Thomas Schwinge
@ 2011-02-07 11:43 ` Samuel Thibault
0 siblings, 0 replies; 5+ messages in thread
From: Samuel Thibault @ 2011-02-07 11:43 UTC (permalink / raw)
To: Thomas Schwinge; +Cc: Joseph S. Myers, gcc-patches, bug-hurd
Thomas Schwinge, le Mon 07 Feb 2011 11:13:44 +0100, a écrit :
> bug-hurd audience: This is about deprecating any GNU/Hurd target
> configuration apart from x86 -- none of the former have been maintained
> for a lot of years, and there aren't any plans either.
Agreed.
Samuel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Target deprecation patch for 4.6
2011-02-07 2:03 Target deprecation patch for 4.6 Joseph S. Myers
2011-02-07 10:14 ` Thomas Schwinge
2011-02-07 11:04 ` Richard Guenther
@ 2011-02-08 17:32 ` Joseph S. Myers
2 siblings, 0 replies; 5+ messages in thread
From: Joseph S. Myers @ 2011-02-08 17:32 UTC (permalink / raw)
To: gcc-patches
I have committed the deprecation patch, and the following patch to add
release notes for the deprecations.
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.110
diff -u -r1.110 changes.html
--- changes.html 8 Feb 2011 00:12:46 -0000 1.110
+++ changes.html 8 Feb 2011 17:31:03 -0000
@@ -46,6 +46,51 @@
<code>libquadmath</code> library is automatically built on
such targets when building the Fortran compiler.</li>
+ <li><p>Support for a number of older systems and recently
+ unmaintained or untested target ports of GCC has been declared
+ obsolete in GCC 4.6. Unless there is activity to revive them, the
+ next release of GCC will have their sources permanently
+ <strong>removed</strong>.</p>
+
+ <p id="obsoleted">All GCC ports for the following processor
+ architectures have been declared obsolete:</p>
+
+ <ul>
+ <li>Argonaut ARC (<code>arc-*</code>)</li>
+ <li>Motorola 68HC11 and 68HC12
+ (<code>m68hc11-*-*</code>, <code>m6811-*-*</code>,
+ <code>m68hc12-*-*</code>, <code>m6812-*-*</code>)</li>
+ </ul>
+
+ <p>The following ports for individual systems on
+ particular architectures have been obsoleted:</p>
+
+ <ul>
+ <li>Interix (<code>i[34567]86-*-interix3*</code>)</li>
+ <li>Generic ARM PE (<code>arm-*-pe*</code> other
+ than <code>arm*-wince-pe*</code>)</li>
+ <li>MCore PE (<code>mcore-*-pe*</code>)</li>
+ <li>SH SymbianOS (<code>sh*-*-symbianelf*</code>)</li>
+ <li>GNU Hurd on Alpha and PowerPC
+ (<code>alpha*-*-gnu*</code>, <code>powerpc*-*-gnu*</code>)</li>
+ <li>M68K uClinux old ABI
+ (<code>m68k-*-uclinuxoldabi*</code>)</li>
+ <li>a.out NetBSD
+ (<code>arm*-*-netbsd*</code>, <code>i[34567]86-*-netbsd*</code>,
+ <code>vax-*-netbsd*</code>, but
+ not <code>*-*-netbsdelf*</code>)</li>
+ </ul>
+
+ <p>The <code>i[34567]86-*-pe</code> alias for Cygwin targets has
+ also been obsoleted; users should configure
+ for <code>i[34567]86-*-cygwin*</code> instead.</p>
+
+ </li>
+
+ <li>Support has been removed for all the
+ <a href="../gcc-4.5/changes.html#obsoleted">configurations obsoleted
+ in GCC 4.5</a>.</li>
+
</ul>
<h2>General Optimizer Improvements</h2>
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-08 17:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-07 2:03 Target deprecation patch for 4.6 Joseph S. Myers
2011-02-07 10:14 ` Thomas Schwinge
2011-02-07 11:43 ` Samuel Thibault
2011-02-07 11:04 ` Richard Guenther
2011-02-08 17:32 ` Joseph S. Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).