Message ID | yddtxm53g1y.fsf@lokon.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes: > I think the time has come to obsolete Solaris 9 support: > > * According to > http://www.oracle.com/us/support/library/lsp-coverage-sun-software-309122.pdf, > p.17, Premier Support has already ended in October 2011 and even > Extended Support will end in October 2014, which means it's impossible > to get patches without a special contract. By the time GCC 4.10 is > expected to be released (Spring 2015), this period is well past. This > timescale is in line with what happened for Solaris 7 (obsoleted in > GCC 4.5) and Solaris 8 (obsoleted in GCC 4.7). > > * Solaris 9 seems to be far less popular than Solaris 8 was: last time I > checked there was only a single Solaris 9 testresults posting apart > from my own. > > * By the time Solaris 12 appears, I'll need to reduce the testing matrix > to keep the amount of work manageable. > > Therefore the following patch does just that. Tested by > configuring/building without and with --enable-obsolete and checking > gccinstall.info on i386-pc-solaris2.9. The config-list.mk part is > untested, but should be straightforward. > > Unless there are strong objections, I plan to install this patch in a > day or two. Given that there were no comments, I installed the patch. Rainer
# HG changeset patch # Parent 8dd34f8a37b7d71d46c5299a2d6dd8189d0867f9 Obsolete Solaris 9 support diff --git a/contrib/config-list.mk b/contrib/config-list.mk --- a/contrib/config-list.mk +++ b/contrib/config-list.mk @@ -67,7 +67,8 @@ LIST = aarch64-elf aarch64-linux-gnu \ x86_64-elfOPT-with-fpmath=sse x86_64-freebsd6 x86_64-netbsd \ x86_64-knetbsd-gnu x86_64-w64-mingw32 \ x86_64-mingw32OPT-enable-sjlj-exceptions=yes xstormy16-elf xtensa-elf \ - xtensa-linux sparc-sun-solaris2.9 i686-solaris2.9 \ + xtensa-linux \ + sparc-sun-solaris2.9OPT-enable-obsolete i686-solaris2.9OPT-enable-obsolete \ i686-interix3OPT-enable-obsolete score-elfOPT-enable-obsolete LOGFILES = $(patsubst %,log/%-make.out,$(LIST)) diff --git a/gcc/config.gcc b/gcc/config.gcc --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -246,6 +246,7 @@ md_file= case ${target} in picochip-* \ | score-* \ + | *-*-solaris2.9* \ ) if test "x$enable_obsolete" != xyes; then echo "*** Configuration ${target} is obsolete." >&2 diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -4068,8 +4068,10 @@ supported as cross-compilation target on @c alone is too unspecific and must be avoided. @heading @anchor{x-x-solaris2}*-*-solaris2* -Support for Solaris 8 has removed in GCC 4.8. Support for Solaris 7 has -been removed in GCC 4.6. +Support for Solaris 9 has been obsoleted in GCC 4.9, but can still be +enabled by configuring with @option{--enable-obsolete}. Support will be +removed in GCC 4.10. Support for Solaris 8 has removed in GCC 4.8. +Support for Solaris 7 has been removed in GCC 4.6. Sun does not ship a C compiler with Solaris 2 before Solaris 10, though you can download the Sun Studio compilers for free. In Solaris 10 and