[OE-core] [poky] [PATCH 0/1] gnu-config make sure we use perl-native

Richard Purdie richard.purdie at linuxfoundation.org
Mon Mar 14 12:55:04 UTC 2011


On Mon, 2011-03-14 at 13:18 +0100, Koen Kooi wrote:
> Op 14 mrt 2011, om 12:51 heeft Paul Eggleton het volgende geschreven:
> 
> > On Saturday 12 March 2011 02:31:40 Khem Raj wrote:
> >>> Back to the drawing board on why the miss-match is occuring in
> >>> Config.pm then.
> >> 
> >> somewhere there is /usr/bin/perl referred may be a cross recipe ?
> > 
> > I've hit this issue this morning, and have filed a bug report:
> > 
> >  http://bugzilla.pokylinux.org/show_bug.cgi?id=866
> > 
> > Not sure if it helps but at least it should be easy to reproduce.
> 
> I haven't checked if the OE .dev and OE core gnu-config are similar, but have a look at:
> 
> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=be21179c5321bd0afb9221f020ac12ad75c86a3b
> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=edcdefbf6e0675c1bcc1fc4f464f654223380e50

There are a few related patches to this floating around and I know Tom
did some work in OE.dev to make perl-native an early bootstrap
dependency.

I've been giving this some thought and given the various goals we have,
I think the long term best solution is going to be to place perl into an
isolated bin directory in sysroots, then for anything using really using
perl-native, add that directory to PATH. This is similar to what we now
do with the bootstrap toolchains in OE-Core. This way the dependencies
are deterministic and either perl is or isn't required but we don't
instantly need to build perl-native or run the risk of nasty loops in
the early bootstrap. Anything requiring perl-native would add the
directory to PATH, probably using a tiny class file.

The above patches still would make sense of course.

Cheers,

Richard






More information about the Openembedded-core mailing list