Wind River Support Network

HomeDefectsLIN6-8612
Fixed

LIN6-8612 : grub fails do_compile -- error: statement may be undefined in the final loop iteration.

Created: Oct 23, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 23, 2014
Found In Version: 6.0
Fix Version: 6.0.0.13
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

util/grub-mkimage.c: In function 'argp_parser':
util/grub-mkimage.c:1739:38: error: statement may be undefined in the final loop iteration. [-Werror=aggressive-loop-optimizations]
    for (j = 0; image_targets[i].names[j]
---

make[2]: Leaving directory `/ala-blade32.2/builds-2014-10-23-042047/intel-x86-64-ovp-kvm/bitbake_build/tmp/work/x86_64-wrs-linux/grub/2.00-r1/grub-2.00'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ala-blade32.2/builds-2014-10-23-042047/intel-x86-64-ovp-kvm/bitbake_build/tmp/work/x86_64-wrs-linux/grub/2.00-r1/grub-2.00'
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: /ala-blade32.2/builds-2014-10-23-042047/intel-x86-64-ovp-kvm/bitbake_build/tmp/work/x86_64-wrs-linux/grub/2.00-r1/temp/do_compile/run.do_compile.11034:136 exit 1 from
  exit 1
ERROR: Function failed: do_compile (log file is located at /ala-blade32.2/builds-2014-10-23-042047/intel-x86-64-ovp-kvm/bitbake_build/tmp/work/x86_64-wrs-linux/grub/2.00-r1/temp/do_compile/log.do_compile.11034)

Steps to Reproduce

Configure a build with the following options:
--enable-board=qemux86 \
--enable-rootfs=glibc-std-sato \
--enable-kernel=standard \

make bbs
bitbake grub

Other Downloads


Live chat
Online