From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5C1921DE21 for ; Thu, 14 Jun 2018 13:57:59 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2018 04:57:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,222,1526367600"; d="scan'208";a="66949513" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga002.jf.intel.com with ESMTP; 14 Jun 2018 04:57:56 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.126]) by IRSMSX152.ger.corp.intel.com ([163.33.192.66]) with mapi id 14.03.0319.002; Thu, 14 Jun 2018 12:57:54 +0100 From: "Ananyev, Konstantin" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson Thread-Index: AQHT/0c0LBrLB1o6hEqSUxN4jR0odqRfryMQ Date: Thu, 14 Jun 2018 11:57:54 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258C0C3C288@irsmsx105.ger.corp.intel.com> References: <20180608163807.66737-1-bruce.richardson@intel.com> <20180608163807.66737-3-bruce.richardson@intel.com> In-Reply-To: <20180608163807.66737-3-bruce.richardson@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDYzYzg2MTMtYjFlZS00ZWI5LWI1NTMtN2E0YzM0MDU0MGI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoickpLZXl6Ym5jdGt6VnYzemluZ2dzK3FyeHJxSjF5dlNuVVZKbVVBR0I4OEN1Vjh6dVwvdVdvZVlOUFBDaERaVXAifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 11:57:59 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, June 8, 2018 5:38 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson >=20 > The JIT is only supported on x86_64 so disable for 32-bit builds. >=20 > Fixes: cc752e43e079 ("bpf: add JIT compilation for x86_64 ISA") >=20 > Signed-off-by: Bruce Richardson > --- > lib/librte_bpf/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build > index de9de0091..bc0cd78f9 100644 > --- a/lib/librte_bpf/meson.build > +++ b/lib/librte_bpf/meson.build > @@ -8,7 +8,7 @@ sources =3D files('bpf.c', > 'bpf_pkt.c', > 'bpf_validate.c') >=20 > -if arch_subdir =3D=3D 'x86' > +if arch_subdir =3D=3D 'x86' and cc.sizeof('void *') =3D=3D 8 > sources +=3D files('bpf_jit_x86.c') > endif >=20 > -- Acked-by: Konstantin Ananyev > 2.17.1