All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems building from master
@ 2012-11-30 15:09 Gary Thomas
  2012-11-30 16:42 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2012-11-30 15:09 UTC (permalink / raw)
  To: Poky Project

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

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?

Thanks

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


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

* Re: Problems building from master
  2012-11-30 15:09 Problems building from master Gary Thomas
@ 2012-11-30 16:42 ` Martin Jansa
  2012-11-30 17:12   ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2012-11-30 16:42 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Poky Project

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

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.

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: Problems building from master
  2012-11-30 16:42 ` Martin Jansa
@ 2012-11-30 17:12   ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2012-11-30 17:12 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Poky Project

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
------------------------------------------------------------


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

end of thread, other threads:[~2012-11-30 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 15:09 Problems building from master Gary Thomas
2012-11-30 16:42 ` Martin Jansa
2012-11-30 17:12   ` Gary Thomas

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.