summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog15
-rw-r--r--gcc/config.gcc5
-rw-r--r--gcc/configure.ac4
-rw-r--r--gcc/doc/install.texi84
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/g++.dg/warn/miss-format-1.C4
-rw-r--r--gcc/testsuite/gcc.dg/c99-stdint-6.c2
-rw-r--r--libstdc++-v3/ChangeLog6
-rwxr-xr-xlibstdc++-v3/configure2
-rw-r--r--libstdc++-v3/configure.host2
-rw-r--r--libstdc++-v3/crossconfig.m42
11 files changed, 43 insertions, 89 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cfdaa9e8b92..77a632d2b12 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,20 @@
2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+ * config.gcc: Removed *-*-solaris2.7* from list of obsolete
+ configurations.
+ Add to unsupported targets list.
+ * configure.ac (gcc_cv_as_tls): Removed i[34567]86-*-solaris2.[567]*,
+ sparc*-sun-solaris2.[567]* from target lists.
+ * configure: Regenerate.
+ * doc/install.texi (Specific, *-*-solaris2*): Document Solaris 7
+ removal.
+ Remove Solaris 7 patch references.
+ (Specific, sparc-sun-solaris2.7): Removed.
+ (sparc-sun-solaris2*): Update Solaris 7 example.
+ (sparc64-*-solaris2*): Likewise.
+
+2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
* config.build (alpha*-dec-osf4*): Remove.
* config.gcc: Remove alpha*-dec-osf4*, alpha-dec-osf5.0* from list
of obsolete configurations.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index a5788653dfc..f1b32fa2f2d 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -209,7 +209,6 @@ md_file=
case ${target} in
mips-sgi-irix5* \
| mips-sgi-irix6.[0-4]* \
- | *-*-solaris2.7* \
)
if test "x$enable_obsolete" != xyes; then
echo "*** Configuration ${target} is obsolete." >&2
@@ -236,8 +235,8 @@ case ${target} in
| *-*-linux*oldld* \
| *-*-rtemsaout* \
| *-*-rtemscoff* \
- | *-*-solaris2.[0-6] \
- | *-*-solaris2.[0-6].* \
+ | *-*-solaris2.[0-7] \
+ | *-*-solaris2.[0-7].* \
| *-*-sysv* \
| vax-*-vms* \
)
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 2d7823435f4..37843387f33 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2633,7 +2633,7 @@ foo: .long 25
;;
i[34567]86-*-*)
case "$target" in
- i[34567]86-*-solaris2.[56789]*)
+ i[34567]86-*-solaris2.[89]*)
# TLS was introduced in the Solaris 9 4/04 release but
# we do not enable it by default on Solaris 9 either.
if test "x$enable_tls" = xyes ; then
@@ -2859,7 +2859,7 @@ foo: .long 25
;;
sparc*-*-*)
case "$target" in
- sparc*-sun-solaris2.[56789]*)
+ sparc*-sun-solaris2.[89]*)
# TLS was introduced in the Solaris 9 4/04 release but
# we do not enable it by default on Solaris 9 either.
if test "x$enable_tls" = xyes ; then
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index f20c87c0d94..b91716906fc 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2952,8 +2952,6 @@ information are.
@item
@uref{#sparc-sun-solaris2,,sparc-sun-solaris2*}
@item
-@uref{#sparc-sun-solaris27,,sparc-sun-solaris2.7}
-@item
@uref{#sparc-sun-solaris210,,sparc-sun-solaris2.10}
@item
@uref{#sparc-x-linux,,sparc-*-linux*}
@@ -4085,9 +4083,7 @@ supported as cross-compilation target only.
@c alone is too unspecific and must be avoided.
@heading @anchor{x-x-solaris2}*-*-solaris2*
-Support for Solaris 7 has been obsoleted in GCC 4.5, but can still be
-enabled by configuring with @option{--enable-obsolete}. Support will be
-removed in GCC 4.6.
+Support for Solaris 7 has been removed in GCC 4.6.
Sun does not ship a C compiler with Solaris 2, though you can download
the Sun Studio compilers for free from
@@ -4155,8 +4151,7 @@ C90 but is wrong for C++, and is now wrong for C99 also.
@option{-fpermissive}; it will assume that any missing type is @code{int}
(as defined by C90).
-There are patches for Solaris 7 (108376-21 or newer for SPARC,
-108377-20 for Intel), and Solaris 8 (108652-24 or newer for SPARC,
+There are patches for Solaris 8 (108652-24 or newer for SPARC,
108653-22 for Intel) that fix this bug.
Sun bug 4927647 sometimes causes random spurious testsuite failures
@@ -4227,79 +4222,12 @@ library on a Solaris 7 or later system, the canonical target triplet
must be specified as the @command{build} parameter on the configure
line. This triplet can be obtained by invoking @command{./config.guess} in
the toplevel source directory of GCC (and not that of GMP or MPFR).
-For example on a Solaris 7 system:
-
-@smallexample
- % ./configure --build=sparc-sun-solaris2.7 --prefix=xxx
-@end smallexample
-
-@html
-<hr />
-@end html
-@heading @anchor{sparc-sun-solaris27}sparc-sun-solaris2.7
-
-@emph{Note} that this configuration has been obsoleted in GCC 4.5, and will be
-removed in GCC 4.6.
-
-Sun patch 107058-01 (1999-01-13) for Solaris 7/SPARC triggers a bug in
-the dynamic linker. This problem (Sun bug 4210064) affects GCC 2.8
-and later, including all EGCS releases. Sun formerly recommended
-107058-01 for all Solaris 7 users, but around 1999-09-01 it started to
-recommend it only for people who use Sun's compilers.
-
-Here are some workarounds to this problem:
-@itemize @bullet
-@item
-Do not install Sun patch 107058-01 until after Sun releases a
-complete patch for bug 4210064. This is the simplest course to take,
-unless you must also use Sun's C compiler. Unfortunately 107058-01
-is preinstalled on some new Solaris 7-based hosts, so you may have to
-back it out.
-
-@item
-Copy the original, unpatched Solaris 7
-@command{/usr/ccs/bin/as} into
-@command{/usr/local/libexec/gcc/sparc-sun-solaris2.7/3.4/as},
-adjusting the latter name to fit your local conventions and software
-version numbers.
-
-@item
-Install Sun patch 106950-03 (1999-05-25) or later. Nobody with
-both 107058-01 and 106950-03 installed has reported the bug with GCC
-and Sun's dynamic linker. This last course of action is riskiest,
-for two reasons. First, you must install 106950 on all hosts that
-run code generated by GCC; it doesn't suffice to install it only on
-the hosts that run GCC itself. Second, Sun says that 106950-03 is
-only a partial fix for bug 4210064, but Sun doesn't know whether the
-partial fix is adequate for GCC@. Revision -08 or later should fix
-the bug. The current (as of 2004-05-23) revision is -24, and is included in
-the Solaris 7 Recommended Patch Cluster.
-@end itemize
-
-GCC 3.3 triggers a bug in version 5.0 Alpha 03/27/98 of the Sun assembler,
-which causes a bootstrap failure when linking the 64-bit shared version of
-@samp{libgcc}. A typical error message is:
+For example on a Solaris 9 system:
@smallexample
-ld: fatal: relocation error: R_SPARC_32: file libgcc/sparcv9/_muldi3.o:
- symbol <unknown>: offset 0xffffffff7ec133e7 is non-aligned.
+ % ./configure --build=sparc-sun-solaris2.9 --prefix=xxx
@end smallexample
-@noindent
-This bug has been fixed in the final 5.0 version of the assembler.
-
-A similar problem was reported for version Sun WorkShop 6 99/08/18 of the
-Sun assembler, which causes a bootstrap failure with GCC 4.0.0:
-
-@smallexample
-ld: fatal: relocation error: R_SPARC_DISP32:
- file .libs/libstdc++.lax/libsupc++convenience.a/vterminate.o:
- symbol <unknown>: offset 0xfccd33ad is non-aligned
-@end smallexample
-
-@noindent
-This bug has been fixed in more recent revisions of the assembler.
-
@html
<hr />
@end html
@@ -4334,10 +4262,10 @@ releases mishandled unaligned relocations on @code{sparc-*-*} targets.
When configuring the GNU Multiple Precision Library (GMP) or the
MPFR library, the canonical target triplet must be specified as
the @command{build} parameter on the configure line. For example
-on a Solaris 7 system:
+on a Solaris 9 system:
@smallexample
- % ./configure --build=sparc64-sun-solaris2.7 --prefix=xxx
+ % ./configure --build=sparc64-sun-solaris2.9 --prefix=xxx
@end smallexample
The following compiler flags must be specified in the configure
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 21cf5120108..f6fb943000e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * g++.dg/warn/miss-format-1.C: Removed *-*-solaris2.7 from
+ dg-error, dg-warning.
+ * gcc.dg/c99-stdint-6.c: Removed *-*-solaris2.7 from dg-options.
+
2010-04-12 Richard Guenther <rguenther@suse.de>
* gcc.dg/torture/inline-2.c: New testcase.
diff --git a/gcc/testsuite/g++.dg/warn/miss-format-1.C b/gcc/testsuite/g++.dg/warn/miss-format-1.C
index 9d99cdbfff0..20e7d062b65 100644
--- a/gcc/testsuite/g++.dg/warn/miss-format-1.C
+++ b/gcc/testsuite/g++.dg/warn/miss-format-1.C
@@ -4,7 +4,7 @@
/* { dg-options "-Wmissing-format-attribute" } */
/* { dg-options "-Wmissing-format-attribute -Wno-abi" { target arm_eabi } } */
/* VxWorks does not provide vscanf, either in kernel or RTP mode. */
-/* { dg-error "not declared" "" { target *-*-solaris2.[7-8] *-*-vxworks* } 25 } */
+/* { dg-error "not declared" "" { target *-*-solaris2.8 *-*-vxworks* } 25 } */
#include <stdio.h>
#include <stdarg.h>
@@ -23,7 +23,7 @@ bar (const char *fmt, ...)
{
va_list ap;
va_start (ap, fmt);
- vscanf (fmt, ap); /* { dg-warning "candidate" "scanf attribute warning" { xfail *-*-solaris2.[7-8] *-*-vxworks* } } */
+ vscanf (fmt, ap); /* { dg-warning "candidate" "scanf attribute warning" { xfail *-*-solaris2.8 *-*-vxworks* } } */
va_end (ap);
}
diff --git a/gcc/testsuite/gcc.dg/c99-stdint-6.c b/gcc/testsuite/gcc.dg/c99-stdint-6.c
index 3d554e9b126..2563eeb581a 100644
--- a/gcc/testsuite/gcc.dg/c99-stdint-6.c
+++ b/gcc/testsuite/gcc.dg/c99-stdint-6.c
@@ -2,7 +2,7 @@
with any system <inttypes.h> header. */
/* { dg-do compile { target inttypes_types } } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
-/* { dg-options "-std=gnu99 -pedantic-errors -DNO_FAST_TYPES" { target *-*-solaris2.[789]* } } */
+/* { dg-options "-std=gnu99 -pedantic-errors -DNO_FAST_TYPES" { target *-*-solaris2.[89]* } } */
/* { dg-options "-std=gnu99 -pedantic-errors -DNO_LEAST_TYPES -DNO_FAST_TYPES -DNO_MAX_TYPES" { target alpha*-dec-osf5* } } */
#include <inttypes.h>
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a5f2cafdc3e..63a106d392d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * configure.host (os_include_dir): Removed solaris2.7 support.
+ * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Likewise.
+ * configure: Regenerate.
+
2010-04-06 Matthias Klose <doko@ubuntu.com>
* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Show test result.
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index dc77c0d7c1f..58af0324c5a 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -57091,7 +57091,7 @@ $as_echo "$ac_ld_relro" >&6; }
;;
*-solaris*)
case "$target" in
- *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
+ *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
# If we're not using GNU ld, then there's no point in even trying these
# tests. Check for that first. We should have already tested for gld
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index 02292b016d0..8127a0d73c0 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -274,7 +274,7 @@ case "${host_os}" in
echo "Please specify the full version of Solaris, ie. solaris2.9 " 1>&2
exit 1
;;
- solaris2.[789] | solaris2.1[0-9])
+ solaris2.[89] | solaris2.1[0-9])
os_include_dir="os/solaris/solaris2.7"
;;
tpf)
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
index fdaa9d6d0dd..3a266963819 100644
--- a/libstdc++-v3/crossconfig.m4
+++ b/libstdc++-v3/crossconfig.m4
@@ -200,7 +200,7 @@ case "${host}" in
;;
*-solaris*)
case "$target" in
- *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
+ *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
GLIBCXX_CHECK_LINKER_FEATURES
AC_DEFINE(HAVE_MBSTATE_T)
AC_DEFINE(HAVE_FINITE)