From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 6E862530F for ; Mon, 12 Sep 2016 17:57:22 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP; 12 Sep 2016 08:57:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,323,1470726000"; d="scan'208";a="7873113" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga004.jf.intel.com with ESMTP; 12 Sep 2016 08:57:20 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.71]) by IRSMSX152.ger.corp.intel.com ([169.254.6.43]) with mapi id 14.03.0248.002; Mon, 12 Sep 2016 16:57:20 +0100 From: "Iremonger, Bernard" To: Yuanhan Liu CC: "Shah, Rahul R" , "Lu, Wenzhuo" , "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [dpdk-dev] [RFC PATCH v2 5/5] app/test_pmd: add tests for new API's Thread-Index: AQHR/3nL4gyF+AK8SEC8dmds3q6+KqB0Ql4AgAHaUuA= Date: Mon, 12 Sep 2016 15:57:19 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C21A076182@IRSMSX108.ger.corp.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> In-Reply-To: <20160911123556.GB23158@yliu-dev.sh.intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODVkMTFmYzUtMDE1ZS00MzU1LWI3ODYtYjk3MDFmODg5ZTVjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkRkUUFMam5jck5NR2VENmdVazVKTUlWMnhMd2Y2ZlpyMTBuYmI4MmdBN1k9In0= x-ctpclassification: CTP_IC 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] [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: Mon, 12 Sep 2016 15:57:23 -0000 Hi Yuanhan, > Subject: Re: [dpdk-dev] [RFC PATCH v2 5/5] app/test_pmd: add tests for > new API's >=20 > On Fri, Aug 26, 2016 at 10:10:20AM +0100, Bernard Iremonger wrote: > > add test for vf vlan anti spoof > > add test for vf mac anti spoof > > add test for vf ping > > add test for vf vlan strip > > add test for vf vlan insert > > add test for tx loopback > > add test for all queues drop enable bit add test for vf split drop > > enable bit add test for vf mac address add new API's to the testpmd > > guide > > > > Signed-off-by: Bernard Iremonger >=20 > Hi, >=20 > FYI, my testrobot caught some errors when this patch is applied. > (BTW, gcc builds fine) >=20 > --yliu >=20 > --- >=20 > x86_64-native-linuxapp-clang > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > /root/dpdk/app/test-pmd/cmdline.c:10629: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 */ \ > ^~~~~~~ > /root/dpdk/app/test-pmd/cmdline.c:10710: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 */ \ > ^~~~~~~ > /root/dpdk/app/test-pmd/cmdline.c:10856: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 */ \ > ^~~~~~~ > /root/dpdk/app/test-pmd/cmdline.c:10938: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 */ \ > ^~~~~~~ > /root/dpdk/app/test-pmd/cmdline.c:11010: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 */ \ > ^~~~~~~ > /root/dpdk/app/test-pmd/cmdline.c:11080: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 */ \ > ^~~~~~~ > /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=3Dx86_64-native-linuxapp-clang make install T=3Dx86_64-native-linuxapp-clang -j Are you using a different clang config file? Regards, Bernard.