Share

gumstix

Tracker: Bugs -Software

5 bitbake gumstix-basic-image fails - ID: 2897013
Last Update: Comment added ( cheshirekow )

On Ubuntu 9.10, following the instructions provided at
"http://www.gumstix.net/Setup-and-Programming/view/Getting-started/Setting-
up-a-build-environment/111.html" building a basic image fails. I will
attempt to include the relevant details from the output.

Failure occurs during "Running task 104 of 1391 (ID: 314,
/home/.../packages/binutils/binutils-cross_2.18.bb, do_compile)"
The error says "ERROR: function do_compile failed"

From the log, it appears that a number of make tasks have completed, up
until the following:

----snip----
/bin/sh ./libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I.
-I/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnuea
bi/binutils-cross-2.18-r1/binutils-2.18/bfd -I. -I.
-I/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnuea
bi/binutils-cross-2.18-r1/binutils-2.18/bfd
-I/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnuea
bi/binutils-cross-2.18-r1/binutils-2.18/bfd/../include
-isystem/home/josh/Codes/gumstix/gumstix-oe/tmp/staging/i686-linux/include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror
-isystem/home/josh/Codes/gumstix/gumstix-oe/tmp/staging/i686-linux/include
-Os -c -o elf32-arm.lo
/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
/binutils-cross-2.18-r1/binutils-2.18/bfd/elf32-arm.c
| libtool: compile: ccache gcc -DHAVE_CONFIG_H -I.
-I/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnuea
bi/binutils-cross-2.18-r1/binutils-2.18/bfd -I. -I.
-I/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnuea
bi/binutils-cross-2.18-r1/binutils-2.18/bfd
-I/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnuea
bi/binutils-cross-2.18-r1/binutils-2.18/bfd/../include
-isystem/home/josh/Codes/gumstix/gumstix-oe/tmp/staging/i686-linux/include
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror
-isystem/home/josh/Codes/gumstix/gumstix-oe/tmp/staging/i686-linux/include
-Os -c
/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
/binutils-cross-2.18-r1/binutils-2.18/bfd/elf32-arm.c -o elf32-arm.o
| cc1: warnings being treated as errors
|
/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
/binutils-cross-2.18-r1/binutils-2.18/bfd/elf32-arm.c: In function
'find_thumb_glue':
|
/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
/binutils-cross-2.18-r1/binutils-2.18/bfd/elf32-arm.c:2524: error: ignoring
return value of 'asprintf', declared with attribute warn_unused_result
|
/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
/binutils-cross-2.18-r1/binutils-2.18/bfd/elf32-arm.c: In function
'find_arm_glue':
|
/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi
/binutils-cross-2.18-r1/binutils-2.18/bfd/elf32-arm.c:2557: error: ignoring
return value of 'asprintf', declared with attribute warn_unused_result
| make[4]: *** [elf32-arm.lo] Error 1
| make[4]: Leaving directory
`/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueab
i/binutils-cross-2.18-r1/binutils-2.18/build.i686-linux.arm-angstrom-linux-
gnueabi/bfd'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory
`/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueab
i/binutils-cross-2.18-r1/binutils-2.18/build.i686-linux.arm-angstrom-linux-
gnueabi/bfd'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory
`/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueab
i/binutils-cross-2.18-r1/binutils-2.18/build.i686-linux.arm-angstrom-linux-
gnueabi/bfd'
| make[1]: *** [all-bfd] Error 2
| make[1]: Leaving directory
`/home/josh/Codes/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueab
i/binutils-cross-2.18-r1/binutils-2.18/build.i686-linux.arm-angstrom-linux-
gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
----snip----


Josh ( cheshirekow ) - 2009-11-13 04:05

5

Open

None

sakoman

Bug

None

Public


Comments ( 2 )

Date: 2009-11-13 18:46
Sender: cheshirekow

I managed to get the build system to build the basic image by chrooting the
gutsy distribution (7.10). It's an ugly solution but it works. I added a
page to the user wiki describing how to do this.


Date: 2009-11-13 04:26
Sender: cheshirekow

I think this may be due to using a newer version of GCC than is intended
for compilation. I have version 4.4.1 installed with Ubuntu. Which version
should I have for use with the gumstix openembedded?


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.