We encounter following issues while trying to build VPP over ARM 64. It seems right now only ARM32 are supported in the code. I list the steps we tried and hope VPP folks can help us work around this issue.
Steps: 1. install Ubuntu 16.04 on OD1K $>> uname -a Linux OD1K 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:10:33 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux 2. git clone VPP 17.04 and build VPP ## Error: make[2]: Entering directory '/home/huawei/GIT/vpp.1704/dpdk' cat: '/sys/bus/pci/devices/0000:00:01.0/uevent': No such file or directory **Work around to bypass MakeFile: ############################################################################## # Cavium ThunderX ############################################################################## #else ifneq (,$(findstring thunder,$(shell cat /sys/bus/pci/devices/0000:00:01.0/uevent | grep cavium))) else export CROSS="" DPDK_TARGET ?= arm64-thunderx-linuxapp-$(DPDK_CC) DPDK_MACHINE ?= thunderx DPDK_TUNE ?= generic 3. Then, make build and failed following: /home/huawei/GIT/vpp.1704/build-data/../src/plugins/dpdk/device/node.c:276:9: error: `u8x32' undeclared (first use in this function) *(u8x32 *) (((u8 *) d0) + i * 32) = ** Check vppinfra/vppinfra/vector.h and don't find u8x32 with "aarch64" #if defined (__aarch64__) || defined (__arm__) typedef unsigned int u32x4 _vector_size (16); typedef u8 u8x16 _vector_size (16); typedef u16 u16x8 _vector_size (16); typedef u32 u32x4 _vector_size (16); typedef u64 u64x2 _vector_size (16); #endif 4. According https://wiki.fd.io/view/VPP/Alternative_builds The VPP seems to support arm32 only . export PLATFORM=arm32 *Questions: Did I miss some steps or should include other header files that defines u8x32? Thanks, George
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev