From owner-freebsd-gnome@FreeBSD.ORG Tue Mar 4 09:49:07 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF73E106566C for ; Tue, 4 Mar 2008 09:49:07 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 7433C8FC1A for ; Tue, 4 Mar 2008 09:49:07 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A57CB2.dip.t-dialin.net [84.165.124.178]) by redbull.bpaserver.net (Postfix) with ESMTP id 15E192E159; Tue, 4 Mar 2008 10:49:02 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 37B2496512; Tue, 4 Mar 2008 10:48:56 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m249mt8O089448; Tue, 4 Mar 2008 10:48:55 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 04 Mar 2008 10:48:55 +0100 Message-ID: <20080304104855.8dk4kbnbac4g4kc4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 04 Mar 2008 10:48:55 +0100 From: Alexander Leidinger To: Roy Marles References: <20080301181608.5d393e02.ejcerejo@optonline.net> <1204424514.1262.36.camel@shumai.marcuscom.com> <20080303001237.28a45ba9.jylefort@brutele.be> <200803040842.47946.roy@marples.name> In-Reply-To: <200803040842.47946.roy@marples.name> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.004, required 6, BAYES_00 -15.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-gnome@freebsd.org Subject: Re: Evolution crawls on FreeBSD X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 09:49:07 -0000 Quoting Roy Marles (from Tue, 4 Mar 2008 08:42:47 +0000): > On Sunday 02 March 2008 23:12:37 Jean-Yves Lefort wrote: >> Indeed, a casual inspection of libexec/rtdl-elf/rtld.c shows that the >> SO_NEEDED lists (Obj_Entry.needed) are walked recursively. Removing >> the useless entries might therefore have a dramatic impact on >> performance. > > One thing that may help here is allowing the use of cutsom LDFLAGS - > namely -Wl,--as-needed. This removes SO_NEEDED references when the library > really isn't needed. For a more indepth discussion on the benefits of this= , This sounds really interesting! We would have to check which compiler =20 versions understand this flag. And it is a nin-intrusive change to the =20 autotools chain. And making ports honor LDFLAGS (like they do with =20 CFLAGS) is a good ideas IMO. > read this article [1]. I had a quick look at ports, but it doesn't seem to > honor LDFLAGS in any port. Sadly most of the world needs to be compiled wi= th > this LDFLAG for it to really work, so I didn't look much futher. FreeBSD b= ase > system compiles fine with it though :) Oh, if the gnome maintained ports would honor LDFLAGS, it would =20 already be a big deal (and probably solve the issue with evolution). Thanks for info, Alexander. --=20 Advice from an old carpenter: measure twice, saw once. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137