From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id F40B75593 for ; Mon, 27 Jun 2016 22:45:41 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id 187so23435910wmz.1 for ; Mon, 27 Jun 2016 13:45:41 -0700 (PDT) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=1KN9BfJ+X0JMB6MekTBY0c5XU7RwZw/d2MENYAoIpvc=; b=PqNU9mn/GF+OhWNRN6FI91FIIGFYTQvmv4Gfr/0eIk9e98+5SzaqSUJISYN8IqOARS Bze4eJfvYk5Yyn7kcDLsnSxSvdVsoNdGHLTf27qq8dQdsxVGH2/eC/FTQIc/3v0Fr56X e++vApbKN314w/Bip6mFiRauEuzUdAJTR/fJhMM9X5GQ3W8LbBue7t1SwapkBicWKWmP tuQ+sIADO5DNwKXbxTXdYB7R3tpKyNfXImorOcQGp3BYucv0h8yw5QsEyvXeHUS/SIPl S7sHatjLR2IC5Nv1XMkTh6QOYeVU9sZUN7GUeqtINQzpTn6Ez5VjUfmAAE+uCyhgDi+J CoQg== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=1KN9BfJ+X0JMB6MekTBY0c5XU7RwZw/d2MENYAoIpvc=; b=ZtjoEC46Ueb1uVGlrYOVSzOnOMh4/d76mPwhmqGz5Hz34ImP2q6BHWTP9gK7H8HK7w YlA3yuyVrjMOCicD8rwvf3A5gMRybhiyGV2euONNep3T69HOlF/3y5E52MbgRZ4DWiY3 8huvLFEQt40h99uUhlGynLC34ArBJpkPAyhrjFX4s45hKzH6XBWv806yGWn0Qdg5Ae5H 4VLkubnlFNTs7azU/ybpwbzUSmyWLdIlUcq4u0eriFXIUgzCA9gHSkcTCf4755Sl6r/b Lna0yWMcvgTc0VRMBlECLqFuZ61ppF66DpOto5OXt648Np+qruvpqklzNmwEts2o7A19 XWNA== X-Gm-Message-State: ALyK8tIyM3MJPKuTqGPdNlw2iRoAJk2FGiZUjQfKzVLIPGsyrhSJfAGVC9O54tr8zp2bxBHf X-Received: by 10.28.128.69 with SMTP id b66mr4143332wmd.56.1467060341748; Mon, 27 Jun 2016 13:45:41 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id qg5sm1795943wjc.13.2016.06.27.13.45.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jun 2016 13:45:40 -0700 (PDT) From: Thomas Monjalon To: "Wiles, Keith" Cc: dev@dpdk.org Date: Mon, 27 Jun 2016 22:45:39 +0200 Message-ID: <5578887.p7vRAffkie@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] FYI: Using ccache a linux compiler caching tool with DPDK 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, 27 Jun 2016 20:45:42 -0000 2016-06-27 18:10, Wiles, Keith: > It appears the ccache and clang have a few problems without the globa= l having the environment variable set: > export CCACHE_CPP2=3Dyes >=20 > Without this environment variable clang starts to complain about a nu= mber of issues. If you see a compile problem please rebuild with ccache= disabled using =E2=80=98sudo CCACHE_DISABLE=3Dtrue =E2=80=A6=E2=80=99 = or uninstall ccache =E2=80=98sudo apt-get remove ccache=E2=80=99 With ccache 3.2, it is possible to replace the environment variable CCACHE_CPP2=3Dyes by the configuration run_second_cpp=3Dtrue in ccache.= conf. See http://peter.eisentraut.org/blog/2014/12/01/ccache-and-clang-part-3= / > It is possible that GCC will also have compiler issues, but I do not = seem to see any, just try without ccache to verify. >=20 > Here is a link to help explain more details: > See e.g. http://petereisentraut.blogspot.com/2011/09/ccache-and-clang= -part-2.html >=20 > If the build works then I have not found any issues with using ccache= except a faster build time =E2=98=BA YMMV=20 >=20 > Regards, > Keith