Message ID | Pine.LNX.4.64.1102070202430.24004@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
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
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 >
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
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