Created attachment 3452 [details] log file of "testsdk" Specify multilib as described in poky/meta-skeleton/conf/multilib-example2.conf: Place in local.conf: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:libx32" DEFAULTTUNE_virtclass-multilib-libx32 = "x86-64-x32" also add USER_CLASSES += " testsdk " run $ bitbake core-image-minimal $ bitbake core-image-minimal -c testsdk The test fails (see the attached log). The reason is the x32 meta-toolchain is not built correctly. There are two issues: CPP cannot find include files CC cannot find libgcc
correction to reproduce the problem: run $ bitbake core-image-minimal -c populate_sdk $ bitbake core-image-minimal -c testsdk
Patches fixing the problem merged with master: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1b55ee1a4815f03feecd226995066a8c11702e0f https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8209a01242b3ea265c69049879e9ade951bf9602