[dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel
Matthew Hall
mhall at mhcomputing.net
Tue Sep 23 19:08:35 CEST 2014
I fixed one main libs bug which blocked compile that was trivial and got it applied. I had examples working too but using an impolite method of doing so.
As for the latest kernel stuff, it sounds like we have to get a hand from LKML or a sublist to figure it out, eh? Doesn't seem like it's in the DPDK code.
Matthew.
--
Sent from my mobile device.
On September 23, 2014 2:59:47 AM PDT, Bruce Richardson <bruce.richardson at intel.com> wrote:
>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
More information about the dev
mailing list