From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m15-10.126.com (m15-10.126.com [220.181.15.10]) by dpdk.org (Postfix) with ESMTP id B111A5920 for ; Thu, 10 Jul 2014 03:29:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=nnUwD UJnpSFBgQ4NRsKfheW0HQWICucl3bpFXIR0Q2o=; b=ajw2xseZvbAPfQDnuxCEq t2Cnk2Oi+My7gBcj9sa0qiQbVYwEBc1yxfcwMESUlOc1HudySjH+ugLuW0r816ti QW3mXye/GhChZkBkM11IKp77T8jSqFm30zqpQfStrsFZG3bnKyntZpplgkZW1pZ9 KmZ5y7p+B0aY5lCL+WLnjY= Received: from mydpdk$126.com ( [61.161.196.66] ) by ajax-webmail-wmsvr10 (Coremail) ; Thu, 10 Jul 2014 09:29:38 +0800 (CST) X-Originating-IP: [61.161.196.66] Date: Thu, 10 Jul 2014 09:29:38 +0800 (CST) From: "William Rolinson" To: "dev@dpdk.org" X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20140422(26738.6344) Copyright (c) 2002-2014 www.mailtech.cn 126com X-CM-CTRLDATA: AdLTLGZvb3Rlcl9odG09MTA2MTo4MQ== MIME-Version: 1.0 Message-ID: <3ac135e7.cb25.1471de3de5c.Coremail.mydpdk@126.com> X-CM-TRANSID: CsqowGBpWkGE7L1Tl+ExAA--.5988W X-CM-SenderInfo: hp1g1vbn6rjloofrz/1tbikhnEiE3kvshTHwABsV X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Question about ip fragment library 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: Thu, 10 Jul 2014 01:29:22 -0000 SGksYWxsOgoKICAgIFJlY2VudGx5LCBJIGFtIHJlYWRpbmcgc291cmNlIGNvZGUgYWJvdXQgaXB2 NCBmcmFnbWVudCBpbiBEUERLIDEuNy4wLgogICAgSSBhbSBjb25mdXNlZCBhYm91dCBpcCBwYWNr ZXQgd2l0aCBvcHRpb25zLiBpdCBzZWVtcyB0aGF0IERQREsgaXAgZnJhZyBsaWIgd291bGQgb21p dCBhbGwgb3B0aW9ucyBmcm9tIGFsbCBmcmFnbWVudHMgZXhjZXB0IHRoZSBmaXJzdCBvbmUuIEhv d2V2ZXIsIGluIG15IG9waW5pb24sIHNvbWUgb3B0aW9ucyBtdXN0IGJlIHByZXNlbnQgaW4gYWxs IGZyYWdtZW50cywgb3RoZXJzIG9wdGlvbnMgY2FuIGJlIG9taXR0ZWQgZnJvbSBhbGwgYnV0IHRo ZSBmaXJzdCBmcmFnbWVudC4gSXMgaXQgYSBidWcgb3Igbm90PyBJIGFtIGFmcmFpZCBJIGRvbqGv dCBrbm93IG11Y2ggYWJvdXQgdGhhdC4gICBJIG5lZWQgaGVscC4gVGhhbmsgeW91IHZlcnkgbXVj aC4KICAgIAo= >From zhaochen.zhan@intel.com Thu Jul 10 09:49:13 2014 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 378C25920 for ; Thu, 10 Jul 2014 09:49:13 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 10 Jul 2014 00:49:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,636,1400050800"; d="scan'208";a="571006550" Received: from fmsmsx106.amr.corp.intel.com ([10.19.9.37]) by orsmga002.jf.intel.com with ESMTP; 10 Jul 2014 00:49:34 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.19.9.28) by FMSMSX106.amr.corp.intel.com (10.19.9.37) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 10 Jul 2014 00:49:33 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX119.amr.corp.intel.com (10.19.9.28) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 10 Jul 2014 00:49:33 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.122]) by shsmsx102.ccr.corp.intel.com ([169.254.2.21]) with mapi id 14.03.0123.003; Thu, 10 Jul 2014 15:49:32 +0800 From: "Zhan, Zhaochen" To: "Richardson, Bruce" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 0/6] Clang compilation support on FreeBSD and Linux Thread-Index: AQHPmjx05e8ZpfurTkOn05PQH6NZa5uY7uhw Date: Thu, 10 Jul 2014 07:49:30 +0000 Message-ID: <6D0EE020084B194084D70B0A8D2207B8E8FE93@SHSMSX104.ccr.corp.intel.com> References: <1404776219-6130-1-git-send-email-bruce.richardson@intel.com> In-Reply-To: <1404776219-6130-1-git-send-email-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 0/6] Clang compilation support on FreeBSD and Linux 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: Thu, 10 Jul 2014 07:49:13 -0000 Tested by Zhan, Zhaochen Applying these patches on the dpdk-1.7.0, we verified the compilation on Fr= eeBSD10.0 with Clang 3.3 and Fedora20 with Clang 3.4. We also verified some simple test case (pmd, cmdline, hello_world and timer= ) on FreeBSD with Clang 3.3. > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Tuesday, July 08, 2014 7:37 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 0/6] Clang compilation support on FreeBSD and > Linux >=20 > This patch set enables clang compilation on FreeBSD and Linux. It include= s > patches to fix a number of compilation errors thrown up by clang, and the= n > adds in the appropriate toolchain makefiles and compile-time configuratio= ns. >=20 > This set has been tested with clang v3.3 on FreeBSD 10 and clang v3.4 on > Fedora linux 20. The example apps folder has not been tested at this time= , > this > patch set only focuses on the core libraries and apps. >=20 > Bruce Richardson (6): > pmd_bond: add missing variable initialization > Makefiles: add clang to compiler if/else block > mk: Ensure correct detection of SSE4.2 on FreeBSD > acl: add nmmintrin.h header to allow clang compilation > mk: add toolchain for clang and linuxapp target > config: add compile target for clang on BSD >=20 > config/defconfig_x86_64-native-bsdapp-clang | 71 > ++++++++++++++++++++++++ > config/defconfig_x86_64-native-linuxapp-clang | 63 > ++++++++++++++++++++++ > lib/librte_acl/acl_bld.c | 1 + > lib/librte_pmd_bond/rte_eth_bond_pmd.c | 2 +- > lib/librte_pmd_i40e/Makefile | 9 ++++ > lib/librte_pmd_ixgbe/Makefile | 7 +++ > lib/librte_pmd_vmxnet3/Makefile | 7 +++ > mk/machine/native/rte.vars.mk | 12 +++++ > mk/toolchain/clang/rte.toolchain-compat.mk | 43 +++++++++++++++ > mk/toolchain/clang/rte.vars.mk | 77 > +++++++++++++++++++++++++++ > 10 files changed, 291 insertions(+), 1 deletion(-) > create mode 100644 config/defconfig_x86_64-native-bsdapp-clang > create mode 100644 config/defconfig_x86_64-native-linuxapp-clang > create mode 100644 mk/toolchain/clang/rte.toolchain-compat.mk > create mode 100644 mk/toolchain/clang/rte.vars.mk >=20 > -- > 1.9.3