Hi BL, Are there different variants of DPDK for different platforms? The DPDK recipe in the meta-intel layer is in common directory, means it is available for all the BSPs. Won’t it work with all the BSPs? If it is specific to a particular BSP such as romley, then it should go in the meta-romley directory instead of the common dir.
Nitin From: <Ong>, Boon Ong <[email protected]<mailto:[email protected]>> Date: Tuesday, October 28, 2014 at 6:57 PM To: Lai Eddy <[email protected]<mailto:[email protected]>> Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "Schuetze, Joel D" <[email protected]<mailto:[email protected]>>, "Khade, Abhishek" <[email protected]<mailto:[email protected]>> Subject: Re: [meta-intel] failed to build DPDK v1.7.0 Hi Eddy, The DPD v1.7 recipe that was contributed is validated with meta-romley. Do note that DPDK comes with dependency on the network driver. So far, we have no seen any request on enabling DPDK v1.7 on Mohonpeak. CC’ed Joel and Abhishek who may be able to guide you on the right DPDK version to use for Mohonpeak. Thanks Boon Leong From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Lai Eddy Sent: Monday, October 20, 2014 9:55 PM To: Selvaraj, Sreeju ArmughanX Cc: [email protected]<mailto:[email protected]> Subject: [meta-intel] failed to build DPDK v1.7.0 yocto 1.6.1 on Ubuntu 12.04 , mohonpeak BSP build dpdk got following errors: ===================================================================== ERROR: Function failed: do_compile (log file is located at /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/temp/log.do_compile.10103) ERROR: Logfile of failure stored in: /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/temp/log.do_compile.10103 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 4 -e MAKEFLAGS= EXTRA_LDFLAGS= --sysroot=/c2000/tmp/sysroots/mohonpeak64 EXTRA_CFLAGS= --sysroot=/c2000/tmp/sysroots/mohonpeak64 CROSS=x86_64-poky-linux- prefix= LDFLAGS= WERROR_FLAGS=-w V=1 | make[1]: Entering directory `/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0' | == Build scripts | == Build scripts/testhost | == Build lib | == Build lib/librte_eal | == Build lib/librte_eal/common | == Build lib/librte_eal/linuxapp | == Build lib/librte_eal/linuxapp/igb_uio | Building modules, stage 2. | MODPOST 1 modules | == Build lib/librte_eal/linuxapp/eal | == Build lib/librte_eal/linuxapp/kni | Building modules, stage 2. | MODPOST 1 modules | == Build lib/librte_malloc | == Build lib/librte_ring | == Build lib/librte_mempool | == Build lib/librte_mbuf | == Build lib/librte_timer | == Build lib/librte_cfgfile | == Build lib/librte_cmdline | == Build lib/librte_ether | == Build lib/librte_net | == Build lib/librte_pmd_e1000 | == Build lib/librte_pmd_ixgbe | x86_64-poky-linux-gcc -Wp,-MD,./.ixgbe_rxtx_vec.o.d.tmp -m64 -pthread -march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_COMPILE_TIME_CPUFLAGS=RTE_CPUFLAG_SSE,RTE_CPUFLAG_SSE2,RTE_CPUFLAG_SSE3,RTE_CPUFLAG_SSSE3 -O2 -pipe -g -feliminate-unused-debug-types -I/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/x86_64-ivshmem-linuxapp-gcc/include -include /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/x86_64-ivshmem-linuxapp-gcc/include/rte_config.h -O3 -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 -Wno-deprecated --sysroot=/media/datahd/c2000/tmp/sysroots/mohonpeak64 -o ixgbe_rxtx_vec.o -c /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | In file included from /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:41:0: | /c2000/tmp/sysroots/x86_64-linux/usr/lib/corei7-64-poky-linux/gcc/x86_64-poky-linux/4.8.2/include/nmmintrin.h:31:3: error: #error "SSE4.2 instruction set not enabled" | # error "SSE4.2 instruction set not enabled" | ^ | /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c: In function 'ixgbe_recv_pkts_vec': | /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:297:3: error: implicit declaration of function '_mm_shuffle_epi8' [-Werror=implicit-function-declaration] | pkt_mb4 = _mm_shuffle_epi8(descs[3], shuf_msk); | ^ : : : | /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:341:3: error: implicit declaration of function '_mm_popcnt_u64' [-Werror=implicit-function-declaration] | var = _mm_popcnt_u64(_mm_cvtsi128_si64(staterr)); | ^ | /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:341:3: error: nested extern declaration of '_mm_popcnt_u64' [-Werror=nested-externs] | cc1: all warnings being treated as errors | make[4]: *** [ixgbe_rxtx_vec.o] Error 1 | make[3]: *** [librte_pmd_ixgbe] Error 2 | make[2]: *** [lib] Error 2 | make[1]: *** [all] Error 2 | make[1]: Leaving directory `/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0' | make: *** [all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/temp/log.do_compile.10103) ERROR: Task 7 (/poky/meta-intel/common/recipes-extended/dpdk/dpdk_1.7.0.bb<http://dpdk_1.7.0.bb>, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 591 tasks of which 590 didn't need to be rerun and 1 failed. No currently running tasks (552 of 597) Summary: 1 task failed: /poky/meta-intel/common/recipes-extended/dpdk/dpdk_1.7.0.bb<http://dpdk_1.7.0.bb>, do_compile Summary: There was 1 ERROR message shown, returning a non-zero exit code. -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
