Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1055166imu; Fri, 9 Nov 2018 10:11:25 -0800 (PST) X-Google-Smtp-Source: AJdET5ftMja8QYltoQqAS6vTkGYU7u57f1iuYn5vjWu/gacNq48zgJSpS1Us9miblrhrB6TnsOGa X-Received: by 2002:a17:902:6b01:: with SMTP id o1-v6mr10029044plk.333.1541787084942; Fri, 09 Nov 2018 10:11:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541787084; cv=none; d=google.com; s=arc-20160816; b=fO4UsEokys0Y0pawCXqAjEJNiET+W41/eVrvJGIMJMf7GO78PDpHDbVf/CPs2rssSy Mku3mia0kuUq6pnpM2D0y8bro9QF1NCZhrTy1Vk2uuieRKnSViXSXvJFYM6QJm3p+UZ2 1Beda6u6KV96b4PFgebozmMjnCOROQDcmpB8ZTcA0cXtk3OcFaU1iSEKngKfEytigdtg gfK3/fxXwG6CZR6rLgXYAsks+LQiMwL1yL2fzUfflHFvojQf5wZaBcGRALRDgizQPW1V N3OEtbvqa3CGPZ9prm2+/zaOcwj5aCETVXvu0/gjgWb76crh8Bhn/RZxfgC2O1P8+YeL FhAg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=nTDuuew0NsZhhb2bxhxcr153BE8+fnPPLRQbpDhPrd4=; b=i8OoRItcM50sKySNCx0xvJfrTpHmCRQA8/D1bYbtWd8mRavHRTb84/1y8PEv8AFs/L ZLfmIIIHcg3My7GXrcQo/QE5mGcHZ1lgblHaCLadhbGwoXaIRn2ZUgWno63+eeYJxOKG nMiIf8nYwSKjbNROqfsprBjjAWPEDBwi/w75PocNzw9y/iHbR4ZPPVTwsasHqUmV/ViU TA06UirUxYr4y6S6eISM8dfYdLSF3wCi8wObp89M6P4d6uyM9N6U9Af5ZDF79zQM6x/j EOtEjRq8377C4zVVSwPu1kbHTK0TQJdtBF1Xz2rdq7WAfl95sBOQD7rmFbgU3bvSSZbl 0RGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=UcSV4n3k; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r39-v6si8622314pld.297.2018.11.09.10.11.08; Fri, 09 Nov 2018 10:11:24 -0800 (PST) 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=@google.com header.s=20161025 header.b=UcSV4n3k; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728621AbeKJDus (ORCPT + 99 others); Fri, 9 Nov 2018 22:50:48 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:36997 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727995AbeKJDur (ORCPT ); Fri, 9 Nov 2018 22:50:47 -0500 Received: by mail-pf1-f194.google.com with SMTP id u13-v6so1270468pfm.4 for ; Fri, 09 Nov 2018 10:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nTDuuew0NsZhhb2bxhxcr153BE8+fnPPLRQbpDhPrd4=; b=UcSV4n3kcdGjr2QJ2lfpleDryWk897/SqMXB+J+CzIh/OoE5iDWlj5xREz6Vk6Zg4G 9z+uKTR8jM7ZHVkP0TLX1oNQJPYCy7hVjdqftFlCJTA1gZtpiF15c6dgDqipzzEhI4V3 2QhV+qzP/OwHFyIZLLNwr8KG8l03xKtq+kN9kH1NMYABYnlyckU7Rfi23IHJvBqiM1/S VbNcG1cLdh+fJrCm9owbcM9nAU0kO1G/+kxMqsqqKuWeWUjraUy81fCvOakNJVQHG3yK s1I8L+1vVFUgtyRwZErYVaXBYxMEwCKP4Qp5dwd0FbTpsHI25Adhmnzz/sfFxqiM/9Yv KjqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nTDuuew0NsZhhb2bxhxcr153BE8+fnPPLRQbpDhPrd4=; b=Um+pfidin261FvWTBSlwyTid/8l7/C71ExUvBs8uoOLfWrkxlDBscZ+7Xmba3BlIQR gbEuDUBcHWCmUeE3HXJxiK8/30Pkmgva2UMgz5kIYZpsvDzoFxv7ym/9/iUQDP1/4+0V PQLhnWIMpdgjKMHoWu4LYirIKoC9G4AUWtStxkTCrir+c0+3YxR9tqO3INVew3SPwg0O es0UWbAifMoFLAe5yrjD+cB4uywoKM9sHfIvLmmQN7kMtop+wVPMJwplm4vAf4Sd/4fR oIWqtXZsLxNMPF0WMnWDA7R2/5ODRjKZUo7giZMSJqpwgHc4u8ffzbCNe757J2aQsTT7 vfQQ== X-Gm-Message-State: AGRZ1gIiArJke27HZ/6EOEyw0tHa1E7wJp8fWnszwFM4L7ciEMepmykg LrDQZUTppTo7TftcvC3BY+C30dON8Rhi10u/e7zPyg== X-Received: by 2002:a62:1095:: with SMTP id 21-v6mr9868632pfq.227.1541786944730; Fri, 09 Nov 2018 10:09:04 -0800 (PST) MIME-Version: 1.0 References: <1541473495-25262-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: <1541473495-25262-1-git-send-email-yamada.masahiro@socionext.com> From: Nick Desaulniers Date: Fri, 9 Nov 2018 10:08:53 -0800 Message-ID: Subject: Re: [PATCH v2 1/2] kbuild: add -no-integrated-as Clang option unconditionally To: Masahiro Yamada Cc: Linux Kbuild mailing list , Stefan Agner , Matthias Kaehlcke , joel@jms.id.au, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au, Michal Marek , LKML 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 Mon, Nov 5, 2018 at 7:05 PM Masahiro Yamada wrote: > > We are still a way off the Clang's integrated assembler support for > the kernel. Hence, -no-integrated-as is mandatory to build the kernel > with Clang. If you had an ancient version of Clang that does not > recognize this option, you would not be able to compile the kernel > anyway. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v2: > - New patch > > Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index 93315eb..da11700 100644 > --- a/Makefile > +++ b/Makefile > @@ -497,8 +497,8 @@ CLANG_GCC_TC := --gcc-toolchain=$(GCC_TOOLCHAIN) > endif > KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) $(CLANG_PREFIX) > KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) $(CLANG_PREFIX) > -KBUILD_CFLAGS += $(call cc-option, -no-integrated-as) > -KBUILD_AFLAGS += $(call cc-option, -no-integrated-as) > +KBUILD_CFLAGS += -no-integrated-as > +KBUILD_AFLAGS += -no-integrated-as Sorry for the delay in review. Reviewed-by: Nick Desaulniers Tested-by: Nick Desaulniers > endif > > RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register > -- > 2.7.4 > -- Thanks, ~Nick Desaulniers