From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by dpdk.org (Postfix) with ESMTP id 375172901; Tue, 16 May 2017 13:55:22 +0200 (CEST) Received: by mail-qt0-f196.google.com with SMTP id j13so20321253qta.3; Tue, 16 May 2017 04:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FCB47QVZ+ZIdBRmj2T9dbbCyim1pLeVdCdVYCI7DJUU=; b=MQhxLoEvQ2bwXx0tHb2A7AfNtTitss9Wp79N0HoQiNcv0w8L+4lICt3tzVbk3L5E9r nq+1sPBaF3HoiCRJwwOOtAOk6sqHMtMFo5ykY2/MnzoqDB9wXrtysiY/hR38V6o9FqLX NDOWZK73RxsNlzSSLZSL0n2ueTDswmNDpbBU+dX6wVwEjXZOTIewgxvO9N3pBmeMQJj2 iM0sdk4oF3mubzxUhkhGYDEQuWqrqHz7X02WlGGsNLUDFcGLi6EkNZhrtWZ3sOwflgry C9uA50ayl9y+8IKrBM78noxL3oHoujSM0uQApEb3DXpXLjeD4s9XXEPxh4U26pxIGpO2 PenA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FCB47QVZ+ZIdBRmj2T9dbbCyim1pLeVdCdVYCI7DJUU=; b=CojnafNjQ7yn6FChEp/nVBC+z7Cpn0BFFxP0zU0yTDlCzRtUQ4JZQXgs6kaxjmLqej th1B0eHezHEw1Y4wFsbh8jPT/gh5QDpEXLfeyBOx+kLP/2T4g3AiTCHZBUEIZ5zl19TJ t+vxUsXTk2Br/UFtKdWGyzEg6WhaF8HJHfVJsS74IEYSLq0ihMM0sQl+4o1nD1vf2DeF F8p243e+a0it23IDwax19aVpshkG7BtBwax1SdIGYe96v+7CgJLOaG4U90irvxtW01yK KLjAxRRsOSyQ8oMjx64gTmnRpjrhzw7+VcEgOCf4P9pnp4pl7cFIpbED4ksleZNFOI8K 28Jw== X-Gm-Message-State: AODbwcDA2Fivy/DwBCDXsKkHzrLQD0jhNazfkHOvtYPIpV8Mx8fzecpi CYkjYbi/ioOocXoZmcD7F4tTkSzIjA== X-Received: by 10.200.43.217 with SMTP id n25mr9594031qtn.190.1494935721641; Tue, 16 May 2017 04:55:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.35.134 with HTTP; Tue, 16 May 2017 04:55:20 -0700 (PDT) In-Reply-To: <20170516114458.GA18139@hmswarspite.think-freely.org> References: <20170516125140.21f0020d.viktorin@rehivetech.com> <20170516114458.GA18139@hmswarspite.think-freely.org> From: Jimmy Carter Date: Tue, 16 May 2017 17:25:20 +0530 Message-ID: To: Neil Horman Cc: Jan Viktorin , users@dpdk.org, dev@dpdk.org, maintainers@dpdk.org, jianbo.liu@linaro.org, kosar@rehivetech.com Content-Type: multipart/mixed; boundary="001a1140e914a6aa4b054fa2d8c8" X-Mailman-Approved-At: Tue, 16 May 2017 14:03:56 +0200 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Issue->Dpdk for arm cortex-a15 compilation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2017 11:55:22 -0000 --001a1140e914a6aa4b054fa2d8c8 Content-Type: text/plain; charset="UTF-8" Hi All Attached is the complete env variables file I have added RTE_KERNELDIR too Also I am now using gnu-eabi version 5.4.0 [arm-openwrt-linux-muslgnueabi-gcc (LEDE GCC 5.4.0 r3909-6411a12) 5.4.0] But I am still getting the same error Currently I am not using buildroot Is there any step by step available guide for cross compiling dpdk using buildroot for target arm cortex-a15 using some external toolchain. I found this http://dpdk.org/ml/archives/announce/2015-October/000066.html Please advise Thanks On Tue, May 16, 2017 at 5:14 PM, Neil Horman wrote: > On Tue, May 16, 2017 at 12:51:40PM +0200, Jan Viktorin wrote: > > Hello Jimmy, > > > > On Tue, 16 May 2017 15:38:22 +0530 > > Jimmy Carter wrote: > > > > > Hi All > > > > > > I am using dpdk16.11.1 and want to use openwrt external toolchain so > that I > > > can cross compile for arm cortex 15 > > > neon.(arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi) > > > > I've never built DPDK with musl-eabi. I don't think that your issue is > > related but just note that my builds have always been done with gnueabi. > > > > > My target board is Tp link archer C2600. > > > I am have assigned these env variables but still getting compilation > error > > > > > > export > > > STAGING_DIR=/home/xav-101000739/ovslede/source/ > staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi > > > export > > > PATH=$PATH:/home/xav-101000739/ovslede/source/ > staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/bin > > > > > > > > > export CROSS=arm-openwrt-linux- > > > export DPDK_TARGET=arm-armv7a-linuxapp-gcc > > > export DPDK_DIR=$PWD > > > export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET > > > export > > > CFLAGS+=-I/home/xav-101000739/ovslede/source/staging_dir/ > toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi > > > export RTE_SDK=$PWD > > > export RTE_TARGET=arm-armv7a-linuxapp-gcc > > > export DPDK_BUILD_DIR=arm-armv7a-linuxapp-gcc > > > > > > > There is a patch to Buildroot that can help you with the setup. See: > > > > https://patchwork.ozlabs.org/patch/611383/ > > > > > > > > Error:Attached file > > > > Your build fails on > > > > eal_memory.c:92: > > /home/xav-101000739/Downloads/dpdk/dpdk-stable-16.11.1/ > build/include/rte_lcore.h:56:10: error: unknown type name 'cpu_set_t' > > typedef cpu_set_t rte_cpuset_t; > > > > This looks like there is some issue with Linux Kernel headers. > > > > lib/librte_eal/common/include/rte_lcore.h: > > > > 53 #if defined(__linux__) > > 54 typedef cpu_set_t rte_cpuset_t; > > 55 #elif defined(__FreeBSD__) > > 56 #include > > 57 typedef cpuset_t rte_cpuset_t; > > 58 #endif > > > > Probably, you should set the RTE_KERNELDIR properly. > > > I don't think so. cpu_set_t is most recently defined in > /usr/include/bits/shced.h, which is a glibc header. What version of glibc > are > you building with? > > Neil > > > > > > > Please advise > > > Does dpdk have support for openwrt (arm cortex a15) > > > > DPDK does not support OpenWRT because (as far as I know) nobody from > > the DPDK community is using it in this way. I build DPDK via Buildroot > > but this is unsupported by the DPDK upstream. > > > > I could build DPDK for Cortex-A7, Cortex-A9 and Cortex-A15 in the past. > > > > I run regular builds of the master branch and I can see no breakage > > for the arm-armv7a-linuxapp-gcc configuration. > > > > Regards > > Jan > > > > > > > > Thanks > > > Akshay > > > --001a1140e914a6aa4b054fa2d8c8 Content-Type: text/plain; charset="US-ASCII"; name="env-dpdk.txt" Content-Disposition: attachment; filename="env-dpdk.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j2ri4a5x0 RFBES19CVUlMRF9ESVI9YXJtLWFybXY3YS1saW51eGFwcC1nY2MKQ09NUF9XT1JEQlJFQUtTPSAJ CiInPjw7fCYoOgpTSEVMTD0vYmluL2Jhc2gKVEVSTT14dGVybQpFWFRSQV9MRExJQlM9LUwvaG9t ZS94YXYtMTAxMDAwNzM5L292c2xlZGUvc291cmNlL3N0YWdpbmdfZGlyL3Rvb2xjaGFpbi1hcm1f Y29ydGV4LWExNStuZW9uLXZmcHY0X2djYy01LjQuMF9tdXNsX2VhYmkvbGliCk9MRFBXRD0vdXNy L3NyYy9kcGRrLTE2LjExL2V4YW1wbGVzClVTRVI9cm9vdApMU19DT0xPUlM9cnM9MDpkaT0wMTsz NDpsbj0wMTszNjptaD0wMDpwaT00MDszMzpzbz0wMTszNTpkbz0wMTszNTpiZD00MDszMzswMTpj ZD00MDszMzswMTpvcj00MDszMTswMTpzdT0zNzs0MTpzZz0zMDs0MzpjYT0zMDs0MTp0dz0zMDs0 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