Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3649674imm; Mon, 30 Jul 2018 00:35:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeRiH3IndQEPeAjxAo8cqUQTL3qf2kKTFfV3davLWboNM9zBR/WL+/mluh7xEfWtsxMVW5M X-Received: by 2002:a17:902:b708:: with SMTP id d8-v6mr15512859pls.184.1532936139485; Mon, 30 Jul 2018 00:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532936139; cv=none; d=google.com; s=arc-20160816; b=SAaoX6p3RRKxf2KDCTrrqxaBIzcZAjYI2UQjkZ82tDNcng6HHeS7pyPmY2/SqPoG8I gDTdo/FhvsluSWrOl6ZVWgMhPbrn2F/bLQPc0twT9q/bMOoowKsrDlWjLuWlqgfAH2Sl cg5xIbBhX+fKtx4/GhLK4nQS5cSAQkID57kSSSoyu/q/DgAAztspae1VG3WNhQ5mte4q ZtiuDDj3uHdoLcgRLvCJ1AGyTEQp74A2IGHfha8ZVg3gnEx/EJTHHdM9H6M4bBAPJD/e 1qxgTd+3hTxFBA8IiVvYwjO8HJDGfhgyJ5kQ+LKtK5a+4bCa2/5aRn71ABol34aZFGHc 4P4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=MH5LFfS/EXpdbjuSygFhm43HbyL2zLtYi2gIHhvx560=; b=fxby8YoBmtQrSrpIdd0yeJY9uMLLtrOpyHfMtZCwpxglx1f3txvTGqalSSk4xpwzcG 9FeH7UwdQcsLt9++nfcCVXgttlNP3ySEBbTxeKv86jxi6zgiC4ZmIx8g1JenvIZf09FT AldejGWPsBMxTZtA4j/KHgUVUAWo4WdFYf+FGorjLiru2FJaJ2CswzeWBSoKH1um0hfN ecrkZAk5mn3C08mL+8J9JUHcPQfqmMYlT9EEdDz8nIKnaZ/IQoyzvQ7jO84jUysMX3IP 0TmwbVwGFB5hmXPC+5lRFF8fI223bXYWaF6VwgoU/c5rVkFyYeKRJW3HdTUbHg1CuyQR 3VcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Jh4RrTEL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26-v6si10410854pgl.49.2018.07.30.00.35.24; Mon, 30 Jul 2018 00:35:39 -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=pass header.i=@canb.auug.org.au header.s=201702 header.b=Jh4RrTEL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726544AbeG3JIR (ORCPT + 99 others); Mon, 30 Jul 2018 05:08:17 -0400 Received: from ozlabs.org ([203.11.71.1]:47147 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726416AbeG3JIR (ORCPT ); Mon, 30 Jul 2018 05:08:17 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41fBCs52v1z9ryt; Mon, 30 Jul 2018 17:34:32 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1532936074; bh=qDz3y4DWUnYzIqoBAX49S5aiH+98telFByFMElaGEUw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Jh4RrTELgW3XNS8e79AQ66brs4Ckn7Nq3ua8rPbGAc/8LbNKxaltGY5IBJ3FMlrs/ 7spj8Ij0gjYe8BY3mjpm+u0JsQRYYwernpyM0Jyp+wTe5IztGJTDQWGHyIo2GTsyvD jZAc+4z40DcDb6cYB02peEGhBjeQ3eImHJD95PGQdVdWhoD4r0ggDN804dmLTXCGg1 yVe/CIMxwE/CdUteqgszF4JrBROV8h/8Qbb3tVgUmzdeSgu4mXmJtwoSGOJVw9chrw u4qApAcwtYtm2T23Tl4MgTFFheU+XutcZrWa87HCNOVV/npSzZvumtD30q9K0cMNXI I5lOB6HW2naBw== Date: Mon, 30 Jul 2018 17:33:56 +1000 From: Stephen Rothwell To: Will Deacon Cc: Kees Cook , Linux-Next Mailing List , Linux Kernel Mailing List , Alexander Popov , Catalin Marinas , Laura Abbott Subject: Re: linux-next: build failure after merge of the kspp tree Message-ID: <20180730173356.694fbf4e@canb.auug.org.au> In-Reply-To: <20180727125522.GA6173@arm.com> References: <20180727190207.7ce1c9b0@canb.auug.org.au> <20180727190647.3525f5f7@canb.auug.org.au> <20180727205511.7c0f2e62@canb.auug.org.au> <20180727125522.GA6173@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Fiy+PxQW0/MKhR+VtiALeCT"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/Fiy+PxQW0/MKhR+VtiALeCT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Fri, 27 Jul 2018 13:55:22 +0100 Will Deacon wrote: > > On Fri, Jul 27, 2018 at 08:55:11PM +1000, Stephen Rothwell wrote: > > On Fri, 27 Jul 2018 19:06:47 +1000 Stephen Rothwell wrote: =20 > > > > > > On Fri, 27 Jul 2018 19:02:07 +1000 Stephen Rothwell wrote: =20 > > > > > > > > After merging the kspp tree, today's linux-next build (x86_64 > > > > allmodconfig) failed like this: > > > >=20 > > > > cc1: error: plugin stackleak_plugin should be specified before -fpl= ugin-arg-stackleak_plugin-disable in the command line > > > >=20 > > > > Maybe caused by commit > > > >=20 > > > > a8b9eaddb9c0 ("gcc-plugins: Add STACKLEAK plugin for tracking the= kernel stack") > > > >=20 > > > > I have used the kspp tree from next-20180726 for today. =20 > > >=20 > > > Well, that obviously didn't work since the tree hasn't changed for a > > > few days. > > >=20 > > > I can't see what has interacted to make this happen, so I have dropped > > > the kspp tree for today. =20 > >=20 > > Actually, it may have been caused by commit > >=20 > > 0b3e336601b8 ("arm64: Add support for STACKLEAK gcc plugin") > >=20 > > from the arm64 tree. =20 >=20 > Thanks, Stephen. I managed to reproduce this by merging for-next/kspp from > Kees's tree and for-next/core from the arm64 tree. The failure happens wh= en > building the EFI stub, so the commit you mention above is almost certainly > the culprit. >=20 > We build the stub with the following GCC invocation: >=20 > gcc -Wp,-MD,drivers/firmware/efi/libstub/.efi-stub-helper.o.d -nostdinc= -isystem /usr/lib/gcc/x86_64-linux-gnu/4.9/include -I./arch/x86/include -I= ./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arc= h/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -i= nclude ./include/linux/kconfig.h -include ./include/linux/compiler_types.h = -D__KERNEL__ -mcmodel=3Dsmall -m64 -D__KERNEL__ -O2 -fPIC -fno-strict-alias= ing -mno-red-zone -mno-mmx -mno-sse -fshort-wchar -DDISABLE_BRANCH_PROFILIN= G -D__NO_FORTIFY -ffreestanding -fno-stack-protector -fplugin-arg-stackleak= _plugin-disable -fno-builtin -DKBUILD_BASENAME=3D'"efi_stub_helper"'= -DKBUILD_MODNAME=3D'"efi_stub_helper"' -c -o drivers/firmware/efi/libstub/= .tmp_efi-stub-helper.o drivers/firmware/efi/libstub/efi-stub-helper.c >=20 > so given that we're not passing any -fplugin=3D option anyway (because we > override KBUILD_CFLAGS for the stub), I don't understand why we need > to the disable option at all. >=20 > Laura? So today I am just trying reverting that arm64 tree commit. --=20 Cheers, Stephen Rothwell --Sig_/Fiy+PxQW0/MKhR+VtiALeCT Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAltev2QACgkQAVBC80lX 0Gxb+wf+P4UdIy5U3y3xgTWs4oq1pcp5iovuKt3zTZepwJuRTlWqRUo4hiAe266u zxc1a0w+Ri/+nSsPj5+qkUorZV6wtS8jz1egF/h3qP9oABVtheYg8496ncQCKYZU uX1ggMNuXeGnhR1msAGqisQD/RjTSAxIbTrNGBJBqrCw2BUCitMF06wa8QEK1eoe wJTRN+JSNCT7i9YLx61t0Y1A51jo2Ew/wPD+LdTlNHbeGjj67WV4MN9u/FXbJSvk RKrSo5dx3yw4MFHkAFFrljfXDvuoiFCAYCKV0DkqWgCbFBU0HO7b5rUr6tJe5SLo eMVmeuCcKE3QGI27nu7KAekq4Wrb9w== =+Eni -----END PGP SIGNATURE----- --Sig_/Fiy+PxQW0/MKhR+VtiALeCT--