From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Mcnamara, John" <john.mcnamara@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v11 2/2] librte_pmd_null: Support port hotplug function
Date: Sat, 28 Feb 2015 00:29:59 +0100 [thread overview]
Message-ID: <3608426.WU3RcSlJht@xps13> (raw)
In-Reply-To: <B27915DBBA3421428155699D51E4CFE2EC8A08@IRSMSX103.ger.corp.intel.com>
2015-02-26 12:21, Mcnamara, John:
> Hi,
>
> The HEAD doesn't compile with gcc 4.7.2:
>
> $ git clone http://dpdk.org/git/dpdk
> $ cd dpdk
> $ make T=x86_64-native-linuxapp-gcc -j install
>
> ...
> == Build lib/librte_pipeline
> SYMLINK-FILE include/rte_pipeline.h
> CC rte_pipeline.o
> /tmp/dpdk/lib/librte_pmd_null/rte_eth_null.c: In function 'eth_stats_get':
>
> /tmp/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28:
> error: array subscript is above array bounds [-Werror=array-bounds]
> /tmp/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28:
> error: array subscript is above array bounds [-Werror=array-bounds]
> /tmp/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28:
> error: array subscript is above array bounds [-Werror=array-bounds]
> ...
>
> cc1: all warnings being treated as errors
> make[5]: *** [rte_eth_null.o] Error 1
> make[4]: *** [librte_pmd_null] Error 2
>
>
> The following commit introduced this issue:
>
> $ git bisect good
> c743e50c475f73edf78e5ba26445d7c6ea217f40 is the first bad commit
> commit c743e50c475f73edf78e5ba26445d7c6ea217f40
> Author: Tetsuya Mukawa <mukawa@igel.co.jp>
> Date: Mon Feb 23 14:12:34 2015 +0900
>
> null: new poll mode driver
>
>
> I don't see the issue with gcc 4.9.
Fixed: http://dpdk.org/browse/dpdk/commit/?id=e34550c8b97826
prev parent reply other threads:[~2015-02-27 23:30 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mukawa@igel.co.jp>
2014-10-01 4:57 ` [dpdk-dev] [PATCH v2] PMD for performance measurement mukawa
2014-10-01 4:57 ` [dpdk-dev] [PATCH v2] librte_pmd_null: Add null PMD mukawa
2014-11-13 12:17 ` Thomas Monjalon
2014-12-16 8:39 ` [dpdk-dev] [PATCH v3] " Tetsuya Mukawa
2014-12-16 8:44 ` Tetsuya Mukawa
2014-12-16 8:47 ` Thomas Monjalon
2014-12-16 8:49 ` Tetsuya Mukawa
2015-01-20 3:00 ` [dpdk-dev] [PATCH v4 1/2] " Tetsuya Mukawa
2015-01-20 3:00 ` [dpdk-dev] [PATCH v4 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-06 4:38 ` [dpdk-dev] [PATCH v6 1/2] librte_pmd_null: Add null PMD Tetsuya Mukawa
2015-02-06 4:38 ` [dpdk-dev] [PATCH v6 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-06 11:37 ` Iremonger, Bernard
2015-02-06 11:32 ` [dpdk-dev] [PATCH v6 1/2] librte_pmd_null: Add null PMD Iremonger, Bernard
2015-02-09 8:54 ` Tetsuya Mukawa
2015-02-12 2:44 ` [dpdk-dev] [PATCH v7 1/2] librte_pmd_null: Add Null PMD Tetsuya Mukawa
2015-02-12 2:44 ` [dpdk-dev] [PATCH v7 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-16 4:19 ` [dpdk-dev] [PATCH v8 1/2] librte_pmd_null: Add Null PMD Tetsuya Mukawa
2015-02-16 4:19 ` [dpdk-dev] [PATCH v8 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-16 16:38 ` Iremonger, Bernard
2015-02-16 16:38 ` [dpdk-dev] [PATCH v8 1/2] librte_pmd_null: Add Null PMD Iremonger, Bernard
2015-02-19 10:41 ` [dpdk-dev] [PATCH v9 " Tetsuya Mukawa
2015-02-19 10:41 ` [dpdk-dev] [PATCH v9 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-20 6:41 ` [dpdk-dev] [PATCH v10 1/2] librte_pmd_null: Add Null PMD Tetsuya Mukawa
2015-02-20 6:41 ` [dpdk-dev] [PATCH v10 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-23 5:12 ` [dpdk-dev] [PATCH v11 1/2] librte_pmd_null: Add Null PMD Tetsuya Mukawa
2015-02-23 5:12 ` [dpdk-dev] [PATCH v11 2/2] librte_pmd_null: Support port hotplug function Tetsuya Mukawa
2015-02-25 23:35 ` Thomas Monjalon
2015-02-26 0:49 ` Stephen Hemminger
2015-02-26 7:03 ` Thomas Monjalon
2015-02-26 9:06 ` Tetsuya Mukawa
2015-02-26 10:57 ` Thomas Monjalon
2015-02-26 11:50 ` Tetsuya Mukawa
2015-03-04 3:37 ` Tetsuya Mukawa
2015-02-26 12:21 ` Mcnamara, John
2015-02-26 15:36 ` Mcnamara, John
2015-02-27 1:31 ` Tetsuya Mukawa
2015-02-27 23:29 ` Thomas Monjalon [this message]
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=3608426.WU3RcSlJht@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=john.mcnamara@intel.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).