From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 40CDC8D91 for ; Wed, 25 Nov 2015 14:42:41 +0100 (CET) Received: by wmec201 with SMTP id c201so256973546wme.0 for ; Wed, 25 Nov 2015 05:42:41 -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=pDiKoASyc15leq0LEY77Bzn0ePbmOXonBqHGhkk3VxU=; b=ktql/UX8NS/DaV+vAyAbxyZhUqdqLWq8JI26U2DiUNpAwx2DqG0UNSW8uk1vHmnvvB 6TQrCYjILuzCR+RK0gn0Ed1VWvN6DhMWPTmauEWLtfv3WagHoQiRO0BdiIlI/uoICxZz reQLfnZY1sJSYVon1VvlO/3l+A7grHaVAAI8HHuq3hKA/HVHBobZX19W8CQS4f7U39J5 SJ0YS8aSGCPE/uLueTvjYtbzwdsW9Rilckpwx2LzGaeOpH5jHRyh74WwIrpOQiTSVi0e wRpoCCGeDdiMlCMWVIlUITpaGjpUErTfAkyN15XB6QyuNJ9Mt57tR76ldBLQWGp+8uil CftQ== 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=pDiKoASyc15leq0LEY77Bzn0ePbmOXonBqHGhkk3VxU=; b=BrkE9nSv3QP2JfG/0Wz9gQLluDoWBgVwCnxDSWLzo1zVI0GxyI5jRdhfwnaocVHbqc mjD2bX5QX+PDo9W3bAR37PgRtuQ7mlpiSKbBnk0NXtVsgxssgFSf3FTgvsMJxVGZ7qnN tzQR/uWVYuh/F2js2IYeHTw5cH2iSAy45/y8cxEK0QMkwEUnJghdPbi7TnApkeX0tK3O upT3d9ZWOhreg3j5Atl/HAD2rWLza/soH/0tZT/ZLEni2ljGt+ype1umu4hAwHGhqqEq roFJu5TWA9gpaG+SdK4sAJFAqLhyqs9L4Ncwj1x5SPGrAJF1xXStfOUA/MV+LD7Yzxac nDZw== X-Gm-Message-State: ALoCoQlSvD+uEgRbImNXcIPNgTuQzFAnM6+23Pr0OaffGRPX+ha478Bwaphmn/SHt1BbcTbQgKhF X-Received: by 10.28.148.147 with SMTP id w141mr4967349wmd.14.1448458961059; Wed, 25 Nov 2015 05:42:41 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id m185sm6754620wmf.0.2015.11.25.05.42.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Nov 2015 05:42:40 -0800 (PST) From: Thomas Monjalon To: Ferruh Yigit Date: Wed, 25 Nov 2015 14:41:22 +0100 Message-ID: <9863344.JMKfCW1DEN@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1448450035-23991-1-git-send-email-ferruh.yigit@intel.com> References: <20151124184755.GA26521@sivlogin002.ir.intel.com> <1448450035-23991-1-git-send-email-ferruh.yigit@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] [PATCH v2] eal: fix compile error for old glibc caused by pthread_setname_np() 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, 25 Nov 2015 13:42:41 -0000 2015-11-25 11:13, Ferruh Yigit: > Fixes: 67b6d3039e9e ("eal: set name to threads") > > pthread_setname_np() function added in glibc 2.12, using this function > in older glibc versions cause compile error: > error: implicit declaration of function "pthread_setname_np" > > This patch adds "rte_thread_setname" macro and set it according > glibc >= 2.12 check, thread naming disabled for older glibc versions, > glibc versions that support "pthread_setname_np" will keep using this > function. > > Signed-off-by: Ferruh Yigit Applied as eal/linux fix, thanks