Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1463212pxk; Mon, 31 Aug 2020 21:57:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+6fu/GBqiuw/jUxXjCt2iea8Ce/I1+QOeQuhUZAS5knjy8II9pvCzrUxxDGbO5kIo6TL7 X-Received: by 2002:a50:fc83:: with SMTP id f3mr216222edq.102.1598936268285; Mon, 31 Aug 2020 21:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598936268; cv=none; d=google.com; s=arc-20160816; b=KSpSQ1MCEYFq+4JNVIYBBlpfwtz3JtpCdbKQhrH5RQQqyGxP/HWlCfjVekQB/7qqgL nskjIabEW2daJU+gGnrmUOOVMkJQwzmI6S3g/+JjEUeqM25ge2ovWpPBs+Li/3RM7SOs ACnWtqp4UoOMsNZFPDcwupATXpgVzZ7DDAzoWD/xTL/OPGJ79fymYhfGx0L77aGJWY4D YSgDiPDkmMNBuowvXHbyuCvn3WMCtScxyW+h02fd0vsbrd9ehZzJT9kgYOKjdtBiTljZ TASy97Jgn1yuNnJ6/o5tYA1SYD2UnYhxtiRhTPyRVS6Kh7/k8xzyRVdhmFth0Ir2aFCX lNhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cpye1iaPTXp5G0yIMoK4Nn+LVQHWfQN0vtdnem2Drw8=; b=xNXUaJE0HBZz5pAOBwotFHXdosEv5fJVixnxwa/TF1FOGSDh75F/3lScuYaxJXpWSP 5OnjmzM+drqkqbQD9Q3NiDaRVyr1MM1z3lEYrCpp3LQNCEkDgaP9zP65n4ho8ouHqVGb qozCL+8pCF5EaHfC4IGV3rpyr5LWUN575ULZr3YV/BnxK6BxBM0MeIgl/8AQeYc/wrP8 0KnpTq4wN7HR6bMtae4yPxeyuwHEbhySVpNO8rf3blKD7lMrLUsB1SfNwaAXwqx0OPqn Q/B+vNXsRLdgTWkKQAHb3qHlC/1F1fjXJ6tgcxW7qsUNsstL6TVRaJPQ+dESiRJGJVkp r3xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lHEFgC+R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si6331937edv.185.2020.08.31.21.57.25; Mon, 31 Aug 2020 21:57:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lHEFgC+R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726312AbgIAE4G (ORCPT + 99 others); Tue, 1 Sep 2020 00:56:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725930AbgIAE4F (ORCPT ); Tue, 1 Sep 2020 00:56:05 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40EB8C061290 for ; Mon, 31 Aug 2020 21:56:04 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id p65so38121qtd.2 for ; Mon, 31 Aug 2020 21:56:04 -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=cpye1iaPTXp5G0yIMoK4Nn+LVQHWfQN0vtdnem2Drw8=; b=lHEFgC+RV5rKzrFXQPXjGKH6KaYzEIJSS5rmkBHLus0QdNJsIjgA/YpJnnBoN+bCb2 fez2ALrJvB2AGvfNslVv9LPa0vj7tRDfPYgGrqMWHSY841bJ9aSlI0UJH5rjEsDWfSDg cAlpcY/n00EhV8EZCdaLIOkYW43uA+jYktN23B3iktgMqQSxmfd+nYpJhkXNUUXwGz1m im9zGsf5o91RAsEO6/AorU6ZPR+yA7ok3Mjao+18iW2okNnkMaFNCXtX01PHJhl5yIHl H17Dp2mTtAo2Cd4btbAA7yJc+hQY/+r3Mev4DGuSFTFyY0q3dSZH8sRAD87l41aArAkF P/rA== 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=cpye1iaPTXp5G0yIMoK4Nn+LVQHWfQN0vtdnem2Drw8=; b=fPjp529204qRDsgHblbTUVX+iqJSdjYa82pKTcfR6Y2nYJG5rfEQXfYy4kJJtJOmEX 3LiW3T1peL1Ki7H3EFL/kmfBcNFZYEY3GGNNsEHIqmbqynmjdNK6zqYpJIOTDeNLnalx WSN3Q9h7g3uWXXnuvOIXubyByAx9RgjeAZRZVV7zJxcsDHrV7c6i1TcWQ1fsv6wNnC2Y 8OVXxICRGk0u58AxdBxqqPksMwxmwu+ZQXS0vHsMixkDXD7TVvEGFRSDUF6Nh6dNE/Wy W9WYTRp0N7h0oV4lC/8U1bHbQoNFHCWEDFeBuXu5MWAJ+oR8K9cwMDcQcrZpwB438OGW l5Cg== X-Gm-Message-State: AOAM530G0kfz4qz8ycQS/1LtfHtO002v2RRfodKvfWxSrsKRVPJCrwgM hVcJa05WnIG7YX4iGV7eeH0= X-Received: by 2002:ac8:376d:: with SMTP id p42mr4787879qtb.288.1598936163381; Mon, 31 Aug 2020 21:56:03 -0700 (PDT) Received: from ubuntu-n2-xlarge-x86 ([2604:1380:45d1:2600::1]) by smtp.gmail.com with ESMTPSA id 203sm227897qke.59.2020.08.31.21.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2020 21:56:02 -0700 (PDT) Date: Mon, 31 Aug 2020 21:56:01 -0700 From: Nathan Chancellor To: Nick Desaulniers Cc: Andrew Morton , Kees Cook , Miguel Ojeda , Sedat Dilek , Marco Elver , Andrey Konovalov , Masahiro Yamada , clang-built-linux@googlegroups.com, Daniel Borkmann , Alexei Starovoitov , Will Deacon , Vincenzo Frascino , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/7] Revert "arm64: vdso: Fix compilation with clang older than 8" Message-ID: <20200901045601.GC1561318@ubuntu-n2-xlarge-x86> References: <20200901002326.1137289-1-ndesaulniers@google.com> <20200901002326.1137289-5-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200901002326.1137289-5-ndesaulniers@google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 31, 2020 at 05:23:23PM -0700, Nick Desaulniers wrote: > This reverts commit 3acf4be235280f14d838581a750532219d67facc. > > The minimum supported version of clang is clang 10.0.1. > > Suggested-by: Nathan Chancellor > Signed-off-by: Nick Desaulniers Reviewed-by: Nathan Chancellor > --- > arch/arm64/kernel/vdso/Makefile | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile > index 45d5cfe46429..04021a93171c 100644 > --- a/arch/arm64/kernel/vdso/Makefile > +++ b/arch/arm64/kernel/vdso/Makefile > @@ -43,13 +43,6 @@ ifneq ($(c-gettimeofday-y),) > CFLAGS_vgettimeofday.o += -include $(c-gettimeofday-y) > endif > > -# Clang versions less than 8 do not support -mcmodel=tiny > -ifeq ($(CONFIG_CC_IS_CLANG), y) > - ifeq ($(shell test $(CONFIG_CLANG_VERSION) -lt 80000; echo $$?),0) > - CFLAGS_REMOVE_vgettimeofday.o += -mcmodel=tiny > - endif > -endif > - > # Disable gcov profiling for VDSO code > GCOV_PROFILE := n > > -- > 2.28.0.402.g5ffc5be6b7-goog >