From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stephen@networkplumber.org>
Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com
 [209.85.223.172]) by dpdk.org (Postfix) with ESMTP id F028F5681
 for <dev@dpdk.org>; Fri, 27 Feb 2015 01:44:36 +0100 (CET)
Received: by iecar1 with SMTP id ar1so23535397iec.11
 for <dev@dpdk.org>; Thu, 26 Feb 2015 16:44:36 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version
 :content-type:content-transfer-encoding;
 bh=3XCP6OtT/YsyXVU8AMpp5m68KCxbWaO8UsgF+pAMHp8=;
 b=Qef5LdgrJYuzSOIrVERgYB85D2v4UMdantChJgaFZFdSnhME5R73b95hIiinCg0ITO
 AVizK1ugdR6tLwL+7A6dNWE3BlatD9AP2LTRCrSg/hUGg9NFqwTaEbNtC5qFyYyLQ9ZB
 4zxuOYr1BgUv8On3GUFNJTfIcelaz51tZ4Zye1WVnTRdORqP+OfWR78C3mIoKrsSv7gy
 tqVBydkytgEJecnJMON9fYWhAkw+6Dnb541cwypngvLwMtMzFpc7idQ7Vka3mEmyhoz8
 ULzufw40L+tsg/oxsrjKIybRwGbrCaYr8e8PB5/8bx+hze25LIQM9j1OtUpunplt5VSy
 XUwA==
X-Gm-Message-State: ALoCoQmG2d5fOS7pbHJE4YjBmjswcp6zOWF7Oogh0+Au2ZzKN9pZocYKQprr0cx4gjpWZFhLZk/a
X-Received: by 10.50.66.235 with SMTP id i11mr994505igt.40.1424997876345;
 Thu, 26 Feb 2015 16:44:36 -0800 (PST)
Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net.
 [50.53.82.155])
 by mx.google.com with ESMTPSA id l11sm1352106ioe.31.2015.02.26.16.44.35
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 26 Feb 2015 16:44:36 -0800 (PST)
Date: Thu, 26 Feb 2015 16:44:37 -0800
From: Stephen Hemminger <stephen@networkplumber.org>
To: Tetsuya Mukawa <mukawa@igel.co.jp>
Message-ID: <20150226164437.45c17018@urahara>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: dev@dpdk.org
Subject: [dpdk-dev] [BUG] PMD null driver build fails
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Feb 2015 00:44:37 -0000

Null driver fails on Debian Wheezy (with backports) which uses
GCC 4.7


=3D=3D Build lib/librte_pmd_null
  CC rte_eth_null.o
/home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c: In function =
=E2=80=98eth_stats_get=E2=80=99:
/home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error:=
 array subscript is above array bounds [-Werror=3Darray-bounds]
/home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error:=
 array subscript is above array bounds [-Werror=3Darray-bounds]
/home/shemminger/src/dpdk/lib/librte_pmd_null/rte_eth_null.c:302:28: error:=
 array subscript is above array bounds [-Werror=3Darray-bounds]