On Mon, Sep 22, 2014 at 03:12:43PM -0700, Matthew Hall wrote: > On Mon, Sep 22, 2014 at 04:05:29PM -0400, Neil Horman wrote: > > On Mon, Sep 22, 2014 at 12:23:36PM -0700, Matthew Hall wrote: > > > I fixed some of the clang errors a few weeks ago. But some of my patches > > > got sent back due to issues seen by others and I didn't have time to fix > > > them yet. > > Can you elaborate on the specific issue here? > > Neil > > Sure... > > Have a look at this thread. With this, I got it compiling fine with Clang on > Ubuntu 14.04 LTS. > > Some of your stuff was funky kernel problems... I probably didn't get that as > I was using an earlier kernel release. > > One of the patches was merged as it was trivial but the others involved > disabling some warnings on certain examples... but people said they preferred > using ifdef's instead to fix them, which I didn't get a chance to do yet. > > Maybe we could try and make all of these clang fixes happen together. I > really > value the better error messages, I can fix bugs much quicker with all of > those. > > Matthew.
"make examples" on all the examples has failed for some time, but the compilation of the main libs used to work. I've pulled down a 3.14 kernel for fedora from koji and confirmed that building with "RTE_KERNELDIR=/usr/src/kernels/3.14.9-200.fc20.x86_64/" works fine. It's something that has changed in 3.15 and beyond that is causing clang flags to get passed in to gcc. I've confirmed that 3.16 also doesn't work. /Bruce