From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18591 invoked by alias); 13 May 2009 17:59:43 -0000 Received: (qmail 18573 invoked by uid 22791); 13 May 2009 17:59:42 -0000 X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_83,KAM_STOCKTIP,SPF_PASS X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 May 2009 17:59:37 +0000 Received: by fg-out-1718.google.com with SMTP id 13so301502fge.5 for ; Wed, 13 May 2009 10:59:33 -0700 (PDT) Received: by 10.86.70.3 with SMTP id s3mr1535534fga.12.1242237573644; Wed, 13 May 2009 10:59:33 -0700 (PDT) Received: from ?192.168.2.99? (cpc2-cmbg8-0-0-cust61.cmbg.cable.ntl.com [82.6.108.62]) by mx.google.com with ESMTPS id d6sm416977fga.27.2009.05.13.10.59.32 (version=SSLv3 cipher=RC4-MD5); Wed, 13 May 2009 10:59:33 -0700 (PDT) Message-ID: <4A0B0D34.4060800@gmail.com> Date: Wed, 13 May 2009 18:49:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Andrew Haley CC: Dave Korn , Ralf Wildenhues , java@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: [JAVA,libtool] Big libjava is biiiig. References: <4A01B55C.6060700@gmail.com> <4A01B621.7020609@gmail.com> <20090506161419.GA19953@ins.uni-bonn.de> <4A01C401.4000104@gmail.com> <20090507214936.GB18769@gmx.de> <4A085FAA.6060507@gmail.com> <4A085FB6.7060002@redhat.com> <4A0AC200.9020003@gmail.com> <4A0AF2BB.3080400@redhat.com> In-Reply-To: <4A0AF2BB.3080400@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg00355.txt.bz2 Andrew Haley wrote: > Dave Korn wrote: >> Andrew Haley wrote: >> >>> Did you try my list of things to lift out? I don't think there will be any >>> interdependencies; the only problem might be that the reduction is not enough. >> Hi Andrew, >> >> I've had a quick hack at it now, and it's not doing what I'd hoped, so >> possibly I've misunderstood what you intended, or am not grokking the >> structure of java packages correctly. >> >> >> So, did I do the partitioning wrong here? Or have I misunderstood what you >> were referring to as "interdependencies"? > > Oh, I'm _so_ sorry, you're absolutely right. I misread (or, perhaps, miswrote) > the makemake.tcl file. It turns out that even those files that are compiled BC > are compiled with -fno-indirect-classes, so that they can be (and indeed are) > called from code compiled with the C++ ABI. > > How embarrassing. :-( That's ok, thanks for trying to help. I'll just have to go down the route of preparing import libraries ahead-of-time. (Actually I'm already doing this as we speak, and it is /possibly/ showing up some binutils bugs, but that's another story....) On the bright side, this means that if they're going to be interdependent sublibraries anyway, I can parcel them out more evenly, and get a greater reduction in the number of symbols each one individually exports. cheers, DaveK