> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Suryanathan P > Sent: Wednesday, July 23, 2014 10:28 AM > To: dev at dpdk.org > Subject: [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly? > > Hi, > > I am trying to compile the test-pmd app on an Intel Core i7 targeted to run > on Intel Atom target. > > When I run test pmd binary on the target machine, it fails to start with: > > ERROR: This system does not support "AVX". > Please check that RTE_MACHINE is set correctly. > > This is how I am building dpdk: > > RTE_MAHCHINE=atm > export RTE_MACHINE > > make install T=x86_64-native-linuxapp-gcc > > Since this didn't work, I copied > > cp config/defconfig_x86_64-native-linuxapp-gcc to > config/defconfig_x86_64-atm-linuxapp-gcc > > and changed: > > CONFIG_RTE_MACHINE="atm" > > Followed by build: > make install T=x86_64-atm-linuxapp-gcc > > This failed when compiling: > == Build lib/librte_pmd_ixgbe > . > . > CC ixgbe_rxtx_vec.o > In file included from > /home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:41:0: > /usr/lib/gcc/x86_64-linux-gnu/4.6/include/nmmintrin.h:31:3: error: #error > "SSE4.2 instruction set not enabled" > /home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c: In function > 'ixgbe_recv_pkts_vec' > > Any help is appreciated. > > Thanks. > Suryanathan
To compile for the atom target you probably need to turn off the ACL library and set the "INC_VECTOR" setting for IXGBE to "n" to disable the components which require SSE4.2. /Bruce