If I build core-image-sato for intel-corei7-64 I end up with core dumps in my build directory because qemu segfaulted: NOTE: Running intercept scripts: NOTE: > Executing update_font_cache intercept ... qemu: uncaught target signal 4 (Illegal instruction) - core dumped Illegal instruction I'm guessing the target binaries are using instructions that qemu doesn't support?
Investigation started.
Just to update the bug, there are several places where this could have gone wrong: 1. regression into qemu 2. new compiler using new opcodes that qemu doesn't support 3. software using new opcodes that qemu doesn't support 4. wrong cpu type being passed to qemu in the wrapper
fontconfig is executing the popcnt instruction that is part of SSE4.2, as requested by tune-corei7.inc. Testing a patch to tell qemu.bbclass to pass -cpu Nelhalem so this instruction is emulated.
Patch posted.
Fixed in oe-core fef106b9b97ec48bad2b9a084357b884f653d6c8.
Verified on master: 4006a7f2762ccd5dcbc6cdff49482d4387a73261