Wind River Support Network

HomeDefectsLIN6-8464
Fixed

LIN6-8464 : [cav-octeon3] do_compile octeon-kexec-net.o Error

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

Description

do_compile octeon-kexec-net.o Error
------------

ERROR: Function failed: do_compile (log file is located at /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/temp/do_compile/log.do_compile.21673)
ERROR: Logfile of failure stored in: /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/temp/do_compile/log.do_compile.21673
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 16 vmlinux CC=mips-wrs-linux-gcc   LD=mips-wrs-linux-ld
| /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/linux/Makefile:1039: target `_clean_samples' given more than once in the same rule.
|   GEN     /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/linux-cav-octeon3-standard-build/Makefile
|   CHK     include/generated/uapi/linux/version.h
|   CHK     include/generated/utsrelease.h
|   Using /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/linux as source for kernel
|   CC      scripts/mod/devicetable-offsets.s
|   GEN     scripts/mod/devicetable-offsets.h
|   HOSTCC  scripts/mod/file2alias.o
|   HOSTLD  scripts/mod/modpost
|   Checking missing-syscalls for N32
|   CALL    /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/linux/scripts/checksyscalls.sh
|   Checking missing-syscalls for O32
|   CALL    /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/linux/scripts/checksyscalls.sh
|   CALL    /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/linux/scripts/checksyscalls.sh
|   CHK     include/generated/compile.h
|   DTC     arch/mips/cavium-octeon/octeon_3xxx.dtb
|   DTC     arch/mips/cavium-octeon/octeon_68xx.dtb
|   DTB    arch/mips/cavium-octeon/octeon_68xx.dtb.S
|   DTB    arch/mips/cavium-octeon/octeon_3xxx.dtb.S
|   AS      arch/mips/cavium-octeon/octeon_68xx.dtb.o
|   AS      arch/mips/cavium-octeon/octeon_3xxx.dtb.o
|   LD      arch/mips/cavium-octeon/built-in.o
| rm arch/mips/cavium-octeon/octeon_3xxx.dtb.S arch/mips/cavium-octeon/octeon_68xx.dtb.S
|   LD      arch/mips/built-in.o
|   CHK     kernel/config_data.h
|   LD      drivers/net/ethernet/octeon/octeon-ethernet.o
|   CC      drivers/net/ethernet/octeon/octeon-kexec-net.o
| /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/linux/drivers/net/ethernet/octeon/octeon-kexec-net.c: In function 'octeon_shutdown_network_hw':
| /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/linux/drivers/net/ethernet/octeon/octeon-kexec-net.c:64:3: error: implicit declaration of function 'cvmx_fpa_free' [-Werror=implicit-function-declaration]
|    cvmx_fpa_free(work, CVMX_FPA_WQE_POOL, 0);
|    ^
| cc1: some warnings being treated as errors
| make[6]: *** [drivers/net/ethernet/octeon/octeon-kexec-net.o] Error 1
| make[5]: *** [drivers/net/ethernet/octeon] Error 2
| make[4]: *** [drivers/net/ethernet] Error 2
| make[3]: *** [drivers/net] Error 2
| make[2]: *** [drivers] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/temp/do_compile/run.do_compile.21673:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /octeon3/std/all/bitbake_build/tmp/work/cav_octeon3-wrs-linux/linux-windriver/3.10-r0/temp/do_compile/log.do_compile.21673)
ERROR: Task 316 (/octeon3/std/all/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.10.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1220 tasks of which 1178 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /octeon3/std/all/layers/wr-kernel/recipes-kernel/linux/linux-windriver_3.10.bb, do_compile

Steps to Reproduce

1) configure --enable-board=cav-octeon3 --enable-kernel=standard --enable-rootfs=glibc-std --enable-test=yes --with-layer=/wr-testing/kts-test,/wr-testing/bts-new,/wr-testing/ltp --with-template=feature/kts-basic,feature/kts-extended,feature/kts-standard,feature/bts --enable-parallel-pkgbuilds=16 --enable-jobs=16
2) make all

Check the build logs.

Other Downloads


Live chat
Online