From patchwork Thu Mar 7 09:29:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 1052739 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="TLzEOQfn"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44FQM35wzvz9sD4 for ; Thu, 7 Mar 2019 20:29:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 754FF876F2; Thu, 7 Mar 2019 09:29:30 +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 wJa-gJMLVfKa; Thu, 7 Mar 2019 09:29:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5D3E8875B2; Thu, 7 Mar 2019 09:29:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id B56241BF5F6 for ; Thu, 7 Mar 2019 09:29:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B1DBD22274 for ; Thu, 7 Mar 2019 09:29:28 +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 2ZArrHzUSJM2 for ; Thu, 7 Mar 2019 09:29:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by silver.osuosl.org (Postfix) with ESMTPS id C622021FF6 for ; Thu, 7 Mar 2019 09:29:27 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id g12so16553286wrm.5 for ; Thu, 07 Mar 2019 01:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xuAm1J3CsTV/DaZnWWGnPhczmwgFT2ZecfueVd3gfOA=; b=TLzEOQfnadrlZit0QGVF/us/oq1j6/D3GdrqWxe5T0xgQSSk/zDGGAZYHR8/SEIFEV nFRW5yA62SKxjXKwyeDnj9xhEzE33rxcwhv88RZ8B8ESdTY6x8rE1NXPFgj6B7dEINW/ sdXeXpDIUAq0Og+0/CIG8pMZJouTKmBF1NiMiuJPWwhftC/aAxf2yljGvWy6ixACGoXO UD7bkjs+DJjzUoJ1GJvgdxStIbYX2DTJDNMqUCfUO87e/Mfv5L7Qn6cUvHTtbgiDNiVb rx6cVEmz7kNBIfPiefbqeohMOTTO/rRRJqLSeaLWqSXl1yBM8Cf4xPcVeFJebW2fPVbi FX6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xuAm1J3CsTV/DaZnWWGnPhczmwgFT2ZecfueVd3gfOA=; b=FCAc4vA2SXYLwnvYqKCVwM83mfwJBJ3776+J1DuYmNrwxIN4JQkkTpue6n3YnmiuFH zuzlCUhq3Zqy13j993RFjbXZyo8zPTGrSU2ceLhTeRgcWsTBpEOA2VGrSbeF/v/I8zqK OzYB6ca6WPHIFA6E3VquYQ1WSUdsWD6vnxeO+HXdI4E4T48rmuCbJwBF+VGjKMeX/5oE A/uWWpUQh4FGO8g2ZfrezcF0PTLaHEsUDVP93jonc2jHqw0vQ61f2o4HHerDsjZXvRQr nVpg6Cx9DKSzflooFgpclhatUilHibSOONZdxwPh8a04uFt/lAQOyRBPKzXL9UHY8+J0 fkOQ== X-Gm-Message-State: APjAAAUxl2PHXkuqa6P2sTVsygf01QA10vCcocjR+px8J2EMJbiSdgmM 4Izf2c7ITmq6ysW0Qh8Mgg+fyZtbcH9Ymg== X-Google-Smtp-Source: APXvYqzZGamWmnTT4qskK9n3+MCtBRDMc7ktYEsIofJJzYQOTHVsOtxG6gGYY6XI+pE7+tc1zr0HNg== X-Received: by 2002:adf:f58b:: with SMTP id f11mr5685433wro.266.1551950966096; Thu, 07 Mar 2019 01:29:26 -0800 (PST) Received: from lmenx29q.lme.st.com. (vit94-h06-176-179-145-255.dsl.sta.abo.bbox.fr. [176.179.145.255]) by smtp.gmail.com with ESMTPSA id z14sm4733587wrv.91.2019.03.07.01.29.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 01:29:25 -0800 (PST) From: Etienne Carriere To: buildroot@buildroot.org Date: Thu, 7 Mar 2019 10:29:14 +0100 Message-Id: <17603738bfac0de04a1de57a562dbde2a572d926.1551944208.git.etienne.carriere@linaro.org> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH] package/optee-client: depends on thread support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Etienne Carriere MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" BR2_PACKAGE_OPTEE_CLIENT depends on BR2_TOOLCHAIN_HAS_THREADS. Library teec uses pthread support to protect clients state management. This change declares this dependency in the package. Fixes [1] that set an toolchain without thread support and failed to build with trace: CMake Error at /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Threads (missing: Threads_FOUND) Call Stack (most recent call first): /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/FindThreads.cmake:212 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) libteec/CMakeLists.txt:8 (find_package) [1] https://autobuild.buildroot.net/results/ed6ffe2197da4f3a970bd3c5522291236396cc8e Signed-off-by: Etienne Carriere --- package/optee-client/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/optee-client/Config.in b/package/optee-client/Config.in index db0b7b7..1379201 100644 --- a/package/optee-client/Config.in +++ b/package/optee-client/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_OPTEE_CLIENT bool "optee-client" depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS help Enable the OP-TEE client package that brings non-secure client application resources for OP-TEE support. OP-TEE From patchwork Thu Mar 7 14:48:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 1052980 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="jmI7bldK"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44FYRs4Y6gz9sMx for ; Fri, 8 Mar 2019 01:49:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A9E33877AE; Thu, 7 Mar 2019 14:49:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a2pBCD-rnBxS; Thu, 7 Mar 2019 14:49:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 719938754B; Thu, 7 Mar 2019 14:49:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 543E11BF31F for ; Thu, 7 Mar 2019 14:49:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 517DD8411F for ; Thu, 7 Mar 2019 14:49:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eYxp8prD5Uuy for ; Thu, 7 Mar 2019 14:49:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A0E6F84495 for ; Thu, 7 Mar 2019 14:49:01 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id i16so17728789wrs.13 for ; Thu, 07 Mar 2019 06:49:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=AnN2LG8Le5X0aVn819C9ubDKn7I9srTk78jd5hO+SuU=; b=jmI7bldKAud/fEZy3x4+oa361s5hlpGN3gCdmbXg5Jfjexz/D2RT7GejxgyMEVUCSK W9YSjUZS3SOg/eBCvQnycMJqU9d2AdLwuhX31+ZJ9jAunELgiKV52maJt0cCz69CxymB +6Zdw9Lapro15xY6gRgf7gbRDxQNIfUhlU+pJHNieDC2Xiq3DJweX5Ibpk3GvJ/Jli6a 67cYVJe+bwl30rYVlCG8mSQd0EtsCE8jXfYcqKXb0XWiHUFBDpDlUmUa4CfPk66wUdel NrSxxRHBPI+aaKUjUtYvq4QC5HnTOGYAsYD2NwkxR9pgO8oZEAMD7naqnIjrsNdyQ42s 9HcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=AnN2LG8Le5X0aVn819C9ubDKn7I9srTk78jd5hO+SuU=; b=XOo+Z3Kpco/v/HZEtPoQOegFTQjo+jD5zJfzadH/qFay2l0E9z1Nm08CQIhu5o/QoD RVBqQRb3wXGTScNHS3xpdCILvwcdmQblDZ5+YIk0bimorqsLBeOGQ/hcPCbXa+FbPtnn ZdQLQ9Y94Ct3ogFr/jxa2ERykUJmpl9y5BqgXshJ7mG7XtZzp+8KaOsjWL3HjcNJX5R/ Phj/Y+6HSvNk5myNm4rUygES6qGuyHc1IOydM4ho6aYWVxYDImo0kDJsN+EadhcdNQHI MhZbBRJ6ZvL4jVwK1HlHyxcrx6/TnMfJ51cdO9h71WXwYUPLotT34c2ta229Hk00dtwa EtJg== X-Gm-Message-State: APjAAAVF5G7eZCQIC9MTTR1KALxLnlmHzB7Gz5opSx9jRsdj74VWvcDX PHeKOYwR/cnAacqJRAM/WXKB1i8X7t6WR7+4 X-Google-Smtp-Source: APXvYqy0l63mp1un0vxGc1Oszkn4EKt1CqQjFF5x9woDU1d9ulUMfn6m9BQm6GS5s3BaR3UZTSGkrg== X-Received: by 2002:adf:9d13:: with SMTP id k19mr7544368wre.82.1551970140026; Thu, 07 Mar 2019 06:49:00 -0800 (PST) Received: from lmenx29q.lme.st.com. ([80.214.65.35]) by smtp.gmail.com with ESMTPSA id o5sm3700746wmh.12.2019.03.07.06.48.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 06:48:59 -0800 (PST) From: Etienne Carriere To: buildroot@buildroot.org Date: Thu, 7 Mar 2019 15:48:50 +0100 Message-Id: <1551970132-9377-2-git-send-email-etienne.carriere@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1551970132-9377-1-git-send-email-etienne.carriere@linaro.org> References: <1551970132-9377-1-git-send-email-etienne.carriere@linaro.org> In-Reply-To: <17603738bfac0de04a1de57a562dbde2a572d926.1551944208.git.etienne.carriere@linaro.org> References: <17603738bfac0de04a1de57a562dbde2a572d926.1551944208.git.etienne.carriere@linaro.org> Subject: [Buildroot] [PATCH v2 2/4] package/optee-benchmark: thread dependency from optee-client X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Etienne Carriere MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Propagate dependency on BR2_TOOLCHAIN_HAS_THREADS inherited from optee-client this package depends on. Signed-off-by: Etienne Carriere --- Changes v1 -> v2: - New patch in the series. v2 propagates the optee-client dependency on threads to packages dependent on optee-client. --- package/optee-benchmark/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/optee-benchmark/Config.in b/package/optee-benchmark/Config.in index 0e36549..6948e17 100644 --- a/package/optee-benchmark/Config.in +++ b/package/optee-benchmark/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_OPTEE_BENCHMARK bool "optee-benchmark" depends on !BR2_STATIC_LIBS # optee-client + depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client select BR2_PACKAGE_OPTEE_CLIENT select BR2_PACKAGE_LIBYAML help