DPDK patches and discussions
 help / color / mirror / Atom feed
From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "Zhang, Helin" <helin.zhang@intel.com>
Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation with gcc 6.1
Date: Thu, 23 Jun 2016 16:45:20 +0000	[thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8973C967E71@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <13456618.zD3umMGWtb@xps13>



> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> Sent: Thursday, June 23, 2016 3:59 PM
> To: De Lara Guarch, Pablo
> Cc: dev@dpdk.org; Zhang, Helin
> Subject: Re: [dpdk-dev] [PATCH] kni: fix compilation with gcc 6.1
> 
> 2016-06-23 15:38, Pablo de Lara:
> > Using gcc 6.1, in some cases, kni fails to compile
> > because of unused variables:
> 
> Curiosity: is it only with gcc 6.1? Have you tested other versions?

I have tested it with other gcc versions, but have not seen it there.
I said some cases because depending on the kernel, the flags passed to gcc change,
and if -Wno-unused-const-variable is not passed, then this error shows up.

> 
> >  lib/librte_eal/linuxapp/kni/ethtool/ixgbe/ixgbe_main.c | 4 ----
> >  1 file changed, 4 deletions(-)
> 
> We all know that the most efficient patch would be to drop the directory
> lib/librte_eal/linuxapp/kni/ethtool/ ;)

  reply	other threads:[~2016-06-23 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23 14:38 Pablo de Lara
2016-06-23 14:59 ` Thomas Monjalon
2016-06-23 16:45   ` De Lara Guarch, Pablo [this message]
2016-06-24  8:28 ` Ferruh Yigit
2016-06-27 10:18   ` Thomas Monjalon

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=E115CCD9D858EF4F90C690B0DCB4D8973C967E71@IRSMSX108.ger.corp.intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=dev@dpdk.org \
    --cc=helin.zhang@intel.com \
    --cc=thomas.monjalon@6wind.com \
    /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).