Created attachment 1610 [details] compile log poky master:57498cede4696526c121e0112b5dea3e6e8365ac Refer to: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3868 on how to enable security flags. Build a core-image-sato-sdk for genericx86 machine (se full log attached). | grep 'MARKER' gcry_rijndael.marker.new > gcry_rijndael.marker; rm -f gcry_rijndael.marker.new | grep 'MARKER' gcry_serpent.marker.new > gcry_serpent.marker; rm -f gcry_serpent.marker.new | /usr/bin/ld: -r and -shared may not be used together | collect2: error: ld returned 1 exit status | make[3]: *** [trig.module] Error 1 | make[3]: *** Waiting for unfinished jobs.... | make[3]: Leaving directory `/mnt/ssd/poky-gcc-security/build/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r2/build/grub-core' | make[2]: *** [all] Error 2 | make[2]: Leaving directory `/mnt/ssd/poky-gcc-security/build/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r2/build/grub-core' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/mnt/ssd/poky-gcc-security/build/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r2/build' | make: *** [all] Error 2 | ERROR: oe_runmake failed | WARNING: /mnt/ssd/poky-gcc-security/build/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r2/temp/run.do_compile.14239:1 exit 1 from | exit 1 | ERROR: Function failed: do_compile (log file is located at /mnt/ssd/poky-gcc-security/build/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r2/temp/log.do_compile.14239) ERROR: Task 267 (/mnt/ssd/poky-gcc-security/meta/recipes-bsp/grub/grub-efi-native_2.00.bb, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 4731 tasks of which 429 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish: Summary: 1 task failed: /mnt/ssd/poky-gcc-security/meta/recipes-bsp/grub/grub-efi-native_2.00.bb, do_compile Summary: There were 2 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. [yocto@localhost build]$
for qemux86 it didn't fail
qemux86 does not include grub-efi, so you would not find this problem there.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4b6db00cb4d236a6efc95d4d2cbb93a24564a190
This is now ok and was verified with: Build Configuration: BB_VERSION = "1.21.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Fedora-19" TARGET_SYS = "i586-poky-linux" MACHINE = "genericx86" DISTRO = "poky" DISTRO_VERSION = "1.5+snapshot-20131204" TUNE_FEATURES = "m32 core2" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:c51730aaa91066cfb51ad6ec2920fb4f9d9ea94c" Cheers, Ionut C