From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id B91C091BF for ; Mon, 20 Jun 2016 10:51:10 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id r201so51192538wme.1 for ; Mon, 20 Jun 2016 01:51:10 -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=mfCPpttpubJI4fHjFybUjM5weZrMhGqphXAu6bqDRoE=; b=gR9+QKuu1VXtTcmRxv2Ygj1GNmYar5nj7CZBqnAfuQQzcBDCvWKYj7VFk9c+cR6XZj jsvNKywPUKAV0ZGQ7hZ/6Qum3PF7wbIO0A8xg3M4ylqEbwuerbr1ndcGPDdUijt7+OV6 +WfoU/fSBWk/pF3qfxQJfajdWGN+DliGamnexG4SL10UmXpK3oKaE4QGOVVkf8wY7zoD uiPmrDEM5TnYTjm1Uzz1mvs3ctiNqPeXH24BJEU4auvYd29SIt2G2hyKawNYk4hbozhS 3ZbLprzsvl1fEU0z9jeecxAxExoCwfDNc73ONFENZ1kKQkQDXoIBSk9Y/KFv0mj8xyFz ARuQ== 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=mfCPpttpubJI4fHjFybUjM5weZrMhGqphXAu6bqDRoE=; b=StORyg/XLDRsOy4TTzTmecRdxeGUf4XU28Umj/QwAVyzqP26CY0PmwdEirWzZugcAy ygoedKbVAek/ROjJANq7jWlF3JYFtJTIbDOPcwLuyLbq5HcO3giArg2mBlHRqGqstarN HrqkPW9jDAcsCnTajIioii2oupwzZneAbAPzNG1B4oEo6xPefHfNjWbMzKU6ffcNdEQb bPAnnyvM6d2lRWBrICh+HFS/9nXqPnzwk9sF6dWCK4iz+5HeeuMKhKYsl6cP8i6ERypC PSkDlMwS+lGrTiyg4sGP41daxWfCtnY4/kxxNHADGcllFC6SuIZMPi4AT98wEKYf+KeF A7NQ== X-Gm-Message-State: ALyK8tIpWBNS0pmeAKS8CjgOT4xrWtYP4HlahUMk/xnMuz7dMEwrVSvGg4kZYsKvWBuKnI8j X-Received: by 10.28.47.71 with SMTP id v68mr10190897wmv.49.1466412670472; Mon, 20 Jun 2016 01:51:10 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id z5sm7332708wme.5.2016.06.20.01.51.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 01:51:09 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Cc: david.marchand@6wind.com Date: Mon, 20 Jun 2016 10:51:09 +0200 Message-ID: <6539027.NpQN8fbFNe@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1466370670-20981-1-git-send-email-thomas.monjalon@6wind.com> References: <2401799.KuipojHmpA@xps13> <1466370670-20981-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix build with glibc < 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: Mon, 20 Jun 2016 08:51:10 -0000 2016-06-19 23:11, Thomas Monjalon: > The function rte_thread_setname needs glibc 2.12, > otherwise it returns -1 without using any parameter. > The macro RTE_SET_USED avoids an "unused parameter" warning. > > Fixes: 3901ed99c2f8 ("eal: fix thread naming on FreeBSD") > > Signed-off-by: Thomas Monjalon Applied