From 8a76b485c274195fd4408e09ae855600720e1ed6 Mon Sep 17 00:00:00 2001 From: "ro@138bc75d-0d04-0410-961f-82ee72b054a4" Date: Mon, 12 Apr 2010 19:01:36 +0000 Subject: [PATCH] gcc: * 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. gcc/testsuite: * 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. libstdc++-v3: * configure.host (os_include_dir): Removed solaris2.7 support. * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Likewise. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158236 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 15 +++++++ gcc/config.gcc | 1 - gcc/configure.ac | 2 +- gcc/doc/install.texi | 71 +------------------------------ gcc/testsuite/ChangeLog | 6 +++ gcc/testsuite/g++.dg/warn/miss-format-1.C | 2 +- libstdc++-v3/ChangeLog | 6 +++ 7 files changed, 30 insertions(+), 73 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2dc0ff983b..38706471474 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,20 @@ 2010-04-12 Rainer Orth + * 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 + * 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 d8c1ccbb034..d46e48af5a8 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -211,7 +211,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 diff --git a/gcc/configure.ac b/gcc/configure.ac index 858cc3d57e4..a6a148b5f72 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2659,7 +2659,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 diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 0f26fab2c04..354e95e3c31 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -4083,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 @@ -4233,73 +4231,6 @@ For example on a Solaris 9 system: @html
@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: - -@smallexample -ld: fatal: relocation error: R_SPARC_32: file libgcc/sparcv9/_muldi3.o: - symbol : offset 0xffffffff7ec133e7 is non-aligned. -@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 : offset 0xfccd33ad is non-aligned -@end smallexample - -@noindent -This bug has been fixed in more recent revisions of the assembler. - -@html -
-@end html @heading @anchor{sparc-sun-solaris210}sparc-sun-solaris2.10 There is a bug in older versions of the Sun assembler which breaks diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7cb69b76b64..e25b828131e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-04-12 Rainer Orth + + * 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 * 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 ca649e97fc8..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.8 *-*-vxworks* alpha*-dec-osf5* } 25 } */ +/* { dg-error "not declared" "" { target *-*-solaris2.8 *-*-vxworks* } 25 } */ #include #include 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 + + * configure.host (os_include_dir): Removed solaris2.7 support. + * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Likewise. + * configure: Regenerate. + 2010-04-06 Matthias Klose * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Show test result. -- 2.11.0