From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 0B32D2A5D for ; Tue, 9 Feb 2016 21:35:23 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id p63so77003wmp.1 for ; Tue, 09 Feb 2016 12:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=kpyjnW1i7HU9EJSfNsiI1sxZTnbygG8/XLkhlInUDPQ=; b=qAf08scJOBVcLOhJTfMwdP02ECA+7l7aQsBwKttf6q2S9c2jPCxsuwZz1WhKg46vQ4 mgU76oGPNWZJ9MIMb+iLOqxplIdvLLd+SmZ5nUJVw1ex6bypBkjvo3BWIPKpGnPJk/mA J5D60UL6QGw7/gAL1/4nJINaHOLy1oKeqUaI/SBVIORlwbykZG+CDBKjvCHs50zIgmYz g1GRM2RkX/ciCM2OGNHTqMHtbmUemxHy/iMveVkbBaVXgrwjbXkqDmRIgTCbSnZi/7EW ZthQPOM1S1FKYs4QCwqLC/H7qE3uUciuaKk+n8S3VfVJq/R4URO54KShEblt0EH7nmMF HP/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=kpyjnW1i7HU9EJSfNsiI1sxZTnbygG8/XLkhlInUDPQ=; b=VwY/FMRsgO0IDINPM0GNYaD+5k8N6d6c4TY75iOLDguVW2ksY+AaTPmZztL14/+LRW pXiqOb6LoLQSCqKpBdjbOggjMWRhkDIwwsvxsYoypZTcYxPTymoVF0D0nyFeDYc44Sf7 pmsRKgmnVGFLtwiD7JGf4RVTW9ouDpfVubCg2O4n2clusaaw0Tnp7K9iWQZ9sa65OTCX VpP8dmoYR9nQbkERyM0CJMdk/SjGkmoVYXCE6ea3K8r3uZBuPeJf2nNfUV2ZW2btgCZR g3k4o4UiN07/c71s8DZMBbBzWUqc4EV8M8UtVn2c3YzJIyw3t9qqukgizCq5L8WpspOD JjYw== X-Gm-Message-State: AG10YOQyReg4sAlotJFjBiE6DYyUV0gWxHWCyd9pSmuCRyFBnUQdkaF7IqIaZzgc4WK0em7K X-Received: by 10.28.3.134 with SMTP id 128mr6557616wmd.92.1455050122813; Tue, 09 Feb 2016 12:35:22 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id js8sm36252925wjc.37.2016.02.09.12.35.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Feb 2016 12:35:22 -0800 (PST) From: Thomas Monjalon To: Liming Sun Date: Tue, 09 Feb 2016 21:33:57 +0100 Message-ID: <1753191.PlZlSmjA8r@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1450193851-9100-4-git-send-email-lsun@ezchip.com> <1642628.fgbdceb2p5@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2 1/3] driver/net/mpipe: support native build on tilegx platform. 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, 09 Feb 2016 20:35:23 -0000 2016-02-09 18:37, Liming Sun: > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > A comment about the TILE-Mx would be welcome. > Is it supported currently? > Isn't it an ARM arch? > > [lsun] Yes, it's ARM arch, but with similar mpipe driver. > It's not fully supported yet. I'll remove this change and add it in a different serie when it's ready. OK So we'll discuss how to integrate it later. > > +# Compile combined lib by default. > > +CONFIG_RTE_BUILD_COMBINE_LIBS=y > > Why forcing this option in the defconfig file? > > [lsun] It's just trying to make it handy for other applications like OVS or ODP on top of DPDK. However we could remove this change if it's not the recommended way. Yes please remove it. > > ARCH ?= tile > > + > > +HOST_ARCH := ${shell uname -m} > > +ifneq ($(filter tile%,${HOST_ARCH}),) CROSS = else > > CROSS ?= tile- > > +endif > > I don't think the CROSS variable should have a default value. > It really depends on the toolchain. > > [lsun] Make sense. The current code (before the change) has default value 'CROSS ?= tile-' defined, which cause some issue when doing native build. Another way is to define it as "CROSS ?=" just like other platforms. So when doing cross-compile, we could pass " CROSS=tile-" . No need to keep a "CROSS ?=" line. The variables defined in the command line get the priority. > Talking about the toolchain, is it possible to build DPDK with the provided binary toolchain http://www.tilera.com/scm/tilegx-x86_64.tar.bz2 ? > This is the Tilera Open Source page: http://www.tilera.com/scm/ > > [lsun] I tried it just now. The gcc appears ok. But this tarball lacks of some header files and libraries to compile DPDK. Yes that's what I've experienced. > We're looking into it to see whether it can be easily fixed. Please keep us informed when the toolchain is ready. Thanks