I checked and I compiled with -O2. I see a similar slowdown in the ar calls.
I also notice that the size of the chrome executable is now 2GB. I think
before the size was closer to 350MB. It was 750MB if you included webkit
symbols. Perhaps something changed about the way we're managing symbols.

Dave

On Sat, Nov 21, 2009 at 6:50 PM, Antoine Labour <pi...@google.com> wrote:

>
>
> On Sat, Nov 21, 2009 at 6:24 PM, David Moore <davemo...@google.com> wrote:
>
>> Since I did this upgrade my builds have gotten very very slow. A single
>> file change, recompile and relink used to be about 35 seconds. Now it's 2
>> and a half minutes. As far as I can tell I'm using the right gold.
>>
>> davemo...@dmoorel:~/chrome/src$ ld --version
>> GNU gold (GNU Binutils 2.20) 1.9
>>
>> Are other people seeing this on linux?
>>
>> Dave
>>
>
> Make sure you compile gold with -O2. That made a huge difference for me
> when I was playing with it, and that wasn't the default for some reason.
>
> Antoine
>
>
>> On Wed, Nov 18, 2009 at 2:47 AM, Lei Zhang <thes...@chromium.org> wrote:
>>
>>> Hi folks,
>>>
>>> We'll soon be relanding a patch that pass --gc-sections to the linker
>>> on Linux. For this to work, you need either GNU ld or a recent version
>>> of GNU gold. You can test and see if your copy of gold is new enough
>>> by running:
>>>
>>> /path/to/gold --gc-sections
>>>
>>> If you see: "fatal error: no input files", _no action_ is required.
>>> If you see: "--gc-sections: unknown option", then you _need to upgrade_.
>>>
>>> If you installed gold through [1], please run it again. I've updated
>>> the script at r32315 to install gold 2.20. I've also updated all the
>>> Linux build / try bots to gold 2.20.
>>>
>>> [1] http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh
>>>
>>> --
>>> Chromium Developers mailing list: chromium-dev@googlegroups.com
>>> View archives, change email options, or unsubscribe:
>>>    http://groups.google.com/group/chromium-dev
>>>
>>
>>  --
>> Chromium Developers mailing list: chromium-dev@googlegroups.com
>> View archives, change email options, or unsubscribe:
>> http://groups.google.com/group/chromium-dev
>>
>
>

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev

Reply via email to