From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5810 invoked by alias); 25 Apr 2003 14:07:46 -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 5794 invoked from network); 25 Apr 2003 14:07:46 -0000 Received: from unknown (HELO vexpert.dbai.tuwien.ac.at) (128.131.111.2) by sources.redhat.com with SMTP; 25 Apr 2003 14:07:46 -0000 Received: from [128.131.111.52] (naos [128.131.111.52]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id B913813789; Fri, 25 Apr 2003 16:07:44 +0200 (CEST) Date: Fri, 25 Apr 2003 14:45:00 -0000 From: Gerald Pfeifer To: Alexandre Oliva Cc: Gabriel Dos Reis , gcc@gcc.gnu.org, java@gcc.gnu.org, Joe Buck , Eric Botcazou , "H. J. Lu" Subject: libjava build still fails on sparc-sun-solaris2.9 In-Reply-To: Message-ID: References: <20030417091616.A11341@synopsys.com> <20030417102820.A12714@lucon.org> <20030417144017.A1398@synopsys.com> <200304181447.51672.ebotcazou@libertysurf.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-04/txt/msg01293.txt.bz2 Alexandre, thanks for the quick response! Unfortunately, we missed GCC 3.2.3, but I did some testing, and the problem also occurs on the 3.3 branch, and there it's not too late. On Wed, 23 Apr 2003, Alexandre Oliva wrote: >> | I first reported a variant of this problem in >> | http://gcc.gnu.org/ml/gcc/2002-06/threads.html#00284 >> | but didn't notice it on the 3.2 branch until now, because I had Java >> | disabled on the slow Solaris boxes. :-( > The one thing that is getting me confused is the long list of object > files in the link command. libtool could use -z allextract instead of > extracting the object files itself. Currently, for some reason, > libtool would use it when using Sun CC, or gcc as a C or Java linker, > but not when using gcc as a C++ linker (I haven't investigated why it > thinks we're doing C++ instead of Java). > > Gerald, could you please test whether this patch fixes the problem? Unfortunately, it does not seem to make a difference on sparc-sun-solaris2.9. I put up the build log at and if you check that, even _with_ your patch, we have that long command- line. Gerald PS: If it appears useful to you, I probably can arrange a guest account for you on that machine.