]> code.ossystems Code Review - openembedded-core.git/commit
python3: python3: Fix build error x86->x86
authorRicardo Ribalda Delgado <ricardo@ribalda.com>
Wed, 19 Jun 2019 09:44:55 +0000 (11:44 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jun 2019 12:15:55 +0000 (13:15 +0100)
commit2106a567820bad438ff78d54a49e3d87da428dcf
tree920aeb6ae22764e4bd2c5022aaff9898254afbad
parent4e315dd23c52b75fd64dca89e7bffe25a0b0e6f9
python3: python3: Fix build error x86->x86

When building x86->x86 the system will try to execute .so and related items
from the default PYTHONPATH.  This will fail if the target CPU contains
instructions that the host CPU does not have, add CROSSPYTHONPATH
into PYTHONPATH so we can prepend the list to find correct libs.

Fixes:

Illegal instruction (core dumped)
Makefile:625: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 132
make: *** Waiting for unfinished jobs....

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/crosspythonpath.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.7.3.bb