From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: Re: x86_64-native-linuxapp-clang compilation broken? Date: Wed, 17 Feb 2016 12:23:13 -0800 Message-ID: <20160217202313.GA26644@mhcomputing.net> References: <20160216184714.GA13313@mhcomputing.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: "De Lara Guarch, Pablo" Return-path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id D5214C336 for ; Wed, 17 Feb 2016 21:23:13 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Feb 17, 2016 at 11:07:40AM +0000, De Lara Guarch, Pablo wrote: > It looks like old versions of clang are not able to identify correctly the newer CPUs: > > LLVM (http://llvm.org/): > LLVM version 3.6.2 > > Optimized build. > Built Aug 18 2015 (08:39:18). > Default target: x86_64-pc-linux-gnu > Host CPU: x86-64 > > > LLVM (http://llvm.org/): > LLVM version 3.7.0 > Optimized build. > Built Jan 22 2016 (17:39:46). > Default target: x86_64-redhat-linux-gnu > Host CPU: broadwell > > I will submit a patch adding a note in known issues section, unless anybody knows > how to fix this in our side (as far as I know, it is a clang issue). > > Thanks, > Pablo Hello Pablo, Just having some explanation of the root cause is a great start even if it can't necessarily be fixed in DPDK. I will install clang 3.7.X and retry it. Matthew.