* reproduce info: 1. use meta-intel/meta-sugarbay/ BSP 2. build machine is x86_32 machine 3. bitbake poky-image-sato # error log: the build failed in grub-1.98 do_compile: # cat tmp/work/snb-poky-linux/grub-1.98-r0/temp/log.do_compile.19746 ... ./gentrigtables > trigtables.c x86_64-poky-linux-nm -g --defined-only -P -p pre-crypto.o | sed 's/^\([^ ]*\).*/\1 crypto/' > def-crypto.lst x86_64-poky-linux-nm -g --defined-only -P -p pre-hashsum.o | sed 's/^\([^ ]*\).*/\1 hashsum/' > def-hashsum.lst x86_64-poky-linux-nm -g --defined-only -P -p pre-pbkdf2.o | sed 's/^\([^ ]*\).*/\1 pbkdf2/' > def-pbkdf2.lst /bin/sh: ./gentrigtables: cannot execute binary file # file tmp/work/snb-poky-linux/grub-1.98-r0/grub-1.98/gentrigtables /home/kyu3/work/snb/tmp/work/snb-poky-linux/grub-1.98-r0/grub-1.98/gentrigtables: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped so the reason is that gentrigtables is 64bit binary, and can not run in x86_32 machine.
Fixed by commit 17992386d3416cb24cfdf5857411ed143de20371