From patchwork Thu Mar 22 20:27:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 889617 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=datacom.ind.br Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 406dXS3rncz9s0v for ; Fri, 23 Mar 2018 07:28:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5A0F085EC7; Thu, 22 Mar 2018 20:28:06 +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 72TNmxJ4xKHf; Thu, 22 Mar 2018 20:28:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7472985F34; Thu, 22 Mar 2018 20:28:05 +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 C8CC61C0156 for ; Thu, 22 Mar 2018 20:28:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C60D885EDE for ; Thu, 22 Mar 2018 20:28:04 +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 MYvPsBfkn7SF for ; Thu, 22 Mar 2018 20:28:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5197785EAE for ; Thu, 22 Mar 2018 20:28:03 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id B80471BA41EB; Thu, 22 Mar 2018 17:28:04 -0300 (-03) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 9D05E1BA41F1; Thu, 22 Mar 2018 17:28:04 -0300 (-03) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ex_ZVUb5PWV4; Thu, 22 Mar 2018 17:28:04 -0300 (-03) Received: from pedeld202344.datacom.net (pedeld202344.datacom.net [10.0.120.87]) by mail.datacom.ind.br (Postfix) with ESMTPSA id 621361BA41EB; Thu, 22 Mar 2018 17:28:04 -0300 (-03) From: Carlos Santos To: buildroot@buildroot.org Date: Thu, 22 Mar 2018 17:27:46 -0300 Message-Id: <20180322202752.2562-1-casantos@datacom.ind.br> X-Mailer: git-send-email 2.14.3 Subject: [Buildroot] [PATCH 0/6] tpm2-{tss, abrmd, tools} fix compilation errors X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 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" Declare dependency on a toolchain with C++ because tpm2-tss 1.4.0 still contains some C++ code. This has already changed on upstream, so future versions will drop the dependency on a C++ compiler. Declare dependencies of tpm2-tools on MMU, threads and wchar (for libglib and dbus). Disable stack smashing protection if the toolchain does not support it. This must be done explicitly because the configuration scripts attempt to enable SSP without proper testing. Carlos Santos (6): tpm2-tss: declare dependency on a toolchain with C++ tpm2-tss: allow building without stack smashing protection (SSP) tpm2-abrmd: declare dependency on a toolchain with C++ tpm2-abrmd: allow building without stack smashing protection (SSP) tpm2-tools: propagate dependencies of selected packages tpm2-tools: allow building without stack smashing protection (SSP) package/tpm2-abrmd/Config.in | 5 +++-- package/tpm2-abrmd/tpm2-abrmd.mk | 4 ++++ package/tpm2-tools/Config.in | 8 ++++++++ package/tpm2-tools/tpm2-tools.mk | 4 ++++ package/tpm2-tss/Config.in | 3 +++ package/tpm2-tss/tpm2-tss.mk | 4 ++++ 6 files changed, 26 insertions(+), 2 deletions(-)