[poky] Problems building from master

Gary Thomas gary at mlbassoc.com
Fri Nov 30 09:12:13 PST 2012


On 2012-11-30 09:42, Martin Jansa wrote:
> On Fri, Nov 30, 2012 at 08:09:56AM -0700, Gary Thomas wrote:
>> trying to build 'core-image-sato' with this configuration:
>>
>> Build Configuration:
>> BB_VERSION        = "1.17.0"
>> BUILD_SYS         = "i686-linux"
>> NATIVELSBSTRING   = "Unknown"
>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>> MACHINE           = "qemuarm"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.3+snapshot-20121130"
>> TUNE_FEATURES     = "armv5 dsp thumb"
>> TARGET_FPU        = "soft"
>> meta
>> meta-yocto
>> meta-yocto-bsp    = "master:247b6a3754c2c50318e2a73d79981ba0e9cb560b"
>> meta-oe           = "master:8e489120f9c4ae91e121ae9d33fecc1aacdf3257"
>>
>> Fails with:
>> /local/qemuarm_test/tmp/sysroots/i686-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: cannot find -lsndfile
>> collect2: error: ld returned 1 exit status
>> make[1]: *** [sbc/sbctester] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork --sysroot=/local/qemuarm_test/tmp/sysroots/qemuarm -D_FORTIFY_SOURCE=2
>> -I/local/qemuarm_test/tmp/sysroots/qemuarm/usr/include/dbus-1.0 -I/local/qemuarm_test/tmp/sysroots/qemuarm/usr/lib/dbus-1.0/include
>> -I/local/qemuarm_test/tmp/sysroots/qemuarm/usr/include/glib-2.0 -I/local/qemuarm_test/tmp/sysroots/qemuarm/usr/lib/glib-2.0/include -O2 -pipe -g -feliminate-unused-debug-types
>> -Wl,-O1 -Wl,--hash-style=gnu -o tools/hcisecfilter tools/hcisecfilter.o
>> make: *** [all] Error 2
>> ERROR: oe_runmake failed
>> ERROR: Function failed: do_compile (see /local/qemuarm_test/tmp/work/armv5te-poky-linux-gnueabi/bluez4/4.101-r3/temp/log
>
> missing libsndfile1 in depends?
>
>> I then ran 'bitbake core-image-sato -k' to see what other failures I came
>> up with.  There were none.
>>
>> When I ran 'bitbake core-image-sato' again (after the run with -k that had
>> the single failure), it succeeded!  Must be a parallel build issue.
>> I'm using:
>>     BB_NUMBER_THREADS = "4"
>>     PARALLEL_MAKE = "-j 4"
>>
>> I also had a problem building 'web-webkit':
>>
>> | /local/qemuarm_test/tmp/sysroots/i686-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: failed to set dynamic section sizes: Memory exhausted
>> | collect2: error: ld returned 1 exit status
>> | make[1]: *** [libwebkitgtk-1.0.la] Error 1
>> | make[1]: Leaving directory `/local/qemuarm_test/tmp/work/armv5te-poky-linux-gnueabi/webkit-gtk/1.8.2-r2/webkit-1.8.2'
>>
>> Any ideas on how I can fix the build of webkit-gtk?
>
> Add more RAM/swap.

Didn't help - my machine has 6GB RAM + 20GB SWAP - still fails.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list