From patchwork Sun Apr 20 05:30:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 340512 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id A115F1400E0 for ; Sun, 20 Apr 2014 15:31:03 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9777D8F486; Sun, 20 Apr 2014 05:31:02 +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 3aKgQxoA1gWG; Sun, 20 Apr 2014 05:31:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B16938F3EE; Sun, 20 Apr 2014 05:31:01 +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 E5CF31BF98E for ; Sun, 20 Apr 2014 05:31:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E27CD8F3EE for ; Sun, 20 Apr 2014 05:31:00 +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 ZBoCIKmw1-U2 for ; Sun, 20 Apr 2014 05:30:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7DF1E8EDA5 for ; Sun, 20 Apr 2014 05:30:58 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id 105D8440605; Sun, 20 Apr 2014 08:30:56 +0300 (IDT) From: Baruch Siach To: buildroot@busybox.net Date: Sun, 20 Apr 2014 08:30:43 +0300 Message-Id: X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH] mesa3d: needs NPTL threading 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 Strictly speaking, linuxthreads (new) should be enough, since it includes pthread_barrier_* implementation. However, we currently have no clean way to distinguish between LT and LT.old. Fixes: http://autobuild.buildroot.net/results/66a/66a9d2c664e0a9b2b0c51b998c72c2ceda90ff9b/ Signed-off-by: Baruch Siach --- package/mesa3d/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 0793b486d97b..06f2bc382102 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -12,6 +12,7 @@ menuconfig BR2_PACKAGE_MESA3D select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XSERVER_XORG_SERVER depends on BR2_INSTALL_LIBSTDCPP depends on BR2_LARGEFILE + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL help Mesa 3D, an open-source implementation of the OpenGL specification. @@ -124,5 +125,6 @@ config BR2_PACKAGE_PROVIDES_LIBGLES endif # BR2_PACKAGE_MESA3D -comment "mesa3d needs a toolchain w/ C++, largefile" - depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP +comment "mesa3d needs a toolchain w/ C++, largefile, NPTL" + depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL