From: Bruce Richardson Subject: Re: [PATCH v2] build: clean up building kernel modules using meson Date: Wed, 4 Apr 2018 19:27:54 +0100 Message-ID: <20180404182753.GA41636@bricha3-MOBL.ger.corp.intel.com> References: <20180222173817.31872-1-bruce.richardson@intel.com> <20180404155332.87143-1-bruce.richardson@intel.com> <20180404155717.GA40576@bricha3-MOBL.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: Hemant Agrawal Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E93C11C820 for ; Wed, 4 Apr 2018 20:27:58 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Apr 04, 2018 at 04:47:25PM +0000, Hemant Agrawal wrote: > Just checked. Your V2 got build without any warnings for me. > > Regards, > Hemant > Thanks. /Bruce > > -----Original Message----- > > From: Bruce Richardson [mailto:bruce.richardson@intel.com] > > Sent: Wednesday, April 04, 2018 9:27 PM > > To: Hemant Agrawal > > Cc: dev@dpdk.org > > Subject: Re: [PATCH v2] build: clean up building kernel modules using meson > > Importance: High > > > > On Wed, Apr 04, 2018 at 04:53:32PM +0100, Bruce Richardson wrote: > > > The meson.build files for building the kernel modules directory could > > > be improved now that it is extracted from the EAL. For example, no > > > global processing is necessary inside the kernel folder, just need to > > > subdir to the appropriate bsd or linux folder to do the actual work. > > > > > > To avoid potential race conditions with the BSD module builds when the > > > kernel build system is creating the dev_if.h and other files, we > > > serialize the kernel module builds (all 2 of them!) by setting up each > > > module to depend on all the previous. > > > > > > Signed-off-by: Bruce Richardson > > > Tested-by: Hemant Agrawal > > > > > > --- > > > v2: serialize the BSD module builds to try and resolve the > > > warnings seen about bus_if.h/dev_if.h/etc. in some cases. > > > Issue reported by Hemant. > > > --- > > > > Hi Hemant, > > > > I haven't been able to reproduce reliably the issue you reported, but the above > > fixes what I *think* to be the issue causing the error print. If you get a chance, > > can you do a quick re-test and see if it re-occurs for you. > > If not, I'll apply this version - otherwise I might just apply V1, since the error > > itself appears harmless, as you say. > > > > /Bruce