Wind River Support Network

HomeDefectsLIN5-18570
Fixed

LIN5-18570 : wrl5 :kexec-tools build failure

Created: Apr 23, 2014    Updated: Dec 19, 2017
Resolved Date: May 7, 2014
Found In Version: 5.0.1.13
Fix Version: 5.0.1.15
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

The following build error is observed:

| x86-64-wrswrap-linux-gnu-gcc   -m64 --sysroot=/usr/work/intel-xeon-core/proj_1/bitbake_build/tmp/sysroots/intel-xeon-core -O2 -pipe -g -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/  -I./kexec/arch/x86_64/include  -c -MD -o kexec/arch/i386/kexec-x86-common.o kexec/arch/i386/kexec-x86-common.c
| kexec/arch/i386/kexec-x86-common.c: In function 'efi_map_added':
| kexec/arch/i386/kexec-x86-common.c:402:18: warning: variable 'res' set but not used [-Wunused-but-set-variable]
| In file included from /usr/work/intel-xeon-core/proj_1/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/linux/fb.h:5:0,
|                  from kexec/arch/i386/x86-linux-setup.c:29:
| /usr/work/intel-xeon-core/proj_1/bitbake_build/tmp/sysroots/intel-xeon-core/usr/include/linux/i2c.h:149:15: error: missing binary operator before token "("
| make: *** [kexec/arch/i386/x86-linux-setup.o] Error 1

Steps to Reproduce

$ configure --enable-board=intel-xeon-core \
      --enable-rootfs=glibc_cgl --enable-kernel=cgl \
      --with-layer=wr-kernel/kernel-dev \
      --enable-jobs=2 --enable-parallel-pkgbuilds=4 \
      --enable-rm-work=yes --enable-rm-oldimgs=yes \
      --enable-reconfig --with-sstate-dir=/path/to/sstate/ \
      --with-rcpl-version=0013
$ make fs

The error occurs close to the end of the build.
The sstate dir was empty to begin with.

Other Downloads


Live chat
Online