From patchwork Fri Jul 12 07:44:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mischa Jonker X-Patchwork-Id: 258714 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 7A3292C02AC for ; Fri, 12 Jul 2013 17:44:44 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 29817317F5; Fri, 12 Jul 2013 07:44:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tcm-0EypYrcI; Fri, 12 Jul 2013 07:44:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 4A4D826486; Fri, 12 Jul 2013 07:44:41 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 38E0B1CE4C7 for ; Fri, 12 Jul 2013 07:44:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A37C986B34 for ; Fri, 12 Jul 2013 07:44:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2ImA7eM+4wgw for ; Fri, 12 Jul 2013 07:44:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from kiruna.synopsys.com (us01smtp2.synopsys.com [198.182.44.80]) by whitealder.osuosl.org (Postfix) with ESMTP id 98CB08D082 for ; Fri, 12 Jul 2013 07:44:35 +0000 (UTC) Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by kiruna.synopsys.com (Postfix) with ESMTP id 15672F523 for ; Fri, 12 Jul 2013 00:44:35 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 03064234; Fri, 12 Jul 2013 00:44:35 -0700 (PDT) Received: from mischa-VirtualBox.internal.synopsys.com (mischa-virtualbox.internal.synopsys.com [10.100.24.26]) by mailhost.synopsys.com (Postfix) with ESMTP id 40A14231; Fri, 12 Jul 2013 00:44:34 -0700 (PDT) From: Mischa Jonker To: buildroot@busybox.net Date: Fri, 12 Jul 2013 09:44:32 +0200 Message-Id: <1373615072-5258-1-git-send-email-mjonker@synopsys.com> X-Mailer: git-send-email 1.7.9.5 Cc: Mischa Jonker Subject: [Buildroot] [PATCH] package/iozone: Build non-threads version if !BR2_PTHREADS_NATIVE X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net iozone uses pthread_setaffinity_np, which is not supported in Linuxthreads. Signed-off-by: Mischa Jonker --- package/iozone/iozone.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/iozone/iozone.mk b/package/iozone/iozone.mk index 328a526..c985141 100644 --- a/package/iozone/iozone.mk +++ b/package/iozone/iozone.mk @@ -12,7 +12,7 @@ IOZONE_LICENSE = IOzone license (NO DERIVED WORKS ALLOWED) # http://www.iozone.org/docs/Iozone_License.txt # No threading target is non-AIO as well -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) +ifeq ($(BR2_PTHREADS_NATIVE),) IOZONE_TARGET = linux-noth # AIO support not available on uClibc, use the linux (non-aio) target. else ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)