From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 8D0EF3777 for ; Wed, 18 Nov 2015 15:26:10 +0100 (CET) Received: by wmdw130 with SMTP id w130so200846327wmd.0 for ; Wed, 18 Nov 2015 06:26:10 -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=s0bvFX/3YCQowH2NoSAbuH7PCSVedMiPprJSf7zCi9w=; b=HQQTziMowU+PEbgmzfWL9Euuny7aYOzK12y7nBlBuMhDaaavvXMK593DtGYAI27yNT AO9EjI7Jw7bVaxScI2APwsPsVt6Yht9RbTPdjybZjLEdweK4XlW+6sfvcQBTstsCuqiF 429Ej885q3P+dQsbUpf1WR7rEBVpYWAr7mXKcYmulBZHtOAM0HtXulWXKALNBOoseGyB iATtL+drAYjsIRuOPPDr9cLDSSUq6ejid8KHCyapkv1Z+CgR6ezYnUZHNP/LjCwDIWQs cxSsArFBWTgo68uBkQuJRb/AK6Kc6nMNvOOafl8UIMBaAZuBGAc2s0j742Ghcz8bjrsV +sTA== 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=s0bvFX/3YCQowH2NoSAbuH7PCSVedMiPprJSf7zCi9w=; b=NCW6ywzl3Q2cmFeeqBeoSnQ71lAuNlM/L/+hcbgeVLCQYb9zlmccmhn2wmrUHOqRTW AnfbY8An4yDfLc1Gx0Yo12r1twqFP7/wUZQa0MxaViwmX9m9lVtK7sx4yujOHeRjCnQz h3SMCV578qfPUWsPDZXg5O8HXJ9ie0CrZwE60K4bfuEdxC2sKSMsuvKuJOwFxGLhStQh oJ0DqUuglGoJQ1Ni7AN+bOJHYuCZ7VtCLzXWkk4GinVdrkurNyAoKPibE1AMzU9QsmgE Bt2VWGEJ0Z4IGtpPSujC2HYoa9uC99hRX+2Lt5qgy11pbU868uJoBidDAKAicDodoY+N JP5Q== X-Gm-Message-State: ALoCoQkrQEashNxHukxKL1Qy9CSRTjYGkGbg1QMJ7JlgUmTRAqf5P3o3sMAn4ugJoOak/q12IfB8 X-Received: by 10.28.212.84 with SMTP id l81mr4595131wmg.50.1447856770413; Wed, 18 Nov 2015 06:26:10 -0800 (PST) Received: from xps13.localnet ([192.54.209.32]) by smtp.gmail.com with ESMTPSA id u185sm3539898wmu.19.2015.11.18.06.26.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Nov 2015 06:26:09 -0800 (PST) From: Thomas Monjalon To: Ferruh Yigit Date: Wed, 18 Nov 2015 15:24:56 +0100 Message-ID: <103431910.iACTIb73WP@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20151118133220.GA11599@sivlogin002.ir.intel.com> References: <20151118133220.GA11599@sivlogin002.ir.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Compile errors with libc < 2.12 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: Wed, 18 Nov 2015 14:26:10 -0000 2015-11-18 13:32, Ferruh Yigit: > When libc version is < 2.12 there are two compile errors, both introduced in DPDK2.2, more details below. > > We can solve issue in a few ways: > 1- Ignore errors, this depends on if any user has this version. glibc 2.12 released around 2010, still may have distros with libc < 2.12, at least SUSE11 does. > 2- Make DPDK compatible with older glibc versions. > 3- Use a compile option to wrap functionality that fails > > I prefer option 2, > option 1 may break DPDK for some users, and option 3 adds new complexity and dependency to maintain. > > Please advise how to proceed? Yes, please try the option 2. Having a degraded mode for old libc is acceptable. So you can use some stubs. Thanks