From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15253 invoked by alias); 1 Jun 2005 14:21:04 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 15187 invoked by uid 22791); 1 Jun 2005 14:20:56 -0000 Received: from cdm-68-228-0-128.laft.cox-internet.com (HELO cruppie.aaronwl.com) (68.228.0.128) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 01 Jun 2005 14:20:56 +0000 Received: from [70.182.5.33] (cdm-70-182-5-33.laft.cox-internet.com [70.182.5.33]) by cruppie.aaronwl.com (8.12.11/8.12.11) with ESMTP id j51EKgXk020721; Wed, 1 Jun 2005 14:20:42 GMT Message-ID: <429DC43E.9050700@aaronwl.com> Date: Wed, 01 Jun 2005 14:21:00 -0000 From: "Aaron W. LaFramboise" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 MIME-Version: 1.0 To: Dmitriy Nikitinskiy CC: binutils@sources.redhat.com Subject: Re: LD improvements on PE (mingw) References: <429D96DA.6060107@bel.ru> In-Reply-To: <429D96DA.6060107@bel.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2005-06/txt/msg00011.txt.bz2 Dmitriy Nikitinskiy wrote: > I have strange situation on linking for PE under win32 and linux. > When I run link under win32, they work about 8 min and uses more than > 200 Mb RAM. This seems pretty significant to me. First, make sure there aren't any external factors such as libtool that might be slowing this down. > Why equal versions (GNU ld version 2.13.90 20030111) of binutils give > too different results? If you're interested in investigating this, I might recommend building a crosscompiler to another COFF target, such as i386-coff, to get a better performance comparison. It would be good to know if the problem was PECOFF-specific, or more generally COFF-specific. Beyond this, the thing to do here is to build all of these crosscompilers with profiling enabled. gprof is the way to go here, unless you have something better. Since the performance difference is so significant, profiling may be very helpful. > Does any body works at this time to improve performance of linking for > PE under win32? I don't know, but there are a few people interested in making performance improvements to binutils in general. Most people are interested in ELF targets, though. Aaron W. LaFramboise