On 22 Sep 2022, at 08:47, Yu, Mingli via lists.openembedded.org <mingli.yu=windriver....@lists.openembedded.org> wrote: > | Illegal instruction (core dumped)
This is _exactly_ why using qemu-user in a build is a _terrible_ idea. Please, someone revert this patch from 2021. Yes, CMake is terrible and doesn’t support easily building native tools for use at build time, so we need to build a miniature native package or to hand-compile the binaries which are needed. Plenty of prior art across oe-core for those. Both of those solutions are better than building the binaries for the target and then just saying LOL OH WELL when qemu doesn’t work. Mingli’s problem is almost certainly that the target tune is using (relatively) new and shiny x86 instructions (for example, glibc likes to use SSE when it can), which qemu-user can’t emulate. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#98925): https://lists.openembedded.org/g/openembedded-devel/message/98925 Mute This Topic: https://lists.openembedded.org/mt/84015256/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-