DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Issue->Dpdk for arm cortex-a15 compilation
@ 2017-05-16 10:08 Jimmy Carter
  2017-05-16 10:51 ` Jan Viktorin
  0 siblings, 1 reply; 11+ messages in thread
From: Jimmy Carter @ 2017-05-16 10:08 UTC (permalink / raw)
  To: users, dev, maintainers, viktorin, jianbo.liu, kosar

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

Hi All

I am using dpdk16.11.1 and want to use openwrt external toolchain so that I
can cross compile for arm cortex 15
neon.(arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi)
My target board is Tp link archer C2600.
I am have assigned these env variables but still getting compilation error

export
STAGING_DIR=/home/xav-101000739/ovslede/source/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi
export
PATH=$PATH:/home/xav-101000739/ovslede/source/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/bin


export CROSS=arm-openwrt-linux-
export DPDK_TARGET=arm-armv7a-linuxapp-gcc
export DPDK_DIR=$PWD
export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
export
CFLAGS+=-I/home/xav-101000739/ovslede/source/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi
export RTE_SDK=$PWD
export RTE_TARGET=arm-armv7a-linuxapp-gcc
export DPDK_BUILD_DIR=arm-armv7a-linuxapp-gcc


Error:Attached file

Please advise
Does dpdk have support for openwrt (arm cortex a15)

Thanks
Akshay

[-- Attachment #2: dpdk-error.txt --]
[-- Type: text/plain, Size: 2748 bytes --]

make -f /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/mk/rte.sdkconfig.mk checkconfig
make -f /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/mk/rte.sdkconfig.mk \
		headerconfig NODOTCONF=1
make -s depdirs
make -f /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/mk/rte.sdkbuild.mk all
== Build lib
make S=lib -f /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/lib/Makefile -C /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/build/build/lib all
== Build lib/librte_compat
== Build lib/librte_eal
== Build lib/librte_eal/common
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/eal
arm-openwrt-linux-gcc -Wp,-MD,./.eal_memory.o.d.tmp  -marm -munaligned-access -pthread -fPIC  -march=armv7-a -mtune=cortex-a9 -mfpu=neon -DRTE_MACHINE_CPUFLAG_NEON  -I/home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/build/include -include /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/build/include/rte_config.h -I/home/xav-101000739/ovslede/source/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include -I/home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/lib/librte_eal/linuxapp/eal/include -I/home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/lib/librte_eal/common -I/home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/lib/librte_eal/common/include -W -Wall -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-error=cast-align -O3    --sysroot=/home/xav-101000739/ovslede/source/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/include -o eal_memory.o -c /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/lib/librte_eal/linuxapp/eal/eal_memory.c 
In file included from /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/build/include/generic/rte_spinlock.h:50:0,
                 from /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/build/include/rte_spinlock.h:45,
                 from /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/build/include/rte_malloc_heap.h:39,
                 from /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/build/include/rte_eal_memconfig.h:40,
                 from /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/lib/librte_eal/linuxapp/eal/eal_memory.c:92:
/home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/build/include/rte_lcore.h:56:10: error: unknown type name 'cpu_set_t'
  typedef cpu_set_t rte_cpuset_t;
          ^
make[5]: *** [eal_memory.o] Error 1
make[4]: *** [eal] Error 2
make[3]: *** [linuxapp] Error 2
make[2]: *** [librte_eal] Error 2
make[1]: *** [lib] Error 2
make: *** [all] Error 2



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-05-16 19:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-16 10:08 [dpdk-dev] Issue->Dpdk for arm cortex-a15 compilation Jimmy Carter
2017-05-16 10:51 ` Jan Viktorin
2017-05-16 11:22   ` [dpdk-dev] [dpdk-maintainers] " Thomas Monjalon
2017-05-16 11:38     ` Jan Viktorin
2017-05-16 11:44   ` [dpdk-dev] " Neil Horman
2017-05-16 11:51     ` Jan Viktorin
2017-05-16 19:22       ` Neil Horman
2017-05-16 11:55     ` Jimmy Carter
2017-05-16 12:28       ` Jan Viktorin
2017-05-16 13:27         ` Jimmy Carter
2017-05-16 14:00           ` Jan Viktorin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).