From owner-freebsd-x11@FreeBSD.ORG Sat Apr 25 18:49:06 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C6FB106568B; Sat, 25 Apr 2009 18:49:06 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4C94D8FC08; Sat, 25 Apr 2009 18:49:05 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=R9s+eP8BQ0SFm5ybhWypXyUI/H1ZQt6iF7yS/Tzcc60ydzUac/MiPkVZXS5So479fgh2EDehjSVoTs2ViUFObzLP9X3hLJhB3XFiZk9BAdkL6LsVSy2UpetiHL14KgAiOrh/ExZYzix1HJwSvLYBgS6xpeHm0BaDfg/EqJKHfOc=; Received: from amnesiac.at.no.dns (ppp85-141-163-213.pppoe.mtu-net.ru [85.141.163.213]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1Lxmvw-0003QG-Gq; Sat, 25 Apr 2009 22:49:04 +0400 Date: Sat, 25 Apr 2009 22:49:01 +0400 From: Eygene Ryabinkin To: Stanislav Sedov Message-ID: References: <200904242010.n3OKA41e084949@freefall.freebsd.org> <1240605576.2142.47.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1240605576.2142.47.camel@balrog.2hip.net> Sender: rea-fbsd@codelabs.ru Cc: freebsd-x11@FreeBSD.org Subject: Re: ports/132615: [patch] x11/libX11: work aroung parsing bug in Bash 4.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2009 18:49:06 -0000 Stanislav, good day. > Stanislav Sedov wrote: > > On Fri, 2009-04-24 at 20:10 +0000, Eygene Ryabinkin wrote: > > I'd say that 45 seconds (24.5%) speedup worth some patching. > > > > Any thoughts 'bout this? > > I think we could try to replace the libtool by our own stripped-down > implementation that will be even simpler than dolt. If dolt is able to > reduce the compilations speed by about one forth, then with a FreeBSD > specific libtool replacement the imporvement may be even better. Well, dolt replaces only the 'compile' mode of libtool and doltcompile is a rather simple script that isn't specific to any operating system, it just needs Linux, FreeBSD or Darwin. The script is small and most of speedup lives here -- libtool is an enormous beast that checks a load of things and spawns many external tools. So, for the compilation mode, the only thing to do is to try to replace Bash script dolt with native executable and try to estimate gains. Will try to play with this. As to the other modes, libtool is still used, no magic here. And here we can do something beefy, because, once again, libtool is an enormous beast. Will try to draft something as well. > As a benefit we can also stop installing .la and .a library files. .la -- may be. But why do you want to eradicate .a's? People should still be able to link in libraries statically, aren't they? -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #