Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 83511 invoked from network); 18 Oct 2006 11:32:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2006 11:32:17 -0000 Received: (qmail 70130 invoked by uid 500); 18 Oct 2006 11:32:15 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 70098 invoked by uid 500); 18 Oct 2006 11:32:15 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 70087 invoked by uid 99); 18 Oct 2006 11:32:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 04:32:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jorton@redhat.com designates 66.187.233.31 as permitted sender) Received: from [66.187.233.31] (HELO mx1.redhat.com) (66.187.233.31) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 04:32:14 -0700 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k9IBVqjk009164 for ; Wed, 18 Oct 2006 07:31:52 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id k9IBVpXA023722 for ; Wed, 18 Oct 2006 07:31:52 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.13.7/8.13.7) with ESMTP id k9IBVpUp024409 for ; Wed, 18 Oct 2006 12:31:51 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.13.7/8.13.7/Submit) id k9IBVpmv024408 for dev@apr.apache.org; Wed, 18 Oct 2006 12:31:51 +0100 X-Authentication-Warning: radish.cambridge.redhat.com: jorton set sender to jorton@redhat.com using -f Date: Wed, 18 Oct 2006 12:31:51 +0100 From: Joe Orton To: APR Developer List Subject: Re: Strange size of produced APR binaries on Solaris Message-ID: <20061018113151.GC23259@redhat.com> Mail-Followup-To: APR Developer List References: <45360689.7090307@apache.org> <20061018111005.GB23259@redhat.com> <45360DCE.7010206@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <45360DCE.7010206@apache.org> User-Agent: Mutt/1.4.2.1i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Wed, Oct 18, 2006 at 01:19:42PM +0200, Mladen Turk wrote: > Joe Orton wrote: > >On Wed, Oct 18, 2006 at 12:48:41PM +0200, Mladen Turk wrote: > >>Building APR gives a really strange binary sizes on Solaris. > >... > >>produces the libapr-1.so.0.2.7 sized 3094060 bytes. > > > >Debugging info, needs stripping (strip -x on Solaris IIRC). > > Can this be done within the APR build itself, unless something > like --enable-maintainer-mode is defined, that IMHO should > have debugging turned on? Or is this genuine Solaris? Making --disable-debug strip -g from CFLAGS would not be unreasonable, I suppose. > In any case, it should be turned off by default thought. Most of the people who care about this are those who are redistributing binaries, which is a tiny minority of all those who build from source. For everyone else, it doesn't really matter, and getting useful backtraces is far better than burning a bit of disk space. Regards, joe