X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fdoc%2Finstall.texi;h=b91716906fc9b09da3788e11ef3854239d38cc11;hp=f20c87c0d9471340bf6ab09fc52aafc5daf13266;hb=4d93673dd1c64f9dedcd35809946371cce2dd104;hpb=52943ff383ddc70fec1e1e4193adbea0259e34ab 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 -
-@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 : 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 : offset 0xfccd33ad is non-aligned -@end smallexample - -@noindent -This bug has been fixed in more recent revisions of the assembler. - @html
@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