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 X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71B27C433E2 for ; Thu, 10 Sep 2020 16:44:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 13A0B214F1 for ; Thu, 10 Sep 2020 16:44:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EH296mRQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="K+Agj25O" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 13A0B214F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Uh2+4SPeNb0ThEGQPWCs8QKNShPqrKiYBCRpYjOW7fg=; b=EH296mRQoOWkLK46ebdH5RTNu CA3qAVBOX1Da+TvZZ4ET1QxPGxN78JZbYW7lRJajXrUhz+7tKofkBNRCFk+/hdAKfaUlR714TXSF8 WTsq6DtbKYHHif52eSpG+miTiCqt3jxMGm2vQBnNh/80HSYkM4e2qrvjtKHD48UDH8CwHhUE/mju9 zEgtN6DfMmMiRHacVsPD8M+jE5G/G8eMc9BauYCP7QMi2gp/4sLSiJItrlSoybSCm3XlPooa3g8KY yDSGFdM05sCl2UTpzArAg4Kf2TtfHqaJ5LKdGUxT7N/mSRxXgMNnr3og4o0v+RIzeJ1laQYGu8SGy f5yu9mPSQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGPfb-0007So-M5; Thu, 10 Sep 2020 16:43:35 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGPfZ-0007SB-Qn for linux-arm-kernel@lists.infradead.org; Thu, 10 Sep 2020 16:43:34 +0000 Received: by mail-qk1-x744.google.com with SMTP id w186so6750050qkd.1 for ; Thu, 10 Sep 2020 09:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=3BNUww9/1V/edxdYConYkSugtndkLik3doexYMvLDMU=; b=K+Agj25OfS7jnopwKfDlTq510BD9rZmww7eKHfUIVJO9KMvg+LuWWBkViC/W6KaVZF eMApdxaLbCGJJy56W3o2RbdU1dxDhrWb4tbajIGLRmhyuY00KrXkdAVlGCjB7pevULkD UMPGdVcKh39bRqAYBxBjyT/or63Uel7WZtV20NTe7RPKYxGun/j5JOWE1W0uqX4SZpfn pp1Bvf0lU/t0sP86BTcao8wLaOP9H1fXen/aRlI7sPZ2tTQS113fwle4j07o3P8OSmBv S23DvHepf0rpS6rUmpUiYsJGPGqjoTQVOIw+NxXG/KFCabgR17CgBqELVPMs1QjxpL5C Mdhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3BNUww9/1V/edxdYConYkSugtndkLik3doexYMvLDMU=; b=U+2vZfDSldsvPnZD1Wv2l0VdwGrpP1fXq4p5Fp5lnMZT6KZge/w8pLnrGFOLPTHZCJ dt9K0t3yuH9DaoouwK1CGD89u2JePL6NPrsrdLjVMfD5Xh6Yfs9VpbOOea3jQGWalRo8 pTbNddj/5G86tSbjpumonWyiDw72jbL92JxRMMClQT9QNtbShljAk2+kWlH78pEvH1vk h3YkOo6A7XpZhX9XepKKkb61Vew5unCMg4dJunGL9HVflFeXBXm5Q0AqVhqzfmugTdiv 6JPlQmTmbeDFnCCpoFIe0pwV3G8495uiLeTRiwuHuzJTPn8Wkcdg/WfT2l39X2FsP+q5 9e0g== X-Gm-Message-State: AOAM5311sq1lRTZyz3YxZmDH0hMvs+AKfxby/C8BdVivioAC3BlxOTiU mhiK1Yte5zYbtblAL3p0HLs= X-Google-Smtp-Source: ABdhPJxVbc8a6vlWQlbZ8mkuXKtPhwScCC4mrhFLmXahuFar/1Uo1ZEA9M+HwGhpdYF4VMn08ZvP4w== X-Received: by 2002:a05:620a:211c:: with SMTP id l28mr8443893qkl.395.1599756211766; Thu, 10 Sep 2020 09:43:31 -0700 (PDT) Received: from ubuntu-n2-xlarge-x86 ([2604:1380:45d1:2600::1]) by smtp.gmail.com with ESMTPSA id o13sm6729211qkm.16.2020.09.10.09.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 09:43:30 -0700 (PDT) Date: Thu, 10 Sep 2020 09:43:29 -0700 From: Nathan Chancellor To: Masahiro Yamada Subject: Re: [PATCH 4/4] kbuild: remove cc-option test of -Werror=date-time Message-ID: <20200910164329.GD3119896@ubuntu-n2-xlarge-x86> References: <20200910135120.3527468-1-masahiroy@kernel.org> <20200910135120.3527468-4-masahiroy@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200910135120.3527468-4-masahiroy@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_124333_870462_FBE429CE X-CRM114-Status: GOOD ( 19.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michal Marek , linux-kbuild@vger.kernel.org, Catalin Marinas , Nick Desaulniers , linux-kernel@vger.kernel.org, Stephen Boyd , clang-built-linux@googlegroups.com, Ingo Molnar , Vincenzo Frascino , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 10, 2020 at 10:51:20PM +0900, Masahiro Yamada wrote: > The minimal compiler versions, GCC 4.9 and Clang 10 support this flag. > > Here is the godbolt: > https://godbolt.org/z/xvjcMa > > Signed-off-by: Masahiro Yamada Introduced in clang 3.5.0, see commit 4f43e554081ecac149fe360bee6eef2ed7dab8ea in LLVM. Reviewed-by: Nathan Chancellor > --- > > Makefile | 2 +- > arch/arm64/kernel/vdso32/Makefile | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Makefile b/Makefile > index 5102c89d3167..1d7c58684fda 100644 > --- a/Makefile > +++ b/Makefile > @@ -940,7 +940,7 @@ KBUILD_CFLAGS += -fno-stack-check > KBUILD_CFLAGS += $(call cc-option,-fconserve-stack) > > # Prohibit date/time macros, which would make the build non-deterministic > -KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) > +KBUILD_CFLAGS += -Werror=date-time > > # enforce correct pointer usage > KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types) > diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile > index dfffd55175a3..1feb4f8e556e 100644 > --- a/arch/arm64/kernel/vdso32/Makefile > +++ b/arch/arm64/kernel/vdso32/Makefile > @@ -92,7 +92,7 @@ VDSO_CFLAGS += $(call cc32-option,-Wdeclaration-after-statement,) > VDSO_CFLAGS += $(call cc32-option,-Wno-pointer-sign) > VDSO_CFLAGS += -fno-strict-overflow > VDSO_CFLAGS += $(call cc32-option,-Werror=strict-prototypes) > -VDSO_CFLAGS += $(call cc32-option,-Werror=date-time) > +VDSO_CFLAGS += -Werror=date-time > VDSO_CFLAGS += $(call cc32-option,-Werror=incompatible-pointer-types) > > # The 32-bit compiler does not provide 128-bit integers, which are used in > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel