From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E6ABC433FE for ; Tue, 15 Nov 2022 13:10:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0FB734042F; Tue, 15 Nov 2022 13:10:29 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 0FB734042F X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XlcsYv-QqrEG; Tue, 15 Nov 2022 13:10:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 1AE06415E1; Tue, 15 Nov 2022 13:10:27 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1AE06415E1 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id CC0431BF319 for ; Tue, 15 Nov 2022 13:10:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B1994814BB for ; Tue, 15 Nov 2022 13:10:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org B1994814BB X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DUxk8DtniiBU for ; Tue, 15 Nov 2022 13:10:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 892A48144B Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by smtp1.osuosl.org (Postfix) with ESMTPS id 892A48144B for ; Tue, 15 Nov 2022 13:10:23 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id EF129E000E; Tue, 15 Nov 2022 13:10:19 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.94.2) (envelope-from ) id 1ouvhi-008eOF-Qr; Tue, 15 Nov 2022 14:10:18 +0100 From: Peter Korsgaard To: Baruch Siach via buildroot References: Date: Tue, 15 Nov 2022 14:10:18 +0100 In-Reply-To: (Baruch Siach via buildroot's message of "Sun, 13 Nov 2022 21:09:54 +0200") Message-ID: <87y1scfjnp.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH] boot/arm-trusted-firmware: fix SSP disable in v2.2 X-BeenThere: buildroot@buildroot.org 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: buildroot@busybox.net, Sergey Matyukevich Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Baruch" == Baruch Siach via buildroot writes: > ATF version 2.2 and older does not disable SSP when > ENABLE_STACK_PROTECTOR is not set. This is because the compiler enables > SSP by default, and ATF does not pass -fno-stack-protector to the > compiler. Upstream commit 7af195e29a42 ("Disable stack protection > explicitly") fixed the issue for v2.3 and newer. > Add -fno-stack-protector in CFLAGS when > BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP is not set to fix older ATF > versions. > Fixes: > https://gitlab.com/buildroot.org/buildroot/-/jobs/3301821171 > Cc: Dick Olsson > Cc: Sergey Matyukevich > Signed-off-by: Baruch Siach Committed to 2022.08.x and 2022.02.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot