From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vulcan.natalenko.name ([104.207.131.136]:39570 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726509AbfEFVYn (ORCPT ); Mon, 6 May 2019 17:24:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 06 May 2019 23:24:39 +0200 From: Oleksandr Natalenko Subject: Re: netronome/nfp/bpf/jit.c cannot be build with -O3 In-Reply-To: <20190506140022.188d2b84@cakuba.hsd1.ca.comcast.net> References: <673b885183fb64f1cbb3ed2387524077@natalenko.name> <20190506140022.188d2b84@cakuba.hsd1.ca.comcast.net> Message-ID: <2a3761669e4ec13847205d30384c0a17@natalenko.name> Sender: xdp-newbies-owner@vger.kernel.org List-ID: To: Jakub Kicinski Cc: "David S. Miller" , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Jesper Dangaard Brouer , John Fastabend , netdev@vger.kernel.org, bpf@vger.kernel.org, oss-drivers@netronome.com, linux-kernel@vger.kernel.org, xdp-newbies@vger.kernel.org, valdis@vt.edu Hi. On 06.05.2019 23:00, Jakub Kicinski wrote: > Any chance you could try different compiler versions? The code in > question does not look too unusual. Could you try if removing > FIELD_FIT() on line 326 makes a difference? If building with gcc from CentOS 7: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) the issue is not reproducible. Also, commenting out the whole "if" block with FIELD_FIT() prevents the issue from occurring too. -- Oleksandr Natalenko (post-factum)