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

Keith E. Fleming kef762 at yahoo.com
Fri Aug 21 17:13:40 CEST 2015


Hi Bruce,
It is Fedora 21
[root at neutron dpdk-2.1.0]# cat /proc/cpuinfo | more
processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 16
model        : 10
model name    : AMD Phenom(tm) II X6 1055T Processor
stepping    : 0
microcode    : 0x10000dc
cpu MHz        : 800.000
cache size    : 512 KB
physical id    : 0
siblings    : 6
core id        : 0
cpu cores    : 6
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 6
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxe
xt fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lah
f_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt cpb hw_pstate npt lbrv svm_lock nrip_sa
ve pausefilter vmmcall
[root at neutron dpdk-2.1.0]# uname -a
Linux neutron 4.1.5-100.fc21.x86_64 #1 SMP Tue Aug 11 00:24:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

 [root at neutron dpdk-2.1.0]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC) 

Let me know if there's anything else you need. Thanks!


     On Friday, August 21, 2015 6:54 AM, Bruce Richardson <bruce.richardson at intel.com> wrote:
   

 On Thu, Aug 20, 2015 at 05:35:10PM +0000, Keith E. Fleming wrote:
> 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
> /lib/librte_eal/linuxapp/igb_uio/modules.order
>   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

What OS platform is this on - from the gcc path, it looks like gcc 4.9 on Redhat 7? Is that correct?

/Bruce


  


More information about the dev mailing list