Re: [poky] [yocto] Python3-native illegal instruction on poky dunfell


Richard Purdie
 

On Sat, 2021-01-16 at 16:48 +0200, Daniela-Marinela Bistrean wrote:
Hello again,
I solved the mystery and I am describing it here in case anyone has
the same problem.

Basically, what I omitted last time and seems to be critical to the
problem is that I was running a virtual machine. The one bit causing
the issue was that avx2 was disabled in my VM and python requires it.
Enabling avx2 fixed the issue.

I managed to reproduce the issue with qemu using the following
command line:
$ qemu-system-x86_64 -enable-kvm  -boot d -m 8G -cpu host,-avx2 -smp
4 -hda disk.bin

Hope it helps,Daniela-Marinela Bistrean
Thanks for reporting back and letting us know. Its now in the archives
in case someone else runs into it. Glad you got sorted out too!

Cheers,

Richard

Join yocto@lists.yoctoproject.org to automatically receive all group messages.