From patchwork Wed Nov 21 17:43:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1001280 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=datacom.com.br Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 430VLR4P8Fz9rxp for ; Thu, 22 Nov 2018 04:43:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BBB5130494; Wed, 21 Nov 2018 17:43:55 +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 u2EP2Ib29hIO; Wed, 21 Nov 2018 17:43:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D5EC1301D1; Wed, 21 Nov 2018 17:43:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BE2491BF588 for ; Wed, 21 Nov 2018 17:43:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BA9A7861A4 for ; Wed, 21 Nov 2018 17:43:50 +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 dY7z3iIr-X0A for ; Wed, 21 Nov 2018 17:43:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.com.br (mx.datacom.ind.br [177.66.5.10]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8E67785310 for ; Wed, 21 Nov 2018 17:43:47 +0000 (UTC) Received: from mail.datacom.com.br (localhost [127.0.0.1]) by mail.datacom.com.br (Postfix) with ESMTPS id 3F25C1BA3BB7 for ; Wed, 21 Nov 2018 15:44:23 -0200 (-02) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.com.br (Postfix) with ESMTP id 309991BA3BB5 for ; Wed, 21 Nov 2018 15:44:23 -0200 (-02) Received: from mail.datacom.com.br ([127.0.0.1]) by localhost (mail.datacom.com.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BiV-8NVlzOcn for ; Wed, 21 Nov 2018 15:44:23 -0200 (-02) Received: from p7-1130br.casantos.org (unknown [186.215.58.65]) by mail.datacom.com.br (Postfix) with ESMTPSA id DE5E01BA3BB3 for ; Wed, 21 Nov 2018 15:44:22 -0200 (-02) From: Carlos Santos To: buildroot@buildroot.org Date: Wed, 21 Nov 2018 15:43:37 -0200 Message-Id: <20181121174337.341-1-casantos@datacom.com.br> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH next] tpm2-abrmd: fix build without stack smashing protection (SSP) 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The configuration environment setup that disables SSP if the toolchain does not support it must be updated after the bump to version 2.0.3. Fixes: http://autobuild.buildroot.net/results/bd9005eeb24678aa530179a80bbc99b2176f8559 http://autobuild.buildroot.net/results/feff61dcb481a94f5f030117830984c5e09727ea Signed-off-by: Carlos Santos --- package/tpm2-abrmd/tpm2-abrmd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/tpm2-abrmd/tpm2-abrmd.mk b/package/tpm2-abrmd/tpm2-abrmd.mk index a4d9cfb384..74cc66ba20 100644 --- a/package/tpm2-abrmd/tpm2-abrmd.mk +++ b/package/tpm2-abrmd/tpm2-abrmd.mk @@ -13,7 +13,7 @@ TPM2_ABRMD_DEPENDENCIES = dbus libglib2 tpm2-tss host-pkgconf # configure.ac doesn't contain a link test, so it doesn't detect when # libssp is missing. -TPM2_ABRMD_CONF_ENV = ax_cv_check_cflags___fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) +TPM2_ABRMD_CONF_ENV = ax_cv_check_cflags___________Werror_______fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) TPM2_ABRMD_CONF_OPTS += \ --with-systemdsystemunitdir=$(if $(BR2_INIT_SYSTEMD),/usr/lib/systemd/system,no) \