Skip to contentSkip to conversation

bitbake failed in base-image and other images

DISCUSSION Kaijun Tang 2 participants 2 messages Feb 22, 2010 – Feb 23, 2010

lore
Share & tools
lore
#0 lore raw

Hi, I always failed to bitbake images like

/home/tang/Project/OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi /bin/as:unrecognized option '-Qy'

| make[2]: *** [dummy-checksum.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| echo

'/home/tang/Project/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/ gcc-cross-initial-4.3.3-r11.1/gcc-4.3.3/gcc/config/linux.h'

Quoted 1 line
Quoted 1 line

tmp-gi.list

.
.
.

| /bin/sh /home/tang/Project/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.3-r11.1/gcc-4.3.3/gcc/../move-if-change tmp-gi.list gtyp-input.list
| echo timestamp > s-gtyp-input
| make[2]: Leaving directory `/home/tang/Project/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.3-r11.1/gcc-4.3.3/build.x86_64-linux.arm-angstrom-linux-gnueabi/gcc'
| make[1]: *** [all-gcc] Error 2
| make[1]: Leaving directory `/home/tang/Project/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.3-r11.1/gcc-4.3.3/build.x86_64-linux.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed

NOTE: Task failed: /home/tang/Project/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-initial-4.3.3-r11.1/temp/log.do_compile.3482
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/tang/Project/OE/openembedded/recipes/gcc/gcc-cross-initial_4.3.3.bb do_compile failed
ERROR: Task 1945 (/home/tang/Project/OE/openembedded/recipes/gcc/gcc-cross-initial_4.3.3.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 171 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/tang/Project/OE/openembedded/recipes/gcc/gcc-cross-initial_4.3.3.bb' failed

bitbake and openembeded were just installed. Any idea?

Kind Regards

Kaijun Tang

From [email protected] Mon Feb 22 17:01:54 2010
Received: from lo.gmane.org ([80.91.229.12])

	by linuxtogo.org with esmtp (Exim 4.69)
	(envelope-from <[email protected]>)
	id 1NjajH-0000Yz-2t for [email protected];
	Mon, 22 Feb 2010 17:01:54 +0100
Received: from list by lo.gmane.org with local (Exim 4.69)
	(envelope-from <[email protected]>)
	id 1Njage-0007CF-OG for [email protected];
	Mon, 22 Feb 2010 16:59:08 +0100
Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00 for <[email protected]>;
	Mon, 22 Feb 2010 16:59:08 +0100
Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1
	(Debian)) id 1AlnuQ-0007hv-00
	for <[email protected]>;
	Mon, 22 Feb 2010 16:59:08 +0100

X-Injected-Via-Gmane: http://gmane.org/
To: [email protected]
From: Koen Kooi <[email protected]>
Date: Mon, 22 Feb 2010 16:58:55 +0100
Lines: 21
Message-ID: <[email protected]>
References: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset

#1 lore raw
Quoted 1 line · On Monday 22 February 2010 16:25:06 Kaijun Tang wrote:

Hi, I always failed to bitbake images like

If you want to have others help you, you need to supply enough context. It should include some of the following stuff:
- Explain the config you have (e.g. MACHINE, DISTRO...)
- Explain which version of the OE metadata you have
- Explain what you are trying to build...
- Explain how it fails and how you expect it should do stuff

Quoted 3 lines

/home/tang/Project/OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi /bin/as:unrecognized option '-Qy'

This normally indicates a host (x86) and target mismatch. E.g. you are trying to compile for x86 with your ARM compiler...

z.