From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29233 invoked by alias); 8 Mar 2003 08:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 29211 invoked by uid 71); 8 Mar 2003 08:56:00 -0000 Date: Sat, 08 Mar 2003 08:56:00 -0000 Message-ID: <20030308085600.29210.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Paul Eggert Subject: Re: bootstrap/8686: [sparc-solaris]3.2.1 multilib bootstrap fails: 32-bit Solaris 9 + Sun patch 112963-01 Reply-To: Paul Eggert X-SW-Source: 2003-03/txt/msg00381.txt.bz2 List-Id: The following reply was made to PR bootstrap/8686; it has been noted by GNATS. From: Paul Eggert To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org Cc: Subject: Re: bootstrap/8686: [sparc-solaris]3.2.1 multilib bootstrap fails: 32-bit Solaris 9 + Sun patch 112963-01 Date: Sat, 8 Mar 2003 00:48:59 -0800 (PST) http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8686 Here's a proposed patch to install.texi to document the problem. Note that I've also removed the obsolete assertion that one must configure with --disable-multilib on non-buggy systems. 2003-03-08 Paul Eggert * gcc/doc/install.texi (Specific): --disable-multilib now should work on Solaris 7 and later, unless Sun bug 4747851 is in effect; in that case, describe a workaround (for gcc) and a fix (for Solaris). --- gcc/doc/install.texi-old 2003-03-03 15:20:58.000000000 -0800 +++ gcc/doc/install.texi 2003-03-08 00:48:02.483002000 -0800 @@ -3108,10 +3108,12 @@ code that, unlike full 64-bit code, can still run on non-UltraSPARC machines. -When configuring on a Solaris 7 or later system that is running a kernel -that supports only 32-bit binaries, one must configure with -@option{--disable-multilib}, since we will not be able to build the -64-bit target libraries. +When configuring on a Solaris 9 SPARC system that is running a kernel +that supports only 32-bit binaries and that has Sun patch 112963-01 +installed, GCC will run afoul of Sun linker bug 4747851, as described +in GCC Problem Report 8686. To work around the problem, configure +with @option{--disable-multilib}; to fix the problem, install Sun +patch 112963-02 or later. @html