Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752178AbbGMQNr (ORCPT ); Mon, 13 Jul 2015 12:13:47 -0400 Received: from plane.gmane.org ([80.91.229.3]:60105 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751354AbbGMQNq (ORCPT ); Mon, 13 Jul 2015 12:13:46 -0400 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Akemi Yagi Subject: Re: Linux 4.2 build error in net/netfilter/ipset/ip_set_hash_netnet.c Date: Mon, 13 Jul 2015 16:13:31 +0000 (UTC) Message-ID: References: <20150705153520.GA23589@roeck-us.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: papyrus.scripps.edu User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Cc: netfilter-devel@vger.kernel.org, netdev@vger.kernel.org Cc: netfilter-devel@vger.kernel.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1777 Lines: 40 On Sun, 05 Jul 2015 08:35:20 -0700, Guenter Roeck wrote: > On Sat, Jul 04, 2015 at 12:44:36AM -0700, Vinson Lee wrote: >> Hi. >> >> With the latest Linux 4.2-rc1, I am hitting this build error with GCC >> 4.4.7 on CentOS 6. >> >> CC net/netfilter/ipset/ip_set_hash_netnet.o >> net/netfilter/ipset/ip_set_hash_netnet.c: In function >> ‘hash_netnet4_uadt’: >> net/netfilter/ipset/ip_set_hash_netnet.c:163: error: unknown field >> ‘cidr’ specified in initializer >> net/netfilter/ipset/ip_set_hash_netnet.c:163: warning: missing braces >> around initializer net/netfilter/ipset/ip_set_hash_netnet.c:163: >> warning: (near initialization for ‘e..ip’) >> net/netfilter/ipset/ip_set_hash_netnet.c: In function >> ‘hash_netnet6_uadt’: >> net/netfilter/ipset/ip_set_hash_netnet.c:388: error: unknown field >> ‘cidr’ specified in initializer >> net/netfilter/ipset/ip_set_hash_netnet.c:388: warning: missing braces >> around initializer net/netfilter/ipset/ip_set_hash_netnet.c:388: >> warning: (near initialization for ‘e.ip[0]’) >> > Previously fixed with commit 1a869205c75cb ("netfilter: ipset: The > unnamed union initialization may lead to compilation error"), > reintroduced with commit aff227581ed1a ("netfilter: ipset: Check CIDR > value only when attribute is given"). > > Guenter I wonder what can be done to get this issue fixed. This problem was seen in 4.2-rc1 and now in 4.2-rc2 on RHEL-6.6. $ gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11) Please advise. Akemi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/