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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no 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 19FB6C3A5A9 for ; Mon, 4 May 2020 07:11:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E512520757 for ; Mon, 4 May 2020 07:11:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Kbnqn9tg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E512520757 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yI4+r0MX49TcPUsQ1p6E0ZB3IeglXHayl3/wOVGWxHs=; b=Kbnqn9tgUzSuEj F+BLO6LVr2ibcdeuo4xaG7WUjUX7XiEIwK69DCXmTn+2/XGT1kdKWcbe38gwOfSwEEFrPxDOLomm8 pxwDSMAYVEkzRZu+QJK0eCPmiINCcExpQdhPuPctQ79DoS7dBfjqUDaLg2B1AFfwZ45fxYTvKiAeU VRKucVFgWwdMRtizGQa5aTHfE8SpO+OVu+zml/qkyusOfeF26zLuiqh0L/CyYaa2r2augfU+ACPIG Fd+9doxoNVf+Nj1XGI28ytHt55AjgDp8i3oF/IORAu1j55AKKJUC+oTmeNs71olzSH8+qCaTZycuc ojzyNhKh7agNx2ay2dNw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jVVGC-0002SI-D2; Mon, 04 May 2020 07:11:28 +0000 Received: from mail-ot1-f66.google.com ([209.85.210.66]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jVVG8-0002RB-KK for linux-arm-kernel@lists.infradead.org; Mon, 04 May 2020 07:11:26 +0000 Received: by mail-ot1-f66.google.com with SMTP id k110so3556367otc.2 for ; Mon, 04 May 2020 00:11:23 -0700 (PDT) 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=rfkxILgR6gYq3zL8Nxb8d3GiP3wwKG2LbudzQQF7WbU=; b=adjDIu9RhJBywpiEnQTzUBa5nOx5nJadVK0Y3LRLm3ukPKqp50UD72hh1MgRdGIvHh Gmk+anlsXJ5iw87cBv2J7z74IiXK5oi6Jxk76Ps/Uu8jSOuswAt3KS9j7gSrATVrD3qu T5aqKsHM+T2rJXhSpRRoswmK70UhGEckD9FjfnqmXygZ3GB9HHarNNAgE43/VeLc3C5B /bK+zYiQoGwBariZXihxLhvI5rWwaOjCdjc+DnHbTdI0ql4yUboM1HI+i7aDEhjqzxC4 2zDQ8Cl8ssNIvHOOw/dACcqofvmGfyPR+BR+SKb4cFZpTYbWnGIYqL8wTaKccb/2EVhP RVtg== X-Gm-Message-State: AGi0PuaRDBVoKFvpHXzna41mnexKLk0plA59HLIQdEs4mjqIBZGfPkus CQK/glirOKV983XaWx5W7zsFeoJAUg8UTatbMVw= X-Google-Smtp-Source: APiQypJPMgeWBRUiVyeVnkIiZGgJNdYK9YfY571As0RfWeLMVNq4WlAgY4mBZ80+C3ouKbzMSZ5KFVm7VZsG8Eqtf1M= X-Received: by 2002:a9d:7d85:: with SMTP id j5mr12499692otn.107.1588576283223; Mon, 04 May 2020 00:11:23 -0700 (PDT) MIME-Version: 1.0 References: <1585568499-21585-1-git-send-email-amit.kachhap@arm.com> In-Reply-To: <1585568499-21585-1-git-send-email-amit.kachhap@arm.com> From: Geert Uytterhoeven Date: Mon, 4 May 2020 09:11:12 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] init/kconfig: Add LD_VERSION Kconfig To: Amit Daniel Kachhap X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200504_001124_668450_20C3893C X-CRM114-Status: GOOD ( 13.38 ) 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: Catalin Marinas , Linux Kernel Mailing List , Michael Ellerman , Vincenzo Frascino , Will Deacon , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Amit, On Mon, Mar 30, 2020 at 1:42 PM Amit Daniel Kachhap wrote: > This option can be used in Kconfig files to compare the ld version > and enable/disable incompatible config options if required. > > This option is used in the subsequent patch along with GCC_VERSION to > filter out an incompatible feature. > > Signed-off-by: Amit Daniel Kachhap > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -17,6 +17,10 @@ config GCC_VERSION > default $(shell,$(srctree)/scripts/gcc-version.sh $(CC)) if CC_IS_GCC > default 0 > > +config LD_VERSION > + int > + default $(shell,$(LD) --version | $(srctree)/scripts/ld-version.sh) > + > config CC_IS_CLANG > def_bool $(success,$(CC) --version | head -n 1 | grep -q clang) .config: warning: symbol value '2.01827e+11' invalid for LD_VERSION Seen with the or32 compiler on kisskb, e.g. http://kisskb.ellerman.id.au/kisskb/buildresult/14226173/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel