From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6986 invoked by alias); 2 May 2002 22:31:11 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 6973 invoked from network); 2 May 2002 22:31:07 -0000 Received: from unknown (HELO kiruna.synopsys.com) (204.176.20.18) by sources.redhat.com with SMTP; 2 May 2002 22:31:07 -0000 Received: from crone.synopsys.com (crone.synopsys.com [146.225.7.23]) by kiruna.synopsys.com (Postfix) with ESMTP id 13711F58D; Thu, 2 May 2002 15:31:07 -0700 (PDT) Received: from atrus.synopsys.com (localhost [127.0.0.1]) by crone.synopsys.com (8.9.3+Sun/8.9.1) with ESMTP id PAA23164; Thu, 2 May 2002 15:30:43 -0700 (PDT) From: Joe Buck Received: (from jbuck@localhost) by atrus.synopsys.com (8.9.3+Sun/8.9.1) id PAA17713; Thu, 2 May 2002 15:31:06 -0700 (PDT) Message-Id: <200205022231.PAA17713@atrus.synopsys.com> Subject: Re: Still failing to bootstrap on Solaris (CONFIG_SHELL doesn't help) To: aoliva@redhat.com (Alexandre Oliva) Date: Thu, 02 May 2002 15:31:00 -0000 Cc: Joe.Buck@synopsys.COM (Joe Buck), rth@redhat.com (Richard Henderson), glebourgeois@amadeus.net, gcc@gcc.gnu.org In-Reply-To: from "Alexandre Oliva" at May 02, 2002 02:46:21 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00198.txt.bz2 > > On May 2, 2002, Joe Buck wrote: > > > ld: fatal: file /u/jbuck/gcc-3.1-pre.sol2/lib/gcc-lib/sparc-sun-solaris2.7/3.1/../../../sparcv9/libgcj.so: recording name `libgcj.so.3' matches that provided by file ./.libs/libgcj.so Alexandre wrote: > This is a different problem. It's the hideous bug in Solaris that > won't let you create a library if it finds another pre-installed > library with the same SONAME. This is even documented, and it's the > reason why libjava is (or used to be) disabled on Solaris 7 if it was > found to be previously installed. Ah! The right answer. I blew away the previously-partially-installed libgjc.* files in libdir, did contrib/update_gcc, and rebuilt, and I got a complete successful build. The Java libraries seem to require almost twice as much time as everything else put together, but eventually the build succeeded. So the combination of CONFIG_SHELL=/bin/ksh and ensuring that there are no libgjc files lying around in $prefix/lib suffices.