From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 04B64333 for ; Tue, 23 Sep 2014 11:53:43 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 23 Sep 2014 02:59:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="390262555" Received: from bricha3-mobl.ger.corp.intel.com (HELO bricha3-mobl.ir.intel.com) ([10.243.20.29]) by FMSMGA003.fm.intel.com with SMTP; 23 Sep 2014 02:53:57 -0700 Received: by bricha3-mobl.ir.intel.com (sSMTP sendmail emulation); Tue, 23 Sep 2014 10:59:48 +0001 Date: Tue, 23 Sep 2014 10:59:47 +0100 From: Bruce Richardson To: Matthew Hall Message-ID: <20140923095947.GA14152@BRICHA3-MOBL> References: <59AF69C657FD0841A61C55336867B5B0344015CB@IRSMSX103.ger.corp.intel.com> <20140922131851.GG25406@hmsreliant.think-freely.org> <20140922200529.GI25406@hmsreliant.think-freely.org> <20140922221243.GA19370@mhcomputing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140922221243.GA19370@mhcomputing.net> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.22 (2013-10-16) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] compile error with linuxapp-clang target on Fedora 20 with 3.15.10 kernel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 09:53:44 -0000 On Mon, Sep 22, 2014 at 03:12:43PM -0700, Matthew Hall wrote: > On Mon, Sep 22, 2014 at 04:05:29PM -0400, Neil Horman wrote: > > On Mon, Sep 22, 2014 at 12:23:36PM -0700, Matthew Hall wrote: > > > I fixed some of the clang errors a few weeks ago. But some of my patches got sent back due to issues seen by others and I didn't have time to fix them yet. > > Can you elaborate on the specific issue here? > > Neil > > Sure... > > Have a look at this thread. With this, I got it compiling fine with Clang on > Ubuntu 14.04 LTS. > > Some of your stuff was funky kernel problems... I probably didn't get that as > I was using an earlier kernel release. > > One of the patches was merged as it was trivial but the others involved > disabling some warnings on certain examples... but people said they preferred > using ifdef's instead to fix them, which I didn't get a chance to do yet. > > Maybe we could try and make all of these clang fixes happen together. I really > value the better error messages, I can fix bugs much quicker with all of > those. > > Matthew. "make examples" on all the examples has failed for some time, but the compilation of the main libs used to work. I've pulled down a 3.14 kernel for fedora from koji and confirmed that building with "RTE_KERNELDIR=/usr/src/kernels/3.14.9-200.fc20.x86_64/" works fine. It's something that has changed in 3.15 and beyond that is causing clang flags to get passed in to gcc. I've confirmed that 3.16 also doesn't work. /Bruce