dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: "Keith E. Fleming" <kef762@yahoo.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
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)	[thread overview]
Message-ID: <590738896.8600735.1440170020765.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <20150821105432.GA3240@bricha3-MOBL3>

Hi Bruce,
It is Fedora 21
[root@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@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=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@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@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




      reply	other threads:[~2015-08-21 15:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 17:35 DPDK 2.1.0 build error: inlining failed in call to always_inline Keith E. Fleming
2015-08-21 10:54 ` Bruce Richardson
2015-08-21 15:13   ` Keith E. Fleming [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=590738896.8600735.1440170020765.JavaMail.yahoo@mail.yahoo.com \
    --to=kef762@yahoo.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).