Received: by 10.192.165.148 with SMTP id m20csp373531imm; Fri, 20 Apr 2018 08:07:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx49+/sm7VNiD9N0YEhQF404+dhTUizv1cxDKrCLHSzwNftcZSnHVp2pGBbhrCc+74daWbhw6 X-Received: by 2002:a17:902:9688:: with SMTP id n8-v6mr10586736plp.366.1524236852275; Fri, 20 Apr 2018 08:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524236852; cv=none; d=google.com; s=arc-20160816; b=Vnaon/RcOF7QPoGjizM4yC6pVjnVblRaaTlh5y8HKRdtdCu9/oZvn2zVIh/5hlh+0n ocPWCa8XRKpvc/GgwXQ64NWs+Ugpwd5li8PbVZ6ZxwW9lW33JI105JbA3yI6w1cFp5hn wuDl2lGsEzdzLnfOGjpCoTNdPXdlbXDdtRdoiRlm8rvj+1mwqICW75IXMsaoosqF6gjV Y43W4bEvET64Zh6xinPN9iHI5d5pql6ji6xuDx4PYocRvSc8mnjvcOhp0xJqWX74Qajh myGA9wULDbJ2KWuEoGLxEaI/oTaoM+noHQ+91ZCAtySHD4wrxk3yq0SjL69YxZZqglYi 7X6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=fxER3Klf1Q2P4itu+AfEp3derJltROaEgVg2KbYQkGw=; b=U52glU++tJe/WucV5B5FhmpRJpAL0bWZEqNnHw1FeYQVfQeviCy3+iDY4oeC2lTfF9 cAV69cqbVCFaayE9RW5pjqIwtIZC9AKHXB2PV++0HbHk873ovHs4qE33YSDmBz/dXiPr WXKO9097zGWOnJL7cOlDaH1wMU6a6QGwv8/GcJNju4IDgay81Hrmk5sTLD9+5yFPsovJ 7wOeVmjRrtq9XYQpJJbr0MPnT8CRdOxxGwxcfQHG5zRtIAjXJ3WZVogW+CEYH608pdnd cd2HgDcbRqKSKiLxTx5rzyOkwYCktIFsXem+53XzzPIiDLyFbgdw0juwNkDNH80l8OfD /g6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=B8ZLSmGw; dkim=fail header.i=@chromium.org header.s=google header.b=J5q8WZvA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si5258973pgf.490.2018.04.20.08.07.17; Fri, 20 Apr 2018 08:07:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=B8ZLSmGw; dkim=fail header.i=@chromium.org header.s=google header.b=J5q8WZvA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755224AbeDTPFV (ORCPT + 99 others); Fri, 20 Apr 2018 11:05:21 -0400 Received: from mail-ua0-f193.google.com ([209.85.217.193]:38008 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755281AbeDTPFT (ORCPT ); Fri, 20 Apr 2018 11:05:19 -0400 Received: by mail-ua0-f193.google.com with SMTP id q38so5902357uad.5 for ; Fri, 20 Apr 2018 08:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fxER3Klf1Q2P4itu+AfEp3derJltROaEgVg2KbYQkGw=; b=B8ZLSmGwJxV+LPTIQYh0EJ0FU0AwyHxn9Yu9/a77pcYXl47V/0bEon/zwaNRZQeeCH o/nURAelSidPPNw6hULpJ3cQHn38yQOgh+Fqo+hMEgfOvBiHsfVJYM8wLWhDX0llzWCG 5+Yj4kWwIuPpDi8Pj71cEYIsKRw7mlxfLWOlxPjh3XoySh400kyL8d2Dgv1aQahbN0Nc 0af2G2atvnF4EtxPRWG4NZ3x1tLDjYYWeNLT8avD272c4z7tcInjS856e3hOlsS59MIG 3vmxMOYCp6dPNjE44aV1MVP2bnSbcEer7vXPnqCyTY+FTHrag8ztA2KJfaJpJ/ZoWs+l /Z+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fxER3Klf1Q2P4itu+AfEp3derJltROaEgVg2KbYQkGw=; b=J5q8WZvAifJMbfVzZf5bzEU1/LeNU+our80CjaTlVtuyCPjarA/9aXf71MntILdCYN bNE5S0hfOV2skvjN3bUQWS5KctgfoeBPa0rTrIjDfl1D+2R0x6EZqOjSj7Yjm+HDrUXA K4+Z/p3BCv9IhM8yWI1BuAHK5LrX5NeKHW8Us= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=fxER3Klf1Q2P4itu+AfEp3derJltROaEgVg2KbYQkGw=; b=GS9YVJJpl75fkN4lWfyCjNtIaFF+ywwvxRlG2t2TyG1nkJwsuiM0LhcKFKYBjyWOUQ OO1OyNQ5Fidl6cNb2aqJDQPWZMeOT991HpMVpOrDC49Y+j91VZjsWLQERmr2EywN6xhk LPHEA7+rC2d45RRVh13KS2oWFxRoboEC9kqEPnFOazLWUVwl6UCTj9h5O5kEJ7FsEuPa grVShV/vqZO3cZJ2JA2VfthqLMVO70r+Nn6Jjp9le8a1zmeH7juQ9BgX90Of3UBOXvCl YM+jKkIHKmekT7DYG0x7R590Qdhaz8hR2rcS5e4mlnaq9cOFe7IEilfFXz9QWSfq0qvB n1nA== X-Gm-Message-State: ALQs6tDzk4weDfGTLVry4D1hP1gPxp8O6b9rrKJ7WO/0CdJIdmkkdNmL DDnZmXDQEnN0Ep20y9iZWwEBvKZPriyOrl/1dW2zTQ== X-Received: by 10.176.73.176 with SMTP id e45mr7989518uad.167.1524236717928; Fri, 20 Apr 2018 08:05:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.164.81 with HTTP; Fri, 20 Apr 2018 08:05:17 -0700 (PDT) In-Reply-To: <20180420073402.GA9356@amd> References: <20180404165559.4cd0c12c@canb.auug.org.au> <20180404074856.GA9342@amd> <20180404175852.GI5700@atomide.com> <20180404184622.GA8608@amd> <20180404195951.GJ5700@atomide.com> <20180404201837.GA9710@amd> <20180415173908.GA2024@amd> <20180420073402.GA9356@amd> From: Kees Cook Date: Fri, 20 Apr 2018 08:05:17 -0700 X-Google-Sender-Auth: 1m_YtXbAT_w4GMtKNFizyXk34CM Message-ID: Subject: Re: [regression v4.17-rc0] Re: FORTIFY_SOURCE breaks ARM compilation in -next -- was Re: ARM compile failure in Re: linux-next: Tree for Apr 4 To: Pavel Machek Cc: Daniel Micay , Tony Lindgren , Thorsten Leemhuis , Linus Torvalds , Arnd Bergmann , Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List , pali.rohar@gmail.com, sre@kernel.org, linux-arm-kernel , linux-omap@vger.kernel.org, Kevin Hilman , Aaro Koskinen , ivo.g.dimitrov.75@gmail.com, Patrik Bachan , "Serge E. Hallyn" , =?UTF-8?B?TWlja3Vsw6HFoSBRd2VydHo=?= , Clayton Craft , Martijn Braam , Sakari Ailus , =?UTF-8?Q?Filip_Matijevi=C4=87?= , Jinbum Park , Russell King Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 20, 2018 at 12:34 AM, Pavel Machek wrote: > On Sun 2018-04-15 11:00:06, Kees Cook wrote: >> On Sun, Apr 15, 2018 at 10:39 AM, Pavel Machek wrote: >> > Hi! >> > >> >> Thanks. >> >> >> >> Ok, let me try to bisect it. Compile-problem should be easy... >> >> >> >> Hmm. And as it is compile-problem in single file, it should even be >> >> reasonably fast. I did not realize how easy it would be: >> >> >> >> #!/bin/bash >> >> set -e >> >> cp config.ok .config >> >> yes '' | ARCH=arm make lib/string.o >> >> >> >> And the winner is: >> >> >> >> ee333554fed55555a986a90bb097ac7f9d6f05bf is the first bad commit >> >> commit ee333554fed55555a986a90bb097ac7f9d6f05bf >> >> Author: Jinbum Park >> >> Date: Tue Mar 6 01:39:24 2018 +0100 >> > ... >> > >> >> Acked-by: Kees Cook >> >> Signed-off-by: Jinbum Park >> >> Signed-off-by: Russell King >> > >> > So I bisect a problem in -next, and patch is merged to Linus, >> > _anyway_, breaking compilation there? Neither Jinbum nor Russell even >> > bother to comment. >> >> Hi! Sorry I lost this email in my inbox. It seems this is specific to >> a particular subset of arm architectures? (My local builds of arm all >> succeed, for example. Can you send your failing config?) I'll take a >> closer look on Monday if Daniel doesn't beat me to it. > > Daniel, Kees: any news? > > I'm aware you did not specify which Monday :-). Hi! Sorry, I got distracted. So the .config you sent me builds fine with my cross compiler. I suspect this is something specific to ELDK's compiler. I can try some other compiler versions. What version of gcc is failing? -Kees -- Kees Cook Pixel Security