Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5998155imu; Tue, 13 Nov 2018 15:25:48 -0800 (PST) X-Google-Smtp-Source: AJdET5eTWg31k3TOGchhWvmFMVolttElu24+X9LwD6T1RtMMg/aSfDLLBacoJdOH+frhCTSyYaJv X-Received: by 2002:a62:5904:: with SMTP id n4mr7121784pfb.120.1542151548636; Tue, 13 Nov 2018 15:25:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542151548; cv=none; d=google.com; s=arc-20160816; b=gYtTFKNE1CAcIjSYIPJFrVEXWQ1+INAd2mrjdC9f0bBYQ8UDE0Jx2EbKrOOGNzM6A5 Mn26AmqUQRxJtJk/H8yowHfnoPtZoLdtDV0EJuzyE3jMJrc1q8yxNsrfwhbLhFozdDYb SqHO951uKaa4oN634YYcIWzFxn651mrOIl1i4a1mmjjQUPsxXf1QoeIcA29ou70zr8Oa N/bthJcgHWtAqeMfFNS+wR0t95uGzbgtjZNteB7sqYuuIsrxljFc1aKcBygy6eDEonO+ fsKhO2RszX9YfTYxHz1vdbcHq+O1tO2xDl9f8v8JJpmTbITQnYCWfG38+wJ5Nk9n7qhJ YXTA== 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:dkim-filter; bh=5/n47B9WoRQG5RqZHb6nYGRENCEo59FrzGhRZk/VOW0=; b=PtgIyBFE/PPO8X4FdZrHcJMB3+heC+7ugW+ocYPQMKNuqlTfeeOHz3d6Jadk1Tq+Xs f1eW5E2BtTv+wCuxAYERPbP32G5N1kU84Fh11htBgc2+2ixdGxOTUSuX0E0QAq1Wa0XK KObR5BOrxfQ5823fTLlZ4swHcdstGzRH0uHryL9S/EM/c1kX3Wdjo2kEPf0cQW15GKT6 kpDT1By3Q1DTMFwxMhhYD18nH+ChVy8aWcWTv1/ALETSBF58aUlMmCphJdWW1HoV2VMD aNPBRQ/h2rBoLYDe4teUAYX3RajY3FGj2w7O+OsiXGo/VzOn7Ly4Y1j51mMrkxC5tjTZ IkAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=CZmIb4A4; 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 w15-v6si24770063plk.269.2018.11.13.15.25.32; Tue, 13 Nov 2018 15:25:48 -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=@nifty.com header.s=dec2015msa header.b=CZmIb4A4; 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 S1728407AbeKNJZk (ORCPT + 99 others); Wed, 14 Nov 2018 04:25:40 -0500 Received: from conssluserg-04.nifty.com ([210.131.2.83]:58339 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726022AbeKNJZk (ORCPT ); Wed, 14 Nov 2018 04:25:40 -0500 Received: from mail-ua1-f53.google.com (mail-ua1-f53.google.com [209.85.222.53]) (authenticated) by conssluserg-04.nifty.com with ESMTP id wADNOxRA011146; Wed, 14 Nov 2018 08:25:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com wADNOxRA011146 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1542151500; bh=5/n47B9WoRQG5RqZHb6nYGRENCEo59FrzGhRZk/VOW0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=CZmIb4A4BHLNhnNfTrLINykuiME6cD+ludvir+rgX0RF/0xATVjTAkUCXseAdg5YP zWIqJnvMv1czTIyeQT+pWmhDep7NljR8RIPL7d7rCm19tCvLgw2OigxxMAAyufNKCF +TJiN7rpl6LEps7lSUWsA1ToD6IUgnELFLVxxrFy5kNQ1U54kXFGH0TsIyOzEnpIl+ X6m9cvQFLDww7qODhlxdK9nUW6KbTfBf9ko3wiinA55/WabzxiPURh1MdgcA7BGsZ3 y4FOB5Jo9pctcDQqHXnB+b+HKGbsSD5ffzHAzeUXv8fwRPq2wIt3LRMFkRBQMjdnj6 dMOz1dsdFfBlA== X-Nifty-SrcIP: [209.85.222.53] Received: by mail-ua1-f53.google.com with SMTP id d19so5028915uaq.11; Tue, 13 Nov 2018 15:24:59 -0800 (PST) X-Gm-Message-State: AGRZ1gJpkMNTkeeSSST1OIiJY1CCEHUdt9UMF5ue8SONbGh8kkW1iFgu SSDUNOGHdCx8rLQI8imMHfa8QZ4hIzTFMM0HOyg= X-Received: by 2002:ab0:3402:: with SMTP id z2mr3456573uap.6.1542151498764; Tue, 13 Nov 2018 15:24:58 -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: Masahiro Yamada Date: Wed, 14 Nov 2018 08:24:22 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] kbuild: add -no-integrated-as Clang option unconditionally To: Linux Kbuild mailing list Cc: Nick Desaulniers , Stefan Agner , Matthias Kaehlcke , Joel Stanley , linuxppc-dev , Michael Ellerman , Michal Marek , Linux Kernel Mailing List 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 Tue, Nov 6, 2018 at 12:06 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 > --- Applied to linux-kbuild. > > 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 > endif > > RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register > -- > 2.7.4 > -- Best Regards Masahiro Yamada