This issue happens only on 64bit build host which does not have 32bit glibc installed. While building on 64bit host, mesa-dri recipe build fails while running generated "compile" program. The build time generated "compile" programs tries to dynamically links with 32bit glibc on the host. If you install 32bit glibc on the 64bit build host then the issues goes away. Command Run: MACHINE=qemux86 bitbake mesa-dri Error seen: | make[3]: Entering directory `/home/nitin/build/build0/tmp/work/i586-poky-linux/mesa-dri-7.8.2-r0/Mesa-7.8.2/src/mesa/shad er/slang/library' | ../../../../../src/glsl/apps/compile fragment slang_common_builtin.gc slang_common_builtin_gc.h | make[3]: ../../../../../src/glsl/apps/compile: Command not found | make[3]: *** [slang_common_builtin_gc.h] Error 127 | make[3]: Leaving directory `/home/nitin/build/build0/tmp/work/i586-poky-linux/mesa-dri-7.8.2-r0/Mesa-7.8.2/src/mesa/shade r/slang/library' | make[2]: *** [glsl_builtin] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[2]: Leaving directory `/home/nitin/build/build0/tmp/work/i586-poky-linux/mesa-dri-7.8.2-r0/Mesa-7.8.2/src/mesa' | make[1]: *** [subdirs] Error 1 | make[1]: Leaving directory `/home/nitin/build/build0/tmp/work/i586-poky-linux/mesa-dri-7.8.2-r0/Mesa-7.8.2/src' | make: *** [default] Error 1 | FATAL: oe_runmake failed NOTE: package mesa-dri-7.8.2-r0: task do_compile: Failed We discussed it on the jabber, and proposed 2 solutions to this issue: 1. give warning that build host does not have 32bit glibc installed 2. make generated "compile" program dynamically links with the i586 version glibc generated by poky for the target.
It is fixed by commit: d9b1d4312cf1f981c5201b027b18594e9ad5a861 "mesa-dri: fix x86-64 target compilation" (http://git.pokylinux.org/?p=poky.git;a=commit;h=d9b1d4312cf1f981c5201b027b18594e9ad5a861)
Add reporter Nitin to CC list for Verification
The current build does not show this issue anymore.