From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 84F7C8DA7 for ; Thu, 19 Nov 2015 10:09:28 +0100 (CET) Received: by wmvv187 with SMTP id v187so14869409wmv.1 for ; Thu, 19 Nov 2015 01:09:28 -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=3r7oXiZt7x6SihHoUUkaxZEQccd4g5uHEIf2vrgyEkU=; b=0ptKt/xNis5Qk394pTrQEmv87pIc+bfdeDk4qtyOZYziZPU3l2eUm5j8i03Ud9rIPh bZzY7QnPAxHdKwe5RKnRR0m4Ft9obUTGo+BR8MWpBmZkIIeS58A9edO/6ptDnHl3b1JT YnfbVmoIoU9R1Z6JAFlRyNRy8tSlNKU9+MlqJzF2FOM03sPhLjqA18mjpBcipNDE3WmT 6xVeeLk8V9t/qSrje1sWmtZCAdFfG++dIpwS3A8P4qpiJdQH7lSdCl79xQiaTsNh9OZH G7FV8TI5J5nddDtkAdvWiDmJwlx37r2JM/9Mz43FvrKelSJ0pdcH4mKjQm4fPV9uATxz HbdA== 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=3r7oXiZt7x6SihHoUUkaxZEQccd4g5uHEIf2vrgyEkU=; b=lKxiVhunW0xa/WypVXlfsSKa/yo4F+qQCuXYlDIJXMfDi7LVcBgiLK2459yXI7oAO4 n1CT+JADLRYkwwpHz1rXmneOJ1OvDogLpa27uglSfw9gzAKxqbHOnhTbzMpS2X4OwtNY 17Vd+EhFTtT+z//Z3wp6E+HWPyiyytIeB7w8Bw+nMya5aTlWRwNiMS4NUU9N1SJpFKAp GJokSkkj573YmvhoX7M61brXvlc0h0NQ99vX+8xRv867Lx3lgo2460y1M/HRaShIH2mC vrh5wcWWvxVoUzRSY4jf2BCbMRCwrp9Bm7mLIbnGNBDxaf48AOKxEmayFcBmaAIU/wHY DwCg== X-Gm-Message-State: ALoCoQlwk69W+BH9m2PZoAH5Re7pEZyMOcdTl9mH9daQ4lcLb5kSvu/qJiYnkc+tJYHQtrrG+hTU X-Received: by 10.28.26.78 with SMTP id a75mr9098879wma.13.1447924168316; Thu, 19 Nov 2015 01:09:28 -0800 (PST) Received: from xps13.localnet (napsach001.hosting-cea.net. [192.54.209.32]) by smtp.gmail.com with ESMTPSA id v4sm6881652wjx.18.2015.11.19.01.09.27 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Nov 2015 01:09:27 -0800 (PST) From: Thomas Monjalon To: Simon Kagstrom Date: Thu, 19 Nov 2015 10:08:14 +0100 Message-ID: <1803345.zFkyeP7B7G@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: <20150820085106.32188573@miho> 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] kni: Use utsrelease.h to determine Ubuntu kernel version 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, 19 Nov 2015 09:09:28 -0000 > > /proc/version_signature is the version for the host machine, but in e.g., chroots, > > this does not necessarily match that DPDK is built for. DPDK will then build for the > > wrong kernel version - that of the server, and not that installed in the (build) > > chroot. > > > > The patch uses utsrelease.h from the kernel sources instead and fakes the > > upload version. > > > > Tested on a server with Ubuntu 12.04, building in a chroot for Ubuntu 14.04. > > > > Signed-off-by: Simon Kagstrom > > Signed-off-by: Johan Faltstrom > Acked-by: Helin Zhang It doesn't fix every cases but Ubuntu chroot in Ubuntu, so Applied, thanks