[meta-freescale] bitbake freezes at recipe qt4-x11-free-1_4.8.5-r0: task do_compile: Started

Alvin D.M. DIZON adm.dizon at pciltd.com.sg
Tue Jan 13 22:07:03 PST 2015


Thanks Eric. I'll try running top and see what happens. I was looking at the log.do_compile for Qt and saw these lots of errors like this:

In file included from ../JavaScriptCore/wtf/PossiblyNull.h:29:0,
                 from ../JavaScriptCore/wtf/FastMalloc.h:25,
                 from ./config.h:153,
                 from dom/DOMStringMap.cpp:26:
../JavaScriptCore/wtf/StdLibExtras.h: In function 'TO WTF::bitwise_cast(FROM)':
../JavaScriptCore/wtf/Assertions.h:326:47: warning: typedef 'dummyWTF_bitwise_cast_sizeof_casted_types_is_equal' locally defined but not used [-Wunused-local-typedefs]
 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]
                                               ^
../JavaScriptCore/wtf/StdLibExtras.h:96:5: note: in expansion of macro 'COMPILE_ASSERT'
     COMPILE_ASSERT(sizeof(TO) == sizeof(FROM), WTF_bitwise_cast_sizeof_casted_types_is_equal);
     ^
../JavaScriptCore/wtf/StdLibExtras.h: In function 'size_t WTF::roundUpToMultipleOf(size_t)':
../JavaScriptCore/wtf/Assertions.h:326:47: warning: typedef 'dummydivisor_is_a_power_of_two' locally defined but not used [-Wunused-local-typedefs]
 #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1]
                                               ^
../JavaScriptCore/wtf/StdLibExtras.h:120:5: note: in expansion of macro 'COMPILE_ASSERT'
     COMPILE_ASSERT(divisor && !(divisor & (divisor - 1)), divisor_is_a_power_of_two);
     ^

And the last lines of the log.do_compile seem to point to the Webkit libraries:

make[2]: Leaving directory `/home/alvin/yocto_branch/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore'
make[1]: *** [sub-WebCore-make_default-ordered] Error 2
make[1]: Leaving directory `/home/alvin/yocto_branch/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source'
make: *** [sub-webkit-make_default-ordered] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.

Again thank you for answering.

Thanks,
Alvin
________________________________________
From: Eric Nelson [eric.nelson at boundarydevices.com]
Sent: Wednesday, January 14, 2015 11:04 AM
To: Alvin D.M. DIZON; meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] bitbake freezes at recipe qt4-x11-free-1_4.8.5-r0: task do_compile: Started

Hi Alvin,

On 01/13/2015 06:20 PM, Alvin D.M. DIZON wrote:
> Hello,
>
> I am building an image using the "bitbake fsl-image-x11" command.
> Bitbake seems to run through all the tasks but the output freezes at
> "recipe qt4-x11-free-1_4.8.5-r0: task do_compile: Started". I have tried
> stopping bitbake and rebuilding, but it always stops at the same task. I
> am using a Ubuntu 12.04 VM running on Oracle Virtualbox. Here is my
> local.conf:
>

I'm not sure about Qt4, but Qt5 eats a **lot** of memory when
linking the Webkit libraries (~7GiB), so you may just be thrashing
here.

I'd suggest running top and possibly strace against the offending
process to see if it's moving forward.

Regards,


Eric
[PCI]

  Innovative Manufacturing Solutions. Professionally Delivered!

The information contained in this email is confidential and is intended for addressee(s) only. If you have received this email in error, please notify the originator immediately. Nothing in this email shall constitute an offer or acceptance leading to a legally binding contract which shall only arise from a formal written agreement between yourselves and ourselves in the form of a Purchase Order issued by us and accepted by you in writing. For the avoidance of doubt, this email shall not be construed in any way as a formal written agreement. We accept no liability for any damage arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. Please consider your environmental responsibility before printing this e-mail.


More information about the meta-freescale mailing list