Keith,

I've observed same problem on our platforms. I'm using compiled kernel 3.14.11 
on top of CentOS 6.5.

After modifying the value from 100 to 400 in Makefile for 
max-inline-insns-single parameter, I am able to compile DPDK 1.7.0 successfully.

--anbu-

-----Original Message-----
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wiles, Roger Keith
Sent: Monday, July 07, 2014 8:24 AM
To: De Lara Guarch, Pablo
Cc: <dev at dpdk.org>
Subject: Re: [dpdk-dev] Build failure on Ubuntu 14.04


BTW, he changed the value from 100 to 400 and that fixed his compile problem on 
CentOS.

Keith Wiles, Principal Technologist with CTO office, Wind River mobile 
972-213-5533

[Powering 30 Years of Innovation]<http://www.windriver.com/announces/wr30/>

On Jul 7, 2014, at 9:59 AM, Wiles, Roger Keith <keith.wiles at 
windriver.com<mailto:keith.wiles at windriver.com>> wrote:

The guy using CentOS stated if he changed the code to compare with 
KERNEL_VERSION(3,13,8) it works.

Also the compiler is older on CentOS gcc 4.4.7 and has a problem with the:
"--param max-inline-insns-single=100" issue in 
librte_eal/linuxapp/igb_uio/Makefile

Giving the error:
"error: inlining failed in call to 'kzalloc.clone.0': --param 
max-inline-insns-single limit reached" when compiling igb_uio.o

He suggested increasing the value to 1000, but he got that suggestion from 
stack overflow site.

I do not use CentOS and can not verify the issues or fix.

Thanks
++Keith

Keith Wiles, Principal Technologist with CTO office, Wind River mobile 
972-213-5533

[Powering 30 Years of Innovation]<http://www.windriver.com/announces/wr30/>

On Jul 7, 2014, at 9:41 AM, Wiles, Roger Keith <keith.wiles at 
windriver.com<mailto:keith.wiles at windriver.com><mailto:keith.wiles at 
windriver.com>> wrote:

Someone compiling on CentOS kernel 3.13.7 needed the original code. Looks like 
some other type of ifdef change needs to be done to the kcompat.h file to allow 
it to compile on Ubuntu 14.04 with kernel 3.13.0-30.

Keith Wiles, Principal Technologist with CTO office, Wind River mobile 
972-213-5533

[Powering 30 Years of Innovation]<http://www.windriver.com/announces/wr30/>

On Jul 7, 2014, at 3:39 AM, De Lara Guarch, Pablo <pablo.de.lara.guarch at 
intel.com<mailto:pablo.de.lara.guarch at intel.com><mailto:pablo.de.lara.guarch 
at intel.com><mailto:pablo.de.lara.guarch at intel.com>> wrote:


Hi Keith,

we built the newest dpdk code on my machine, it seems OK, please see UB14.04 
info in my computer.
System:       Ubuntu14.04
Kernel:       3.13.0-24 X86_64
Compiler:     GCC 4.8.2 x86_64

Can you let me know which kernel version you use?

Apparently, it is this one: 3.13.0-30-generic, from uname -a

Thanks
Waterman



Reply via email to