From patchwork Wed Nov 19 14:18:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 412409 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id B01C3140174 for ; Thu, 20 Nov 2014 01:18:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CB1FF96128; Wed, 19 Nov 2014 14:18:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tl7HIJV4qTk3; Wed, 19 Nov 2014 14:18:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5112B96130; Wed, 19 Nov 2014 14:18:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B7B0F1BFA58 for ; Wed, 19 Nov 2014 14:18:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B409A96134 for ; Wed, 19 Nov 2014 14:18:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zIP78sfYPgjB for ; Wed, 19 Nov 2014 14:18:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by hemlock.osuosl.org (Postfix) with ESMTP id 583559612D for ; Wed, 19 Nov 2014 14:18:13 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 17EA9930C23A3 for ; Wed, 19 Nov 2014 14:18:10 +0000 (GMT) Received: from KLMAIL02.kl.imgtec.org (10.40.60.222) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 19 Nov 2014 14:18:12 +0000 Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by klmail02.kl.imgtec.org (10.40.60.222) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 19 Nov 2014 14:18:11 +0000 Received: from localhost.localdomain (192.168.154.104) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Wed, 19 Nov 2014 14:18:11 +0000 From: Vicente Olivert Riera To: Date: Wed, 19 Nov 2014 14:18:04 +0000 Message-ID: <1416406684-31038-2-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1416406684-31038-1-git-send-email-Vincent.Riera@imgtec.com> References: <1416406684-31038-1-git-send-email-Vincent.Riera@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.104] Subject: [Buildroot] [PATCH v3 2/2] qt: Webkit Module needs a toolchain with NPTL X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Qt Webkit Module uses pthread_getattr_np() which is implemented in toolchains with NPTL. Otherwise the compilation will fail showing this error message: wtf/StackBounds.cpp: In member function ‘void WTF::StackBounds::initialize()’: wtf/StackBounds.cpp:172:38: error: ‘pthread_getattr_np’ was not declared in this scope Signed-off-by: Vicente Olivert Riera --- Changes v2 -> v3 Write NPTL in capitals Changes v1 -> v2 Depend on BR2_TOOLCHAIN_HAS_THREADS_NPTL instead of BR2_PTHREADS_OLD package/qt/Config.in | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/package/qt/Config.in b/package/qt/Config.in index 2a4bf4e..665725e 100644 --- a/package/qt/Config.in +++ b/package/qt/Config.in @@ -375,12 +375,14 @@ config BR2_PACKAGE_QT_WEBKIT depends on BR2_PACKAGE_QT_GUI_MODULE depends on BR2_PACKAGE_QT_NETWORK depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np() help Build the WebKit module. If unsure, say n. -comment "WebKit needs shared library/gui/network support" +comment "WebKit needs shared library/NPTL toolchain/gui/network support" depends on !(BR2_PACKAGE_QT_SHARED && BR2_PACKAGE_QT_GUI_MODULE && BR2_PACKAGE_QT_NETWORK) + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT config BR2_PACKAGE_QT_STL