[OE-core] [PATCH 1/1] python3: fix do_configure check platform triplet error

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 11 09:08:49 UTC 2016


On Fri, 2016-03-11 at 09:04 +0000, Burton, Ross wrote:
> 
> On 11 March 2016 at 07:40, Hongxu Jia <hongxu.jia at windriver.com>
> wrote:
> > For p1022ds bsp, the MULTIARCH is powerpc-linux-gnuspev1 and
> > python3 did not recognize the extra 'v1' which caused python3
> > configure error for the platform triplet.
> > 
> Forgive me for dry-by commenting without a lot of clue about this,
> but doesn't that suggest instead that the C function to emit the
> triplets is in fact wrong?

Following the links does give more context. The "bad" triplet is
actually coming from gcc and Hongxu's original patch did change gcc to
"fix" it. Unfortunately it does so at the risk of other problems to
gcc.

The gcc-cross recipes aren't working entirely correctly at the moment
and its just good luck (and sstate) which are meaning things do
actually work out.

The trouble is that changing gcc right now to fix this properly isn't
something we can easily do. So this patch might be the right short term
workaround.

Cheers,

Richard



More information about the Openembedded-core mailing list