[meta-intel] Yocto 1.6.1 + mohonpeak BSP + dpdk build error

Gaurang Shastri gshastri at mvista.com
Wed Aug 27 22:34:36 PDT 2014


Hi,

Even I got the same error while trying to compile the recipe on "RHEL-7
Beta".

The strange is its not coming on Ubuntu-12.04 or CentOS-6.3 (x86_64).

//Gaurang Shastri


On Thu, Aug 28, 2014 at 11:04 AM, Lai Eddy <eddy.lai.tw at gmail.com> wrote:

> I add "dpdk" to my loca.conf then got following build error:
>
> $ bitbake -k core-image-full-cmdline
> WARNING: Host distribution "CentOS-7.0.1406" has not been validated with
> this version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> Loading cache: 100%
> |###############################################################################################|
> ETA:  00:00:00
> Loaded 1252 entries from dependency cache.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION        = "1.22.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "CentOS-7.0.1406"
> TARGET_SYS        = "x86_64-poky-linux"
> MACHINE           = "mohonpeak64"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.6.1"
> TUNE_FEATURES     = "m64 corei7"
> TARGET_FPU        = ""
> meta
> meta-yocto
> meta-yocto-bsp    = "daisy:87671f72e7459d5d5ddb37691354fab970c557ee"
> meta-intel
> meta-mohonpeak    = "daisy:538003074d3a131adba1b46ac4d04cfc4018a1a5"
>
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Function failed: do_compile (log file is located at
> /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/temp/log.do_compile.3498)
> ERROR: Logfile of failure stored in:
> /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/temp/log.do_compile.3498
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 3 -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.6.0r2-r0/dpdk-1.6.0r2'
> | == 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_cmdline
> | == Build lib/librte_ether
> | == Build lib/librte_net
> | == Build lib/librte_pmd_e1000
> | == Build lib/librte_pmd_ixgbe
> | == Build lib/librte_pmd_ring
> | == Build lib/librte_pmd_virtio
> | == Build lib/librte_pmd_vmxnet3
> | == Build lib/librte_hash
> | == Build lib/librte_lpm
> | == Build lib/librte_power
> | == Build lib/librte_meter
> | == Build lib/librte_sched
> | x86_64-poky-linux-gcc -Wp,-MD,./.rte_sched.o.d.tmp -m64 -pthread
>  -march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2
> -DRTE_MACHINE_CPUFLAG_SSE3
> -DRTE_COMPILE_TIME_CPUFLAGS=RTE_CPUFLAG_SSE,RTE_CPUFLAG_SSE2,RTE_CPUFLAG_SSE3
>  -O2 -pipe -g -feliminate-unused-debug-types
> -I/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/dpdk-1.6.0r2/x86_64-ivshmem-linuxapp-gcc/include
> -include
> /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/dpdk-1.6.0r2/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  --sysroot=/c2000/tmp/sysroots/mohonpeak64 -o rte_sched.o
> -c
> /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/dpdk-1.6.0r2/lib/librte_sched/rte_sched.c
> | In file included from
> /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/dpdk-1.6.0r2/lib/librte_sched/rte_bitmap.h:77:0,
> |                  from
> /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/dpdk-1.6.0r2/lib/librte_sched/rte_sched.c:47:
> |
> /c2000/tmp/sysroots/x86_64-linux/usr/lib/corei7-64-poky-linux/gcc/x86_64-poky-linux/4.8.2/include/tmmintrin.h:31:3:
> error: #error "SSSE3 instruction set not enabled"
> |  # error "SSSE3 instruction set not enabled"
> |    ^
> | make[4]: *** [rte_sched.o] Error 1
> | make[3]: *** [librte_sched] Error 2
> | make[2]: *** [lib] Error 2
> | make[1]: *** [all] Error 2
> | make[1]: Leaving directory
> `/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/dpdk-1.6.0r2'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING:
> /home/haap/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/temp/run.do_compile.3498:1
> exit 1 from
> |   exit 1
> | ERROR: Function failed: do_compile (log file is located at
> /c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.6.0r2-r0/temp/log.do_compile.3498)
> ERROR: Task 450 (/poky/meta-intel/common/recipes-extended/dpdk/
> dpdk_1.6.0r2.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 3620 tasks of which 3619 didn't need to be
> rerun and 1 failed.
> No currently running tasks (2435 of 3630)
>
> Summary: 1 task failed:
>   /poky/meta-intel/common/recipes-extended/dpdk/dpdk_1.6.0r2.bb,
> do_compile
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
> --
> _______________________________________________
> meta-intel mailing list
> meta-intel at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-intel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20140828/b92be343/attachment-0001.html>


More information about the meta-intel mailing list