[oe] Request for branch merge

Richard Purdie rpurdie at rpsys.net
Thu Apr 1 16:05:15 UTC 2010


On Thu, 2010-04-01 at 08:41 -0700, Tom Rini wrote:
> On Thu, 2010-04-01 at 16:33 +0100, Richard Purdie wrote:
> 
> > * Added relocatable binary processing from Poky for -native binaries 
> >   using chrpath. This isn't enabled for -cross packages due to the 
> >   relative path length problems.
> 
> Is there a reason to not use $ORIGIN here instead?

This *is* using $$ORIGIN. We're just postprocessing to do the injection.

>   The patch Chris
> Larson posted ages ago does get this right (the hard part is
> gcc/gdb/binutils due to the multi configure running).

This class automatically handles all that without having all those
horrible escaped strings that are likely to break each time we change
versions or add new packages.

>   And any path
> length issues you hit with -cross you should be able to hit with
> -native, no?

No, since -native binaries just need to go up to the root of the
staging/ directory as a maximum but the cross directory crosses the
cross/ to staging/ boundary which is a level further.

If we move cross/ into staging/ as is planned, this problem goes away at
that point.

Cheers,

Richard







More information about the Openembedded-devel mailing list