From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 81D3A5687 for ; Tue, 13 Sep 2016 10:42:21 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP; 13 Sep 2016 01:42:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,327,1470726000"; d="scan'208";a="8168326" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga004.jf.intel.com with ESMTP; 13 Sep 2016 01:42:18 -0700 Date: Tue, 13 Sep 2016 16:42:48 +0800 From: Yuanhan Liu To: "Iremonger, Bernard" Cc: "Shah, Rahul R" , "Lu, Wenzhuo" , "dev@dpdk.org" , Thomas Monjalon Message-ID: <20160913084248.GP23158@yliu-dev.sh.intel.com> References: <1471528125-26357-1-git-send-email-bernard.iremonger@intel.com> <1472202620-20487-1-git-send-email-bernard.iremonger@intel.com> <1472202620-20487-6-git-send-email-bernard.iremonger@intel.com> <20160911123556.GB23158@yliu-dev.sh.intel.com> <8CEF83825BEC744B83065625E567D7C21A076182@IRSMSX108.ger.corp.intel.com> <20160913043443.GM23158@yliu-dev.sh.intel.com> <8CEF83825BEC744B83065625E567D7C21A0762AB@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8CEF83825BEC744B83065625E567D7C21A0762AB@IRSMSX108.ger.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [RFC PATCH v2 5/5] app/test_pmd: add tests for new API's 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, 13 Sep 2016 08:42:22 -0000 On Tue, Sep 13, 2016 at 08:38:08AM +0000, Iremonger, Bernard wrote: > Hi Yuanhan, > > > Subject: Re: [dpdk-dev] [RFC PATCH v2 5/5] app/test_pmd: add tests for > > new API's > > > > On Mon, Sep 12, 2016 at 03:57:19PM +0000, Iremonger, Bernard wrote: > > > > /root/dpdk/x86_64-native-linuxapp- > > > > clang/include/cmdline_parse_num.h:107:3: note: expanded from macro > > > > 'TOKEN_NUM_INITIALIZER' > > > > numtype, /* type */ \ > > > > ^~~~~~~ > > > > /root/dpdk/app/test-pmd/cmdline.c:11156:8: error: expression which > > > > evaluates to zero treated as a null pointer constant of type 'const > > > > char *' [- Werror,-Wnon-literal-null-conversion] > > > > on, UINT8); > > > > ^~~~~ > > > > /root/dpdk/x86_64-native-linuxapp- > > > > clang/include/cmdline_parse_num.h:107:3: note: expanded from macro > > > > 'TOKEN_NUM_INITIALIZER' > > > > numtype, /* type */ \ > > > > ^~~~~~~ > > > > 7 errors generated. > > > > make[5]: *** [cmdline.o] Error 1 > > > > make[5]: *** Waiting for unfinished jobs.... > > > > make[4]: *** [test-pmd] Error 2 > > > > make[4]: *** Waiting for unfinished jobs.... > > > > make[3]: *** [app] Error 2 > > > > make[2]: *** [all] Error 2 > > > > make[1]: *** [pre_install] Error 2 > > > > make: *** [install] Error 2 > > > > error: build failed > > > > > > I am not seeing the above errors when I build with the following > > commands: > > > > > > make config T=x86_64-native-linuxapp-clang make install > > > T=x86_64-native-linuxapp-clang -j > > > > > > Are you using a different clang config file? > > > > Not really (well, I disabled KNI and UIO stuff). FYI, I'm using the default clang > > compiler from ubuntu 16.04-x86_64. > > > > --yliu > > The clang I am using is version 3.4-1, what is your clang version? The clang shipped with ubuntu 16.04 is v3.8: # clang --version clang version 3.8.0-2ubuntu1 (tags/RELEASE_380/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin --yliu