Wind River Support Network

HomeDefectsLIN6-6828
Fixed

LIN6-6828 : strace build failed

Created: Feb 26, 2014    Updated: Dec 3, 2018
Resolved Date: Mar 4, 2014
Found In Version: 6.0.0.3
Fix Version: 6.0.0.4,6.0.0.6
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config, Kernel

Description

build strace log:

ERROR: Function failed: do_compile (log file is located at /oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/temp/do_compile/log.do_compile.15692)

ERROR: Logfile of failure stored in: /oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/temp/do_compile/log.do_compile.15692
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 9
| /bin/mkdir -p ./linux
| cat ./linux/ioctlent.h.in ./linux/x86_64/ioctlent.h.in | \
|               ccache x86_64-wrs-linux-gcc  -m64  --sysroot=/oot-modules/bitbake_build/tmp/sysroots/intel-x86-64 -DHAVE_CONFIG_H -I. -I. -I./linux -I./linux/x86_64 -I./linux -I./linux  -Wall -Wwrite-strings -O2 -pipe -g -feliminate-unused-debug-types -E -P - | \
|               LC_ALL=C sort -u -k3,3 -k2,2 | \
|               awk -f ./linux/ioctlent-filter.awk > linux/ioctlent.h
| make  all-recursive
| make[1]: Entering directory `/oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/strace-4.8'
| Making all in tests
| make[2]: Entering directory `/oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/strace-4.8/tests'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/strace-4.8/tests'
| make[2]: Entering directory `/oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/strace-4.8'
| ccache x86_64-wrs-linux-gcc  -m64  --sysroot=/oot-modules/bitbake_build/tmp/sysroots/intel-x86-64 -DHAVE_CONFIG_H -I. -I. -I./linux -I./linux/x86_64 -I./linux -I./linux  -Wall -Wwrite-strings -O2 -pipe -g -feliminate-unused-debug-types -c bjm.c
......
| ccache x86_64-wrs-linux-gcc  -m64  --sysroot=/oot-modules/bitbake_build/tmp/sysroots/intel-x86-64 -DHAVE_CONFIG_H -I. -I. -I./linux -I./linux/x86_64 -I./linux -I./linux  -Wall -Wwrite-strings -O2 -pipe -g -feliminate-unused-debug-types -c strace.c
| In file included from process.c:66:0:
| /oot-modules/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args'
|  struct ptrace_peeksiginfo_args {
|         ^
| In file included from defs.h:159:0,
|                  from process.c:37:
| /oot-modules/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/sys/ptrace.h:191:8: note: originally defined here
|  struct ptrace_peeksiginfo_args
|         ^
| make[2]: *** [process.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/strace-4.8'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/strace-4.8'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/temp/do_compile/run.do_compile.15692:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /oot-modules/bitbake_build/tmp/work/x86_64-wrs-linux/strace/4.8-r0/temp/do_compile/log.do_compile.15692)
NOTE: recipe strace-4.8-r0: task do_compile: Failed

Steps to Reproduce

1./lpg-build/cdc/fast_prod/wrlinuxcgp-6003/dvd_install/lp06_14sp/wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-build=production --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-ccache=yes --enable-jobs=9 --enable-parallel-pkgbuilds=9 --enable-reconfig --enable-rm-work=yes  --without-template=wr-cgp/cgp/templates/feature/cgp-full/template.conf,wr-cgp/cgp/templates/feature/cgp-full/image.inc --enable-doc-pages=target --with-layer=wr-kernel/kernel-dev --with-rcpl-version=0003
2. make export-sdk

Other Downloads


Live chat
Online