From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal/linux: fix build with glibc < 2.12 Date: Mon, 20 Jun 2016 10:51:09 +0200 Message-ID: <6539027.NpQN8fbFNe@xps13> References: <2401799.KuipojHmpA@xps13> <1466370670-20981-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: david.marchand@6wind.com To: dev@dpdk.org 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) In-Reply-To: <1466370670-20981-1-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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