[meta-freescale] IMX6 - webkit memory exhausted

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


I tried  commenting 
BB_NUMBER_THREADS and PARALLEL_MAKE, but I was still unable to build webkit-gtk, I'll try adding some more RAM.

Thank you for the suggestion anyway.

Nino



-----Original Message-----
From: otavio.salvador at gmail.com [mailto:otavio.salvador at gmail.com] On Behalf Of Otavio Salvador
Sent: Thursday, May 02, 2013 4:37 PM
To: PAPARO Nino (MM)
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] IMX6 - webkit memory exhausted

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_Ki
> osk_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-vfp
> -neon-poky-linux-gnueabi/webkit-gtk/1.8.3-r1/temp/log.do_compile.15983
> for further information)
>
> ERROR: Task 2368
> (/home/npaparo/yocto/fsl-community-bsp__dylan/sources/poky/meta/recipe
> s-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.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the meta-freescale mailing list