17.05.2022 14:51, Michael Tokarev wrote:
...
Now you have a reproducer that installed qemu-user-static on a real system and
not a chroot and we observe the same effect.

And now this is interesting.  I finally were able to reproduce the issue but
I don't think the prob is in qemu.  It is the gcc, not qemu.

When using -cpu host, the problem does not occur. Only when using the default
qemu cpu (kvm64?) it is shown.  It looks like it is the reason why it can
not be reproduced on a bare metal too (in a chroot in a real system).

This is.. wow.

I experimented with various -cpu types of the "outer" qemu-system.
It fails with -cpu Westmere but works with -cpu SandyBridge.
It also fails with -cpu SandyBridge,-avx

So it requires avx, and fails if avx is not available.

When compiled with gcc-10, it does not happen.

/mjt

Reply via email to