Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp847208pxb; Wed, 13 Jan 2021 18:11:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsOkXEd2fiBL4eN6/+SGUGOPXIwUskqydgMHHgpnnqpCuJA9dTaN7MhteJPflMGsk+tdF7 X-Received: by 2002:a17:906:aacd:: with SMTP id kt13mr3537468ejb.527.1610590297546; Wed, 13 Jan 2021 18:11:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610590297; cv=none; d=google.com; s=arc-20160816; b=ZCW9vmWD3WrYM3WvtPFEXqQt3WTRTOv9pDP6tPs2gOWfYKVe+W/aRu9FvOGUIhqd+n Hx17wHumTbozE7uDk4/IIXZIgGNI+KA+CUTLYEwLQ0ciwa2c+jmLi4bGXxtS27Kdd0yl ti45EVlTOqSjsKrcl2qc5PdKEGYk050jh6JXB2kaDwia4ib9bfoQCiTbPrCxrlCuCdfd xdqi580l/NjoQRiHYKQlTY9oM6w1p2POOuuvUgzWTFabIdtZKKX6hjCTmTO7D+tW9TGG TjBNRxKyeOJNwtfCAn8X0m/neLgr21L+P7BJdbYWT2dUgnwVbj/yaBYgFIb+O5pGsONe pc5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=t343ybiazYo2WtvCjU7Ts19VKzTmTogn/vAlmRldwVc=; b=d7j97gMFmZeImt7R4HjTNlYnOAFE9P52oEA6T5w2nQLnwGEvU273PdwwwP+YqP2tQE Z3BHkSYzZpfshUmyRVnX4umdWLmZ4QQEa/VoXgUl1yL28C/K6aFIIt0emZECbtky1ksu GUUVDqqqcvUW+76S4h3EqhJ1S+k2jS7XAzbLC0FOSRnbB1QP0x2efCg94hHgFxWHM+Zd jgiqXeTEBsralfaOdZrcMeZYf+wJkZSbSZ2D7MwiQe2xYV+8xrpHdj/+OWTf9FxdIahQ CPzsvz8nDu9mhTCVzqXry8uNfG6zmHNmLUpnKbSn36bDjl649SANpq2lkPuUxasls87w wfwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=b1uCit51; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si1943453ejx.467.2021.01.13.18.11.13; Wed, 13 Jan 2021 18:11:37 -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=@redhat.com header.s=mimecast20190719 header.b=b1uCit51; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730258AbhANCKn (ORCPT + 99 others); Wed, 13 Jan 2021 21:10:43 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:38161 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729240AbhAMWWt (ORCPT ); Wed, 13 Jan 2021 17:22:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610576478; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=t343ybiazYo2WtvCjU7Ts19VKzTmTogn/vAlmRldwVc=; b=b1uCit51fiwkwjj1n0Fi3Dergl0wrNCeEccEJJNVDf7EPxZjl8gS6K7GC07GNeoVIQrWR8 ju50p+BXpHdC+iyunwLCCO8UElUaLxLpVb8HOccF1xP7NK7Bhj11r9ziIPCsz4cA7AVlmd b5njhJGyDeQOAB0pIRHRuLzm+uSPRQA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-34-CAXIf4SaNXuUxloxnEFeWA-1; Wed, 13 Jan 2021 17:21:16 -0500 X-MC-Unique: CAXIf4SaNXuUxloxnEFeWA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 15D4C801FCC; Wed, 13 Jan 2021 22:21:15 +0000 (UTC) Received: from treble (ovpn-120-156.rdu2.redhat.com [10.10.120.156]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9310D6F969; Wed, 13 Jan 2021 22:21:14 +0000 (UTC) Date: Wed, 13 Jan 2021 16:21:12 -0600 From: Josh Poimboeuf To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Toolchain-dependent config options Message-ID: <20210113222112.ej4rrd5xw2pwegvw@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro, If I copy a config with CONFIG_GCC_PLUGINS to another system which doesn't have the gcc-plugin-devel package, it gets silently disabled by "make olddefconfig". I've seen multiple cases lately where this is causing confusion. I suspect the problem is getting worse with recent added support for a variety of toolchains and toolchain-dependent features. Would it be possible to have an error (or at least a warning) in this case? For example, a "depends-error" which triggers an error if its failure would disable a feature? -- Josh