[OE-core] [PATCH] libtool: Add missing DEPENDS on libtool-cross

Maupin, Chase chase.maupin at ti.com
Thu Oct 4 12:39:27 UTC 2012


> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On
> Behalf Of Richard Purdie
> Sent: Thursday, October 04, 2012 4:21 AM
> To: Maupin, Chase
> Cc: openembedded-core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] libtool: Add missing DEPENDS on
> libtool-cross
> 
> On Tue, 2012-10-02 at 16:30 -0500, Chase Maupin wrote:
> > * When building with 24 bitbake threads on my system I observed
> >   errors like the following:
> >     | configure.ac:199: error: LT_LANG: unsupported language:
> "Go"
> >     | <tmpdir>/work/armv7a-vfp-neon-oe-linux-gnueabi/libtool-
> 2.4.2-r3.0/libtool-2.4.2/aclocal-copy/libtool.m4:768: LT_LANG is
> expanded from...
> >     | configure.ac:199: the top level
> >     | autom4te: m4 failed with exit status: 1
> > * This could be found by doing a clean build.  If a build had
> >   already been performed then often just cleaning the libtool
> >   package and rebuilding it would resolve the issue.
> > * Adding a DEPENDS on libtool-cross resolves this issue with a
> >   clean build.
> > * Bump the PR
> 
> So how do I reproduce this bug? In theory I'd just run "bitbake
> libtool"
> in a clean build directory?
> 
> I've tried that with master and it all works? :/

Richard,

I was able to reproduce this consistently on my build server which has 24 cores running at 3.5 GHz.  I was using:

BB_NUMBER_THREADS = "24"

And

PARALLEL_MAKE = "-j 24"

I can try a build reducing the number of threads and see if the issue goes away as this might be a difference between our builds.  Can you tell me what you are using?

It seemed like a race condition because after I got the error I was able to do a -c cleanall of libtool and kick off the build again once libtool-cross was built and it would pass.  Likewise I did:

bitbake libtool-cross
bitbake libtool

and that would work but just

bitbake libtool

would fail.

> 
> Cheers,
> 
> Richard
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-
> core




More information about the Openembedded-core mailing list