This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Target deprecation patch for 4.6


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: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]