From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by dpdk.org (Postfix) with ESMTP id 3E13611A2 for ; Sat, 28 Feb 2015 00:30:39 +0100 (CET) Received: by wesk11 with SMTP id k11so23173625wes.11 for ; Fri, 27 Feb 2015 15:30:39 -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=aR5Hyy4RwlZ+XEXL8M/H94zGBPZiN/82cLGFnTeAYm0=; b=mm+Zfw2xn4by1drRMKt5cKygCO3YkjC/OuNSR7kCg8/jk57zQYId+H2/FswJOAnvxo V7zvpdcB08OYbhrER34oPkgp9QeVIEgV9uR7x/2skHV9Lys82CZRuQsNhzGV4H7M3ffn r+E2nmDLSIvu9x0bbzusZQm0mkwcd1x8M/jx7eS9cHovE5gVH9Bh747ghu/ITo3lXhyB htzGVnydl4CcFWHRBaUkFoM63tyVP/Hj4jgubib8ik8gFKYYTu2R7yjzeVBqY59KAZdX hR97Hjl2Vn01qyS6f9AF8VeGoNs6wLf14Hu0n+SZn3fShfyanaDbAxQ3vqSe2OHGYy+M 56sA== X-Gm-Message-State: ALoCoQmLw+i18zmrflHUBxDnSadw0M0PmobC7hli3J3DIxlhMkD+sB77exsJR2iSJAdW3wOcPP8x X-Received: by 10.180.77.48 with SMTP id p16mr11001858wiw.89.1425079839113; Fri, 27 Feb 2015 15:30:39 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id bo1sm7965990wjb.15.2015.02.27.15.30.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Feb 2015 15:30:38 -0800 (PST) From: Thomas Monjalon To: "Mcnamara, John" Date: Sat, 28 Feb 2015 00:29:59 +0100 Message-ID: <3608426.WU3RcSlJht@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: References: <1424414516-18609-1-git-send-email-mukawa@igel.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v11 2/2] librte_pmd_null: Support port hotplug function 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:30:39 -0000 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 > 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