[meta-freescale] IMX6 - webkit memory exhausted

PAPARO Nino (MM) nino.paparo at magnetimarelli.com
Fri May 3 06:18:45 PDT 2013


Marco,
I'll try to add some more RAM or to build on native linux  instead of a virtual machine.

Thank you.

Nino

-----Original Message-----
From: Marco [mailto:koansoftware at gmail.com] 
Sent: Friday, May 03, 2013 3:43 AM
To: meta-freescale at yoctoproject.org
Cc: PAPARO Nino (MM)
Subject: Re: [meta-freescale] IMX6 - webkit memory exhausted

Il 02/05/2013 22:36, Otavio Salvador ha scritto:
> On Thu, May 2, 2013 at 4:49 PM, PAPARO Nino (MM) 
> <nino.paparo at magnetimarelli.com> wrote:
>> Hello,
>>
>> I'm trying to create the minimal image possible with just x11, a 
>> webkit browser and dhcp for an imx6 sabre lite board.
>>
>> The meta-web-kiosk
>> (https://wiki.yoctoproject.org/wiki/Web_Application_for_Interactive_K
>> iosk_Devices
>> ) layer seems a good starting point so I copied and added it to my 
>> bblayers.conf
>>
>> If I try
>>
>> bitbake core-image-web-kiosk
>>
>> It keeps failing  (probably due to "memory exhausted" )while building
>> webkit-gtk-1.8.3-
>>
>>
>>
>> collect2: error: ld terminated with signal 9 [Killed]
>>
>> | make[1]: *** [libwebkitgtk-1.0.la] Error 1
>>
>> | make[1]: Leaving directory
>> `/home/npaparo/yocto/fsl-community-bsp__dylan/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/webkit-gtk/1.8.3-r1/webkit-1.8.3'
>>
>> | make: *** [all] Error 2
>>
>> | ERROR: oe_runmake failed
>>
>> | ERROR: Function failed: do_compile (see
>> /home/npaparo/yocto/fsl-community-bsp__dylan/build/tmp/work/armv7a-vf
>> p-neon-poky-linux-gnueabi/webkit-gtk/1.8.3-r1/temp/log.do_compile.159
>> 83
>> for further information)
>>
>> ERROR: Task 2368
>> (/home/npaparo/yocto/fsl-community-bsp__dylan/sources/poky/meta/recip
>> es-sato/webkit/webkit-gtk_1.8.3.bb,
>> do_compile) failed with exit code '1'
>>
>> NOTE: Tasks Summary: Attempted 5374 tasks of which 5373 didn't need 
>> to be rerun and 1 failed.
>>
>>
>>
>> I have the same issue also if I try to simply  bitbake midori.
>>
>>
>>
>> I'm running this build on an Virtual Machine (8 cores, 3 gigabytes of 
>> RAM)
>> -  Yocto 1.4 Dylan using the fsl community bsp
>>
>> Is adding more RAM the only solution?
>
> No, you may change the local.conf and override the parallel settings 
> so make it use a single thread and no parallel building. It will be 
> dead slow but should work.
>



Nino,
Apart the precious suggestion Otavio told you, I would recommend you to have 1GB for each Processor core you want to use when running bitbake.



Cordiali Saluti / Kindest Regards / Mit freundlichen Grüßen
-- 
Marco Cavallini | KOAN sas | Bergamo - Italia
  embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
       http://www.KoanSoftware.com

-- 
Marco



More information about the meta-freescale mailing list