[oe] qemu-native build fail

Tom Rini trini at embeddedalley.com
Sun May 3 23:59:17 UTC 2009


On Mon, May 04, 2009 at 07:46:41AM +0800, Daniel.Li wrote:
> On Sun, 2009-05-03 at 16:17 -0700, Tom Rini wrote:
> > On Mon, May 04, 2009 at 07:03:03AM +0800, Daniel.Li wrote:
> > > On Sun, 2009-05-03 at 09:55 -0700, Tom Rini wrote:
> > > > On Sun, May 03, 2009 at 09:34:29PM +0800, Daniel.Li wrote:
> > > > > Dear List,
> > > > > 
> > > > > I have found that qemu-native failed with gcc 3.4, see below.
> > > > > Originally, qemu failed with 4.* gcc, now qemu is ok with gcc3.4 but
> > > > > qemu-native failed. 
> > > > > 
> > > > > I googled, only found this http://pastebin.com/f75407ece# , which seems
> > > > > failed on 20 Apr.
> > > > 
> > > > This sounds like a host-provided gcc-3.4, which isn't new enough, is
> > > > being used, rather than the 3.4.6 that OE builds.  I thought this had
> > > > been fixed, but perhaps not.  Can you confirm that you have a gcc-3.4
> > > > package installed on your host?  Thanks.
> > > 
> > > Thanks Tom.
> > > Yes,you are right. OE is using gcc-3.4 (host) instead of gcc-3.4 build
> > > by OE.
> > > Cause, I removed gcc3.4 from host, it reports command gcc3.4 not found.
> > > 
> > > Well, I'm new to OE. Could you please let me know how to build
> > > qemu-native with it's internal gcc3.4? 
> > > 
> > > Any configuration change? Thanks in advance.
> > 
> > Do you have "ASSUME_PROVIDED += gcc3-native" or similar in your
> > local.conf?  If so, remove that.
> 
> It seems there is no line at all.

OK.

[snip]
> But I found gcc3-native in bb file, see below:
> $ grep "gcc3-native" openembedded/recipes/qemu/ -R
> openembedded/recipes/qemu/qemu-native.inc:DEPENDS = "libsdl-native
> zlib-native gcc3-native"

This line is fine.

> Still failed with 
[snip]

If you're using the org.openembedded.dev branch, you need to do:
bitbake -c clean qemu-native
Then try again.  If you're using the fso branch you'll need to go into
the openembedded dir and 'git cherry-pick
714bed6ab1174ec126ea7d8c8655d1cfd6900325' first, then do the clean.

-- 
Tom Rini




More information about the Openembedded-devel mailing list