From patchwork Tue Jan 15 10:15:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 1025103 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=korsgaard.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="CHsWzmlm"; dkim-atps=neutral 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 43f5p42TMBz9sCr for ; Tue, 15 Jan 2019 21:15:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2DD4923408; Tue, 15 Jan 2019 10:15:52 +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 mV5AhRiE7n2P; Tue, 15 Jan 2019 10:15:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8681A2343B; Tue, 15 Jan 2019 10:15:49 +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 359AA1BF2A9 for ; Tue, 15 Jan 2019 10:15:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3048B23376 for ; Tue, 15 Jan 2019 10:15:46 +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 w-4r7ioZCFJp for ; Tue, 15 Jan 2019 10:15:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) by silver.osuosl.org (Postfix) with ESMTPS id 6E163233B8 for ; Tue, 15 Jan 2019 10:15:42 +0000 (UTC) Received: by mail-ed1-f65.google.com with SMTP id o10so2040042edt.13 for ; Tue, 15 Jan 2019 02:15:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=T8xEOVyrWccu++/KW0ylZRlQ2rygkc3im3BATKVJ6Go=; b=CHsWzmlm/O0cWDaupN4jbwxw2ZyCNJqg0HFbKMQvGuMoP+xodEJ31MKeNIv3uzMzg5 qryx+odBd3m9KGYdHRSas5yZMjRm4GwFti6ePZjjIKPRSwgIpqP8vfEO7VbfGa9Z7Lo+ mrI0c1ci6YUo/5GRPnpeieo68pGhyTFGHV9L+IRBtUbA+bHyk3X58ycr8RkhRY9nTN3F KcWarGjofCFLnlYszIEKwkIWhfp8N8E1EGk2lhVqn4H1ppSJoJNk/OGuPeV1VSwUZmOa RDm+q2s4G1GTpAR5FRFIWbqx2aA7frpLM0SavGTG8FLpiChxPdycMrJ6Kb7wihrLFBHb +mvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=T8xEOVyrWccu++/KW0ylZRlQ2rygkc3im3BATKVJ6Go=; b=dkHkqO8R7Nx/BN3vT27kK0hcRKjuUg8XwhNtZkBk1cBNytzr26CahjOjadBjK+LOAL MJK7Fx9Atc5mXiOGjUQUbz+fPH9fGiArRrXJSnK1uRoZqw/whUcjhXPEx+T+U/RZiwux vCA+LOrbdWeiTrSkcuWTZoFO6+npOOJXYZd1/b4yFk1Pgo0hLYeQiU82RO/7RsQIOusC EpbxB/4mdwIntJasiYq+0u+mZnI8Ja2p3vxnQIDGyuqVUd1r9SNBpcsui1Fj9Jxd3S1H mrqcN8MVPd1J/vYqOigUODyPv5E8TnBzfko47LdKof9YoY1f6LpGq1hdsFPZvBrBIYUt ZFMw== X-Gm-Message-State: AJcUukfi8XSnNUT8vZxRg9D9Co5uubOGN2If7rzABK/CdO6r3g+GU/AT SvCdi6+wd80DpXZPrXDWXz7oDWPm X-Google-Smtp-Source: ALg8bN7Z4AtDvzHffgk23asQL7gU9YAmyUjHDW50V4idWf3+lJ23UbRRMSInVLG6GJMyZdu2exQtkw== X-Received: by 2002:a50:d84d:: with SMTP id v13mr2774082edj.103.1547547340437; Tue, 15 Jan 2019 02:15:40 -0800 (PST) Received: from dell.be.48ers.dk (d51a5bc31.access.telenet.be. [81.165.188.49]) by smtp.gmail.com with ESMTPSA id t15-v6sm2599085ejt.0.2019.01.15.02.15.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Jan 2019 02:15:39 -0800 (PST) Received: from peko by dell.be.48ers.dk with local (Exim 4.89) (envelope-from ) id 1gjLks-0005UA-6C; Tue, 15 Jan 2019 11:15:34 +0100 From: Peter Korsgaard To: buildroot@buildroot.org Date: Tue, 15 Jan 2019 11:15:16 +0100 Message-Id: <20190115101522.21042-1-peter@korsgaard.com> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH v2 1/7] tpm2-tss: do not enforce -fstack-protector-all 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: Peter Korsgaard MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Stack protection is now controlled buildroot wide with the BR2_SSP_* options, so disable the explicit -fstack-protector-all so the SSP logic in the toolchain wrapper is used instead. Signed-off-by: Peter Korsgaard --- package/tpm2-tss/tpm2-tss.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk index f005e5d6b8..e2e58a092d 100644 --- a/package/tpm2-tss/tpm2-tss.mk +++ b/package/tpm2-tss/tpm2-tss.mk @@ -12,8 +12,9 @@ TPM2_TSS_INSTALL_STAGING = YES TPM2_TSS_DEPENDENCIES = liburiparser openssl host-pkgconf TPM2_TSS_CONF_OPTS = --with-crypto=ossl --disable-doxygen-doc -# configure.ac doesn't contain a link test, so it doesn't detect when -# libssp is missing. -TPM2_TSS_CONF_ENV = ax_cv_check_cflags___________Wall__Werror_______fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) +# -fstack-protector-all is used by default. Disable that so the +# BR2_SSP_* options in the toolchain wrapper are used instead +TPM2_TSS_CONF_ENV = \ + ax_cv_check_cflags___________Wall__Werror_______fstack_protector_all=no $(eval $(autotools-package))