From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id E8E2B5A35 for ; Wed, 3 Jun 2015 16:14:21 +0200 (CEST) Received: by wibut5 with SMTP id ut5so104303096wib.1 for ; Wed, 03 Jun 2015 07:14:21 -0700 (PDT) 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=0wRqrl3K1Uc3W9Hp7WxN8iv6i5ud8g2ssKNGogz98tY=; b=gMZlTmQW0BucKbNUS3fN+Dw0Hr0MSRtY9l9z0Ota4ftjhZVxWph4xy9atCvaNf/Z32 i6WiRsFhanrlx0Y8eGx5Uwupy2XZU41ikjpy37WRiRvUz+kV6eDgYn9MC7BnTko87J5n rgZGa3e0OkQFmsLxFd0mKipoICQqpvjIC1ALKMkH5V0nmUEmlHofhZEeODjd3MKASWqh 3gri1T79ppK61WQG5MwlkIvSDSrOxIz0MSeJv2hsugAJRL4t+YWWT0GGBwLR4NMH8mKr Kr4LOLaEBtA22+8Dkn0ySXHIiO3Arq+S9KkoyD6mjK51jjUzcy0/RZi2mVpekukjKGtq 716g== X-Gm-Message-State: ALoCoQmXv+nU8tM5CmXwQBE4YKRo2wJG98qO7tSj6/t34ZRKJyLipXWSL4RInJzSfemGdypc90rH X-Received: by 10.194.184.79 with SMTP id es15mr59237199wjc.112.1433340861782; Wed, 03 Jun 2015 07:14:21 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id hn7sm1883175wib.5.2015.06.03.07.14.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 07:14:20 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Date: Wed, 03 Jun 2015 16:13:31 +0200 Message-ID: <4565326.RtEG7ryMY9@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <20150529165755.GD29575@hmsreliant.think-freely.org> References: <1432904027-6578-1-git-send-email-bruce.richardson@intel.com> <1432910056-6946-1-git-send-email-bruce.richardson@intel.com> <20150529165755.GD29575@hmsreliant.think-freely.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, neil.horman@tuxdriver.com Subject: Re: [dpdk-dev] [PATCH v2 0/4] fix compilation on Fedora 22 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: Wed, 03 Jun 2015 14:14:22 -0000 2015-05-29 12:57, Neil Horman: > On Fri, May 29, 2015 at 03:34:12PM +0100, Bruce Richardson wrote: > > V2 Changes: > > * use RTE_MIN instead of additional comparison checks > > in some loops, as suggested by Neil. > > * For stats reset in null PMD, just use the size of the > > array [which is 1] in place of the used queue counts. > > > > GCC version 5.1 included with Fedora 22 is running stricter array > > bounds checks which are throwing up errors in a number of components > > in the DPDK code. This patchset fixes these errors to allow compilation > > with GCC on Fedora 22. > > > > Example error: > > == Build lib/librte_eal/linuxapp/eal > > CC eal_memory.o > > /home/bruce/dpdk.org/lib/librte_eal/linuxapp/eal/eal_memory.c: In function 'rte_eal_hugepage_init': > > /home/bruce/dpdk.org/lib/librte_eal/linuxapp/eal/eal_memory.c:1193:35: error: array subscript is above array bounds [-Werror=array-bounds] > > internal_config.hugepage_info[j].hugepage_sz) { > > ^ > > compilation terminated due to -Wfatal-errors. > > > > Bruce Richardson (4): > > eal: fix compile on Fedora 22 (GCC 5.1) > > ip_frag: fix compile on Fedora 22 (GCC 5.1) > > i40e: fix compile on Fedora 22 (GCC 5.1) > > null: fix compile on Fedora 22 (GCC 5.1) > > Series > Acked-by: Neil Horman Applied, thanks