From patchwork Thu Mar 7 14:48:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 1052981 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.138; helo=whitealder.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="Ee3fMHWu"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44FYRs4n80z9sNB for ; Fri, 8 Mar 2019 01:49:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4DC7586354; Thu, 7 Mar 2019 14:49:05 +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 VE9lDB2W69HV; Thu, 7 Mar 2019 14:49:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9B50B86294; Thu, 7 Mar 2019 14:49:02 +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 075581BF31F 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 EFD2E847A7 for ; Thu, 7 Mar 2019 14:49:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sVwnalN7GfYs for ; Thu, 7 Mar 2019 14:49:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B814B8411F for ; Thu, 7 Mar 2019 14:49:00 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id i12so17741193wrw.0 for ; Thu, 07 Mar 2019 06:49:00 -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; bh=UYNt/kzd7HgZjqTkkYTcDSmbxbLaXdOhtz1NkVaHWeo=; b=Ee3fMHWueCD7RkIPRSBuq7CAMIj2ILLQNaieMJUQeyIPF1qZFqMK7qfHiqvSxhZu0G cIqoP8S7ytLrYPx19taCGZSmPQSUvlmKo8AgU1vQX+/tKKfnSPIiCrmYrjMzGPO2x2jh nCZx5+UlDW9eNzh5x3HbPjkQzYQNnHM7X7cxQh5yHNa2/pnPYO74ZrWkXBrDxJaO2KB/ fLBv6hlQq93iM+55Q/uzS8wQCzOVMfrn6bEUhVnxKthuBfXiFjb/wkyP9x6l2aqhE2hD z1kraEbabmSzevuwEus2qxbFqu5rD2sB+KZzHYoQUL2lhefdzf23o5hcodjGs7BXwvZ6 VWtg== 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; bh=UYNt/kzd7HgZjqTkkYTcDSmbxbLaXdOhtz1NkVaHWeo=; b=FrlgmqB+wpZKO6mceM+nekFALKwdTzDxCeAoYOXCjp5GsIMSDvf7mwX46l3G4vnugh jIp6EOZPRU96ykus8C5e32m5TOjOCHQAFSSALS9+PYW9q6ecssKlptYM152lnWpq0o60 a8PQtpLKAdsuF9kAkvyAfSpnwzADXwT2/8GF3JKmqANBCV6Y8SDlrosix4t4cUMJ1c/r YUgjt22EcaaljWMTHfDGmbG/QTjwdTMx7gigkZw+nVixx+1HArw/fT6fJjQXzBIeqFal eEP9oeeGJHIAx3FFXBTLPcpzXTDs1hi5JvhAXcEpOVjuFJkl60teWVOdE4/DXhlejzKM jHgA== X-Gm-Message-State: APjAAAVg5EC2orPBN4algP5b27R7t3eHBj0qetNlaDtFm35eIy8B1u6G qOBcfTbIHqy86otfcF4Ha1GoJYe9VnwC8MPO X-Google-Smtp-Source: APXvYqyxAt/a+f4qSZ2M793n7CFErDWVZmkUqf7IqA0AavKpyG+GXjp/ELK0YDmHIXnj/P5Bk49tUQ== X-Received: by 2002:adf:e487:: with SMTP id i7mr7007408wrm.202.1551970139015; Thu, 07 Mar 2019 06:48:59 -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.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Mar 2019 06:48:58 -0800 (PST) From: Etienne Carriere To: buildroot@buildroot.org Date: Thu, 7 Mar 2019 15:48:49 +0100 Message-Id: <1551970132-9377-1-git-send-email-etienne.carriere@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <17603738bfac0de04a1de57a562dbde2a572d926.1551944208.git.etienne.carriere@linaro.org> References: <17603738bfac0de04a1de57a562dbde2a572d926.1551944208.git.etienne.carriere@linaro.org> Subject: [Buildroot] [PATCH v2 1/4] 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] and [2] where config selected an toolchain without thread support and build failed with trace like: 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] http://autobuild.buildroot.net/results/ed6ffe2197da4f3a970bd3c5522291236396cc8e [2] http://autobuild.buildroot.net/results/406f90048db097580b626ef889823132f8676ba1 Signed-off-by: Etienne Carriere --- Changes v1 -> v2: - No change. v2 appends changes to this change to propagate the optee-client dependency on threads to packages dependent on optee-client. --- 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