[dpdk-dev] DPDK 2.1.0 build error: inlining failed in call to always_inline

Keith E. Fleming kef762 at yahoo.com
Thu Aug 20 19:35:10 CEST 2015

make config T=x86_64-native-linuxapp-gccsed -ri 's,(PMD_PCAP=).*,\1y,' build/.configmake
[root at neutron dpdk-2.1.0]# make 2>&1 | more
== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
== Build lib/librte_eal/common
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
(cat /dev/null;   echo kernel//root/dpdk-2.1.0/build/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko;) > /root/dpdk-2.1.0/build/build
  Building modules, stage 2.
  MODPOST 1 modules
== Build lib/librte_eal/linuxapp/eal
  CC eal_common_options.o
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/x86intrin.h:37:0,
                 from /root/dpdk-2.1.0/build/include/rte_vect.h:67,
                 from /root/dpdk-2.1.0/build/include/rte_memcpy.h:46,
                 from /root/dpdk-2.1.0/lib/librte_eal/common/eal_common_options.c:48:
/root/dpdk-2.1.0/build/include/rte_memcpy.h: In function ‘rte_memcpy’:
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/tmmintrin.h:185:1: error: inlining failed in call to always_inline ‘_mm_alignr_epi8’: t
arget specific option mismatch
 _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
In file included from /root/dpdk-2.1.0/lib/librte_eal/common/eal_common_options.c:48:0:
/root/dpdk-2.1.0/build/include/rte_memcpy.h:425:9: error: called from here

I can't even guess at what the problem is here. It's a total trainwreck. I assume this has compiled successfully for someone somewhere? Thanks

More information about the dev mailing list