[webkit-dev] Tools/Scripts/build-webkit --gtk --debug --makeargs="-j1" taking up to 80% of memory
Nikolas Zimmermann
zimmermann at physik.rwth-aachen.de
Tue Jan 3 00:21:18 PST 2012
Am 03.01.2012 um 04:20 schrieb Soo-Hyun Choi:
> Philippe,
>
> On Mon, Jan 2, 2012 at 19:40, Philippe Normand <philn at igalia.com> wrote:
>> On Mon, 2011-12-26 at 21:45 -0800, sachin nikam wrote:
>>> I synced up the latest webkit code base and am trying to build webkit
>>> gtk on ubuntu 11.10 with 4gb of RAM and 4 CPUs
>>>
>>> I tried with --makeargs="-j2" but still got "ld process terminated
>>> signal[9]" error which indicates that it ran out of memory.
>>> I suspect i will still the get the same error with --makeargs="-j1".
>>> Is there any other flag where we can restrict the memory usage?
>>> Regards
>>> Sachin
>>
>> Can you try with the GNU Gold linker? We use it on the GTK Debug bot.
>
>
> I have tried GNU gold linker (Version: 2.20.1-3ubuntu7.1) on Ubuntu
> 10.04 (32-bit) without success. Could you let us know how you have
> been successful to build WebKit Debug on 32-bit machines in more
> detail? I have tried building Efl Debug, by the way.
Just a side note: I'm building 32bit release builds on my 32bit MBP from 2006 with a set of specific xcode hack that I'm maintaining locally:
Add all {Editing|Render|DOM}AllInOne.cpp files to build, remove all files from WebCore target that are referenced in those files.
This allows to use build-webkit, with all default features enabled.
I tried this the last time 2 weeks ago, and it worked fine.
I'm not sure if its worth investigating to maintain two Xcode project files, just for that. If one really wants it, its possible with this trick.
Cheers,
Niko
More information about the webkit-dev
mailing list