DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Matthew Hall <mhall@mhcomputing.net>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel
Date: Tue, 23 Sep 2014 10:59:47 +0100	[thread overview]
Message-ID: <20140923095947.GA14152@BRICHA3-MOBL> (raw)
In-Reply-To: <20140922221243.GA19370@mhcomputing.net>

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

  reply	other threads:[~2014-09-23  9:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22  9:36 Richardson, Bruce
2014-09-22 13:18 ` Neil Horman
2014-09-22 19:23   ` Matthew Hall
2014-09-22 20:05     ` Neil Horman
2014-09-22 22:12       ` Matthew Hall
2014-09-23  9:59         ` Bruce Richardson [this message]
2014-09-23 17:08           ` Matthew Hall

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=20140923095947.GA14152@BRICHA3-MOBL \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=mhall@mhcomputing.net \
    /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).