From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id 09BD9903 for ; Sat, 28 Feb 2015 00:28:23 +0100 (CET) Received: by widem10 with SMTP id em10so3380895wid.0 for ; Fri, 27 Feb 2015 15:28:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=6sHuMCnZi0GCT/2c1WjpbJRBpmHVC2Tx6+fRbknGzK0=; b=PLfxxAW3GS1iSqbvspAooovNBtpnW1iDYziGMbId0r4AMdLzdDiOZIZ7l81XaqopBc T9IVvJvlr30aZ9BblOZcO/5gcj+f49rNOREJGmBJv6Xc99c6F0AHQvO7B7VYWbjEXypA pbljW19FDqbuhX+cCjHqmKDrchKKa+LXYwQwULCcW3H9hCMkgYyiv+98RVC7dw3WIlAT UHJO8w0xr5IeQEpS4YYw2EeuJgG/bkIQGKX86kiRjOKftCpXf+cVUewb2yTxdLm1Hokt z+ORYt+AS0A5RLFiaB/N8urBISi334u0i7vnjOJhtIJm4Zn2KVSN+SsKPBWUW92HSx4J PCtw== X-Gm-Message-State: ALoCoQk2t689HZSHOXbCJUeHC3TaOaY6CWnWkgVBSUpA66gPT6gIq4EqLMWJn58bOqC9eYcBXXfq X-Received: by 10.194.89.163 with SMTP id bp3mr32061081wjb.145.1425079702926; Fri, 27 Feb 2015 15:28:22 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id dj4sm7964836wjc.13.2015.02.27.15.28.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 15:28:22 -0800 (PST) From: Thomas Monjalon To: Stephen Hemminger Date: Sat, 28 Feb 2015 00:27:44 +0100 Message-ID: <2159841.7F5KFUiPuv@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <20150226164437.45c17018@urahara> References: <20150226164437.45c17018@urahara> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2015 23:28:23 -0000 2015-02-26 16:44, Stephen Hemminger: > Null driver fails on Debian Wheezy (with backports) which uses > GCC 4.7 >=20 >=20 > =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 func= tion =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] Fixed: http://dpdk.org/browse/dpdk/commit/?id=3De34550c8b97826 Thanks