From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Keith E. Fleming" Subject: Re: DPDK 2.1.0 build error: inlining failed in call to always_inline Date: Fri, 21 Aug 2015 15:13:40 +0000 (UTC) Message-ID: <590738896.8600735.1440170020765.JavaMail.yahoo@mail.yahoo.com> References: <20150821105432.GA3240@bricha3-MOBL3> Reply-To: "Keith E. Fleming" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Bruce Richardson Return-path: Received: from nm6-vm1.bullet.mail.ne1.yahoo.com (nm6-vm1.bullet.mail.ne1.yahoo.com [98.138.91.71]) by dpdk.org (Postfix) with ESMTP id 7A8198DB1 for ; Fri, 21 Aug 2015 17:13:45 +0200 (CEST) In-Reply-To: <20150821105432.GA3240@bricha3-MOBL3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Bruce, It is Fedora 21 [root@neutron dpdk-2.1.0]# cat /proc/cpuinfo | more processor=C2=A0=C2=A0=C2=A0 : 0 vendor_id=C2=A0=C2=A0=C2=A0 : AuthenticAMD cpu family=C2=A0=C2=A0=C2=A0 : 16 model=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 : 10 model name=C2=A0=C2=A0=C2=A0 : AMD Phenom(tm) II X6 1055T Processor stepping=C2=A0=C2=A0=C2=A0 : 0 microcode=C2=A0=C2=A0=C2=A0 : 0x10000dc cpu MHz=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 : 800.000 cache size=C2=A0=C2=A0=C2=A0 : 512 KB physical id=C2=A0=C2=A0=C2=A0 : 0 siblings=C2=A0=C2=A0=C2=A0 : 6 core id=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 : 0 cpu cores=C2=A0=C2=A0=C2=A0 : 6 apicid=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 : 0 initial apicid=C2=A0=C2=A0=C2=A0 : 0 fpu=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 : yes fpu_exception=C2=A0=C2=A0=C2=A0 : yes cpuid level=C2=A0=C2=A0=C2=A0 : 6 wp=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 : yes flags=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 : fpu vme de pse tsc msr pae mce= cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht sysc= all nx mmxe xt fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl non= stop_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@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@neutron dpdk-2.1.0]# gcc -v Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/lto-wrappe= r Target: x86_64-redhat-linux Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --i= nfodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugzill= a --enable-bootstrap --enable-shared --enable-threads=3Dposix --enable-chec= king=3Drelease --enable-multilib --with-system-zlib --enable-__cxa_atexit -= -disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-bu= ild-id --with-linker-hash-style=3Dgnu --enable-languages=3Dc,c++,objc,obj-c= ++,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-lib= gcj --with-isl=3D/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat= -linux/isl-install --with-cloog=3D/builddir/build/BUILD/gcc-4.9.2-20150212/= obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with= -tune=3Dgeneric --with-arch_32=3Di686 --build=3Dx86_64-redhat-linux Thread model: posix gcc version 4.9.2 20150212 (Red Hat 4.9.2-6) (GCC)=20 Let me know if there's anything else you need. Thanks! On Friday, August 21, 2015 6:54 AM, Bruce Richardson wrote: =20 On Thu, Aug 20, 2015 at 05:35:10PM +0000, Keith E. Fleming wrote: > make config T=3Dx86_64-native-linuxapp-gccsed -ri 's,(PMD_PCAP=3D).*,\1y,= ' build/.configmake > [root@neutron dpdk-2.1.0]# make 2>&1 | more > =3D=3D Build lib > =3D=3D Build lib/librte_compat > =3D=3D Build lib/librte_eal > =3D=3D Build lib/librte_eal/common > =3D=3D Build lib/librte_eal/linuxapp > =3D=3D Build lib/librte_eal/linuxapp/igb_uio > (cat /dev/null;=C2=A0=C2=A0 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 > =C2=A0 Building modules, stage 2. > =C2=A0 MODPOST 1 modules > =3D=3D Build lib/librte_eal/linuxapp/eal > =C2=A0 CC eal_common_options.o > In file included from /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/x86i= ntrin.h:37:0, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 from /root/dpdk-2.1.0/build/include/rte_vect.h:67, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 from /root/dpdk-2.1.0/build/include/rte_memcpy.h:4= 6, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 from /root/dpdk-2.1.0/lib/librte_eal/common/eal_co= mmon_options.c:48: > /root/dpdk-2.1.0/build/include/rte_memcpy.h: In function =E2=80=98rte_mem= cpy=E2=80=99: > /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/tmmintrin.h:185:1: error: = inlining failed in call to always_inline =E2=80=98_mm_alignr_epi8=E2=80=99:= t > arget specific option mismatch > =C2=A0_mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N) > =C2=A0^ > In file included from /root/dpdk-2.1.0/lib/librte_eal/common/eal_common_o= ptions.c:48:0: > /root/dpdk-2.1.0/build/include/rte_memcpy.h:425:9: error: called from her= e >=20 > 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 R= edhat 7? Is that correct? /Bruce