Wind River Support Network

HomeDefectsOVP-373
Fixed

OVP-373 : Failed to build pktgen package.

Created: Nov 21, 2013    Updated: Mar 11, 2016
Resolved Date: Jan 21, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

Problem Description
===============================
Failed to buold pktgen package.

Expected Behavior
===============================
Build succeeds.

Observed Behavior
===============================
c /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/lib/libwr_common/wr_mempool.c
| x86-64-wrswrap-linux-gnu-gcc -Wp,-MD,./.wr_pcap.o.d.tmp -m64 -pthread -g -march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_COMPILE_TIME_CPUFLAGS=RTE_CPUFLAG_SSE,RTE_CPUFLAG_SSE2,RTE_CPUFLAG_SSSE3,RTE_CPUFLAG_SSE4_1  -I/AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/x86_64-wr-linuxapp-gcc/include -include /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/x86_64-wr-linuxapp-gcc/include/rte_config.h -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -I/AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/lib/libwr_common -O3   -o wr_pcap.o -c /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/lib/libwr_common/wr_pcap.c
| In file included from /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/x86_64-wr-linuxapp-gcc/include/rte_hash_crc.h:49:0,
|                  from /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/lib/libwr_common/wr_pcap.c:113:
| /lpg-build/cdc/sustaining/WR50110LX02/wrlinux-5/layers/wr-toolchain/4.6a-116/bin/../lib/gcc/i686-wrs-linux-gnu/4.6.3/include/nmmintrin.h:31:3: error: #error "SSE4.2 instruction set not enabled"
| In file included from /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/lib/libwr_common/wr_pcap.c:113:0:
| /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/x86_64-wr-linuxapp-gcc/include/rte_hash_crc.h: In function 'rte_hash_crc_4byte':
| /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/x86_64-wr-linuxapp-gcc/include/rte_hash_crc.h:64:2: error: implicit declaration of function '_mm_crc32_u32' [-Werror=implicit-function-declaration]
| /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk/x86_64-wr-linuxapp-gcc/include/rte_hash_crc.h:64:2: error: nested extern declaration of '_mm_crc32_u32' [-Werror=nested-externs]
| cc1: all warnings being treated as errors
| make[5]: *** [wr_pcap.o] Error 1
| make[4]: *** [libwr_common] Error 2
| make[3]: *** [lib] Error 2
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk'
| make[1]: *** [x86_64-wr-linuxapp-gcc_install] Error 2
| make[1]: Leaving directory `/AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk'
| make: *** [install] Error 2
| make: Leaving directory `/AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/Pktgen-DPDK-master/dpdk'
| ERROR: oe_runmake failed
| WARNING: /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/temp/do_compile/run.do_compile.4642:107 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (see /AutoTest/PROJECT/pyan/WR50110/WIND00442302/bitbake_build/tmp/work/x86_64-wrs-linux/pktgen-2.1.5-r1/temp/do_compile/log.do_compile.4642 for further information)
NOTE: recipe pktgen-2.1.5-r1: task do_compile: Failed
ERROR: Task 7 (/AutoTest/PROJECT/pyan/WR50110/WIND00442302/layers/wr-ovp/ovp/base/recipes-dpdk/pktgen/pktgen_2.1.5.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 814 tasks of which 728 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /AutoTest/PROJECT/pyan/WR50110/WIND00442302/layers/wr-ovp/ovp/base/recipes-dpdk/pktgen/pktgen_2.1.5.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [pktgen] Error 1
make: Leaving directory `/AutoTest/PROJECT/pyan/WR50110/WIND00442302/build'


Logs(Key error logs)
===============================
NONE

Steps to Reproduce

1. $ configure --enable-board=intel-xeon-core --enable-rootfs=ovp-kvm --enable-addons=wr-ovp 
2. $ make -C build pktgen

Other Downloads


Live chat
Online