Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2928717yba; Mon, 6 May 2019 14:01:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyELkcY7mRFrWEj7dAxFqJFWJ+3nzoKBEjIKIgsu4umJfoMRpuwYktMfwQifHbJo2nqnWTm X-Received: by 2002:a62:5fc7:: with SMTP id t190mr36095352pfb.191.1557176496787; Mon, 06 May 2019 14:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557176496; cv=none; d=google.com; s=arc-20160816; b=Z3x1Ks4hohocPElHHgunYQpWOsDuAmfWP8yJ7r9cJGVlgdc14cva4+B3XeCP1kXc09 b6J6em7ieN3/NQ0yMdVixDJ+m2TiisVDZJcQdY+8X1lSDqvDczHel6ZiYyUiAZDuO7EL EOORSpIkXPlva2rMNCwQxt6sC0KoBFYx0wFThhhJA5deeETQvbpbHhGPPg+atyQn/jdO l1WWojMzGSJrugF6vecx8DJyI2OVbiGn2D81WMISevKlPupKmC6AwB1wJbc1sYRlCYzq /GkeVvv3DTbxgSgKZ5Zon+oIaWaVrg1Sf7OV8aOLZmtFDPv305ajiTA34C8LxplZYf+L 4LBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=3wJRQ6VKWRxL27a5QxEQoOQCJUnNTmSip3XDWhvdBaQ=; b=zJh2Zv/ZUSLVZl7YuovyNbIxK+RT9DW95/Rna4l+TzfnL3YMNhMlQWUyJFakFiG4bj FRFg6K2s0JxiGPHfl+BqCF3xiz9BTO8rRF/AwkOyNuSmnk9eD24bq2Zo4WkwZyr5l7Kf fNLt+90r1NAW98DeJBKBSxk5bCMJ/I/cqhPi1OdsdHdlrRmg/XZqTzfCATS6tSLDuF2G QJZ+2LqXn5CsI7QlxHTFjhd/aJO+6ebeyhbd7W3SdZgkzsozpV6mZyfw64YYWk3UNorx Wezr2Jsfn+Vl3hIaEIdrivDkqiwuPgI/FEuOTp/4ODeNvOukH/87ZoyA9V2ax1fZS3ag fdIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="A/lSskv2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e24si16787861pge.459.2019.05.06.14.01.20; Mon, 06 May 2019 14:01:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b="A/lSskv2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726609AbfEFVAb (ORCPT + 99 others); Mon, 6 May 2019 17:00:31 -0400 Received: from mail-qt1-f169.google.com ([209.85.160.169]:37322 "EHLO mail-qt1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbfEFVAb (ORCPT ); Mon, 6 May 2019 17:00:31 -0400 Received: by mail-qt1-f169.google.com with SMTP id o7so4598651qtp.4 for ; Mon, 06 May 2019 14:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=3wJRQ6VKWRxL27a5QxEQoOQCJUnNTmSip3XDWhvdBaQ=; b=A/lSskv2O+Uy1ln/4WsjLObJSCsYlFzGzAWfWBpCgQp9nJ+T99/ChlO5vaAVXQQYq1 kDaLE662WickGYjmxtVJdcvsq7kbFg4eC4W16FIdZCN7C2VGClGEdQDMahn3ZhHRkxpz xIiZn7TZq4GQZTSQxsdL3I9hj6RlHCaA9RvYcxeBBfDIV/gJAtL4IGK1GyNFw5ACccvr cZ2eUhhH0dV8ZgUOM7Un1kQSqKXNjDsZnpU1zGcN0N71PRXpRelhx4MLGkHG5W9T6Npv y9Wtzcv1SgLUUVHhBJVhRcCciD8eRu8h4dAs/HDyUMOPXIM1H+KtNqfsI1DVDUYMxByn pMyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=3wJRQ6VKWRxL27a5QxEQoOQCJUnNTmSip3XDWhvdBaQ=; b=c9Cjiv+70TyTQQNvXvfCJTDStQbK8pLstFNXS1C4QTd+LFmeXYnrkfuZxqkgxZXhKz XLSWrEAQ2VWTPb+HUilNq+rIyt27WubolLlSnl5riMVkIxVua75hQggLb3IqqF7+argu omwZTLWmKE9LIbJW3+QJ8+TGjFSRgUksxztC2YDY5ZdIZ9Qzy/W0ZY6+d6raWrdVRmTd b0ECK53ER0h+r2QYEY8MKGzLcMfViLCYUPUDeECQyYPb99cNRnGxGy/aJJE9FJxGV2Qy OFsLYISTIf9dcYGKA1pPgQWPwxtCqtGNcp2u6X/A307B/6V2e0IQJhFm4/vbmopXZb0Q Fp/g== X-Gm-Message-State: APjAAAVoc6u8QMU+l1woVBqOJQwaGplcf8aBGN6d8fvPp2fOX1TgRAMc z7gHdUYArp/KNBzUft5Pa/EuYQ== X-Received: by 2002:ac8:743:: with SMTP id k3mr20214481qth.207.1557176430476; Mon, 06 May 2019 14:00:30 -0700 (PDT) Received: from cakuba.hsd1.ca.comcast.net ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id 67sm5934254qtc.29.2019.05.06.14.00.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 06 May 2019 14:00:30 -0700 (PDT) Date: Mon, 6 May 2019 14:00:22 -0700 From: Jakub Kicinski To: Oleksandr Natalenko 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 Subject: Re: netronome/nfp/bpf/jit.c cannot be build with -O3 Message-ID: <20190506140022.188d2b84@cakuba.hsd1.ca.comcast.net> In-Reply-To: <673b885183fb64f1cbb3ed2387524077@natalenko.name> References: <673b885183fb64f1cbb3ed2387524077@natalenko.name> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 06 May 2019 21:40:07 +0200, Oleksandr Natalenko wrote: > Hi. > > Obligatory disclaimer: building the kernel with -O3 is a non-standard > thing done via this patch [1], but I've asked people in #kernelnewbies, > and it was suggested that the issue should be still investigated. > > So, with v5.1 kernel release I cannot build the kernel with -O3 anymore. > It fails as shown below: 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?