Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp86733pxb; Thu, 14 Jan 2021 00:11:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9ihQYFK8ZtjmDQdTqPeBJbxi4cEpqU4HVGuOKaGXDEnMiusOBPaBzN6tKvKAd0Ro1sBJE X-Received: by 2002:a17:906:3fc4:: with SMTP id k4mr4274731ejj.137.1610611870698; Thu, 14 Jan 2021 00:11:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610611870; cv=none; d=google.com; s=arc-20160816; b=lW7I3H6uj5p75EfuhY8JEmOcLlRthRy0SteLuWkURlGhgWROv32TAud+mWlZpTcqWv yXfYmFSi6MNbYAwNlPW935cJgpC3kbGLflLiXd2VjYnt36KFJZXftGsLUT/XYHQsRRx6 hCctEBS1xTnLalatDwxr9R4/u/i1L8SG57ZGMuKmQDPohljubB++sBxIwItWqo/bU9Kj RAqb48SK2Is0GLHIrRYQKxM0a4P440PShkpL9qV4rXCX9ZcP6Ql+mnsZHz/mIwTvkQgv da/lfSvRHVZlVt69GaMqaIEbHU15HP1jGiZtQAi3yfvVB1BiqfIgWJ0f7QISweoClXdZ irKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=yJph4w0lqPRbllahTQ9qs1P5veXDXR9nP72ddW4htp4=; b=dRiMWISYQFQlv4SzFFdieV0rO1DkQPekQkuViXT1mwxY+wSmn2hkel0rmw1gRzR6Dl LVB4CkwseDhRU2Vd3heXf3eWRxCyCLte+SxRct8SXpApJc95EqKxn1VGLeWTpJvJDjMB WPBlnGFghvZZNHFS5GSebmj+s5cVozO4sQ49umKCKIlh8m+lgeglhTcsudWQoGZC2wAo aAkRq+PhcZ5ebQukvETCkJiVMarOg7DYx6u4xD5pXhCMPn9I105HyH63E2bif850KRwO mgOcAFScfoBK3OC25cCKjPJoYJiGL1Y+pRJ62O/kDt75Rod9ZCt9j2uqfR5VctSc+ECX Y5gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KPjP628f; 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 dp21si65201ejc.108.2021.01.14.00.10.47; Thu, 14 Jan 2021 00:11:10 -0800 (PST) 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=KPjP628f; 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 S1727830AbhANIKX (ORCPT + 99 others); Thu, 14 Jan 2021 03:10:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726742AbhANIKV (ORCPT ); Thu, 14 Jan 2021 03:10:21 -0500 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F654C061786; Thu, 14 Jan 2021 00:09:41 -0800 (PST) Received: by mail-io1-xd32.google.com with SMTP id d9so9512119iob.6; Thu, 14 Jan 2021 00:09:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=yJph4w0lqPRbllahTQ9qs1P5veXDXR9nP72ddW4htp4=; b=KPjP628f24AwBIV1SfEzodWxdvXH+6+KTbCR6QfDh7pMLn2IGHbmDHici+WXacM5BV P+wVpQhTMBKQXczvqoYxrH322L+YXsieDz+4FT5MyYnHLZeSaBT9gYQt5nXDhcE5COAx t7gnEpRWflK/udSLJoeSSNLll4hOfX7TbEeoiu31bIRFYU+Jd6KIZyBiNAfNib4AzcBG 6cyAO6XahYXb4xBrljK5fkCeM9BYOPLAzB88FSeuEHLwWLcelg8cGLQkW7NBQd0931P+ Kqk54BfEtl26Wk1bgFdsrK3Vl4OONzDM99fRN6PtlOD5w8Qga5ETuQnMQhTs9jrxsI2f MgGQ== 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:reply-to :from:date:message-id:subject:to:cc; bh=yJph4w0lqPRbllahTQ9qs1P5veXDXR9nP72ddW4htp4=; b=pNf8v2z6HFcazOmv7J08a9FcslewQ72p0NdZi7zvPy6zPah6W2cIOEUR6y/uqg1MPs VkZ7/ZYnvVdwTTE4jbf+wID6+W0epzvqh7bMRNATrlUOK9zuYuEXsb6bD8AmuOCOBdx5 JsWE6F7X4PO3dF351IG2/IHTfkamYYar2VOSYvisOLrCbFR47AOJxqfvTLTUSl3thh22 CIM63BuxKZoNGnChdGPns3c3rSvzQCPRvKjvO/31LM3aMmZ+R25UwFVi8vs0GhKz88kA XrG5/Vt1FKoiPU4qN0N6l3HkCZ5/CujEjqToZ9xmer/nZathmnrkhB0bqER7RwsHWEA0 qEXw== X-Gm-Message-State: AOAM532PxU4escenWJXWPJMt4HMSAIM376hJHC9OIeO9nuQ6d3JMCQdn 9N5KbBLxm3KER8UphFMYf8AANis6519EHEJtNGdz91AaG7I= X-Received: by 2002:a05:6602:2f93:: with SMTP id u19mr4461318iow.110.1610611780953; Thu, 14 Jan 2021 00:09:40 -0800 (PST) MIME-Version: 1.0 References: <20210114042420.229524-1-masahiroy@kernel.org> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Thu, 14 Jan 2021 09:09:29 +0100 Message-ID: Subject: Re: [PATCH v2] kbuild: check the minimum compiler version in Kconfig To: Ilie Halip Cc: Masahiro Yamada , linux-kbuild@vger.kernel.org, Paul Gortmaker , Linus Torvalds , Nathan Chancellor , Nick Desaulniers , Will Deacon , clang-built-linux , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 8:55 AM Ilie Halip wrote: > > Hi Masahiro, > > > + #elif defined(__INTEL_COMPILER) > > + /* How to get the version of intel compiler? */ > > + ICC 0 0 0 > > According to Intel documentation[1], this should do the trick: > > ICC __INTEL_COMPILER __INTEL_COMPILER_UPDATE > __INTEL_COMPILER_BUILD_DATE > > I don't have the compiler installed, but I tested this on godbolt[2] and > looks fine to me. What do you think? > I remember at university I used ICC successfully with building a Linux-kernel. Anyone has used ICC recently? I cannot remember to have seen any bug-reports regarding ICC to linux-kernel or linux-kbuild mailing-lists. - Sedat - > [1] https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/macros/additional-predefined-macros.html > [2] https://godbolt.org/z/E5PE6f > > I.H. > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/CAHFW8PRr6kjEE%3D7BSzWo7itSZgAhy_dhmnSe1yq5wMfDwEyJ9g%40mail.gmail.com.