This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[build, doc] Obsolete Solaris 10 support
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 16 Oct 2018 10:50:37 +0200
- Subject: [build, doc] Obsolete Solaris 10 support
This patch implements the Solaris 10 obsoletion announced yesterday:
https://gcc.gnu.org/ml/gcc/2018-10/msg00139.html
Bootstrapped on i386-pc-solaris2.10 without and with --enable-obsolete
and inspected gccinstall.info. The contrib-list.mk part is untested,
but completely mechanical.
Installed on mainline.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2018-10-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
contrib:
* config-list.mk (LIST): Switch to i686-solaris2.11,
sparc64-sun-solaris2.11.
gcc:
* config.gcc: Obsolete *-*-solaris2.10*.
* doc/install.texi (Specific, *-*-solaris2*): Document it.
# HG changeset patch
# Parent d932b52fba66cf1b8732b7dd27865820b1654f9b
Obsolete Solaris 10 support
diff --git a/contrib/config-list.mk b/contrib/config-list.mk
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -51,7 +51,7 @@ LIST = aarch64-elf aarch64-linux-gnu aar
i686-netbsdelf9 \
i686-openbsd i686-elf i686-kopensolaris-gnu i686-symbolics-gnu \
i686-pc-msdosdjgpp i686-lynxos i686-nto-qnx \
- i686-rtems i686-solaris2.10 i686-wrs-vxworks \
+ i686-rtems i686-solaris2.11 i686-wrs-vxworks \
i686-wrs-vxworksae \
i686-cygwinOPT-enable-threads=yes i686-mingw32crt ia64-elf \
ia64-freebsd6 ia64-linux ia64-hpux ia64-hp-vms iq2000-elf lm32-elf \
@@ -87,7 +87,7 @@ LIST = aarch64-elf aarch64-linux-gnu aar
sh-rtems sh-wrs-vxworks sparc-elf \
sparc-leon-elf sparc-rtems sparc-linux-gnu \
sparc-leon3-linux-gnuOPT-enable-target=all sparc-netbsdelf \
- sparc64-sun-solaris2.10OPT-with-gnu-ldOPT-with-gnu-asOPT-enable-threads=posix \
+ sparc64-sun-solaris2.11OPT-with-gnu-ldOPT-with-gnu-asOPT-enable-threads=posix \
sparc-wrs-vxworks sparc64-elf sparc64-rtems sparc64-linux sparc64-freebsd6 \
sparc64-netbsd sparc64-openbsd spu-elf \
tilegx-linux-gnu tilegxbe-linux-gnu tilepro-linux-gnu \
diff --git a/gcc/config.gcc b/gcc/config.gcc
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -236,7 +236,8 @@ md_file=
# Obsolete configurations.
case ${target} in
- powerpc*-*-*spe* \
+ *-*-solaris2.10* \
+ | powerpc*-*-*spe* \
| tile*-*-* \
)
if test "x$enable_obsolete" != xyes; then
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -4408,9 +4408,11 @@ supported as cross-compilation target on
@c alone is too unspecific and must be avoided.
@anchor{x-x-solaris2}
@heading *-*-solaris2*
-Support for Solaris 9 has been removed in GCC 5. Support for Solaris
-8 has been removed in GCC 4.8. Support for Solaris 7 has been removed
-in GCC 4.6.
+Support for Solaris 10 has been obsoleted in GCC 9, but can still be
+enabled by configuring with @option{--enable-obsolete}. Support will be
+removed in GCC 10. Support for Solaris 9 has been removed in GCC 5.
+Support for Solaris 8 has been 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