All of lore.kernel.org
 help / color / mirror / Atom feed
* IMX6 - webkit memory exhausted
@ 2013-05-02 19:49 PAPARO Nino (MM)
  2013-05-02 20:36 ` Otavio Salvador
  0 siblings, 1 reply; 6+ messages in thread
From: PAPARO Nino (MM) @ 2013-05-02 19:49 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]

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_Kiosk_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/recipes-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?

Regards


[-- Attachment #2: Type: text/html, Size: 4161 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IMX6 - webkit memory exhausted
  2013-05-02 19:49 IMX6 - webkit memory exhausted PAPARO Nino (MM)
@ 2013-05-02 20:36 ` Otavio Salvador
  2013-05-02 21:49   ` Christian Betz
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Otavio Salvador @ 2013-05-02 20:36 UTC (permalink / raw)
  To: PAPARO Nino (MM); +Cc: meta-freescale@yoctoproject.org

On Thu, May 2, 2013 at 4:49 PM, PAPARO Nino (MM)
<nino.paparo@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_Kiosk_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/recipes-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@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IMX6 - webkit memory exhausted
  2013-05-02 20:36 ` Otavio Salvador
@ 2013-05-02 21:49   ` Christian Betz
  2013-05-03  7:43   ` Marco
  2013-05-03 13:16   ` PAPARO Nino (MM)
  2 siblings, 0 replies; 6+ messages in thread
From: Christian Betz @ 2013-05-02 21:49 UTC (permalink / raw)
  Cc: meta-freescale@yoctoproject.org

On Thu, May 2, 2013 at 4:36 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> On Thu, May 2, 2013 at 4:49 PM, PAPARO Nino (MM)
> <nino.paparo@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_Kiosk_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/recipes-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.

one more tip as a last resort: you *can* also use 'mkswap' to create a
swap file. but this will also be dead slow. you should probably do it
before bed time.

(I now recall this is how I was able to build webkit in the past on a
low-memory pre-yocto system. I was doing it by hand on the target
(x86) and not using bitbake)

personally: I think maybe having just 1 more GB of RAM might get you there.

--christian


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IMX6 - webkit memory exhausted
  2013-05-02 20:36 ` Otavio Salvador
  2013-05-02 21:49   ` Christian Betz
@ 2013-05-03  7:43   ` Marco
  2013-05-03 13:18     ` PAPARO Nino (MM)
  2013-05-03 13:16   ` PAPARO Nino (MM)
  2 siblings, 1 reply; 6+ messages in thread
From: Marco @ 2013-05-03  7:43 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

Il 02/05/2013 22:36, Otavio Salvador ha scritto:
> On Thu, May 2, 2013 at 4:49 PM, PAPARO Nino (MM)
> <nino.paparo@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_Kiosk_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/recipes-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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IMX6 - webkit memory exhausted
  2013-05-02 20:36 ` Otavio Salvador
  2013-05-02 21:49   ` Christian Betz
  2013-05-03  7:43   ` Marco
@ 2013-05-03 13:16   ` PAPARO Nino (MM)
  2 siblings, 0 replies; 6+ messages in thread
From: PAPARO Nino (MM) @ 2013-05-03 13:16 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

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@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador
Sent: Thursday, May 02, 2013 4:37 PM
To: PAPARO Nino (MM)
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] IMX6 - webkit memory exhausted

On Thu, May 2, 2013 at 4:49 PM, PAPARO Nino (MM) <nino.paparo@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@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: IMX6 - webkit memory exhausted
  2013-05-03  7:43   ` Marco
@ 2013-05-03 13:18     ` PAPARO Nino (MM)
  0 siblings, 0 replies; 6+ messages in thread
From: PAPARO Nino (MM) @ 2013-05-03 13:18 UTC (permalink / raw)
  To: koansoftware@gmail.com, meta-freescale@yoctoproject.org

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@gmail.com] 
Sent: Friday, May 03, 2013 3:43 AM
To: meta-freescale@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@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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-05-03 13:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 19:49 IMX6 - webkit memory exhausted PAPARO Nino (MM)
2013-05-02 20:36 ` Otavio Salvador
2013-05-02 21:49   ` Christian Betz
2013-05-03  7:43   ` Marco
2013-05-03 13:18     ` PAPARO Nino (MM)
2013-05-03 13:16   ` PAPARO Nino (MM)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.