Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5543321pxb; Mon, 14 Feb 2022 01:23:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDDehphnkhQWIVR9h/m5UyS3Q5Su031+t3yfN+1F60qvlqpD3IZez9NmWeYf2d/sGChgsQ X-Received: by 2002:a65:67d0:: with SMTP id b16mr760884pgs.34.1644830611141; Mon, 14 Feb 2022 01:23:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644830611; cv=none; d=google.com; s=arc-20160816; b=aEzMrUIICDJqYD7aK/p9S+y7+uEBNuPvPnW/4q4DeSEzcs7RFGSgvIOwDvROm63dUB Pgyaakofo95Bw7FmZcOaGwjh459pqZTmKjrXDyJyZFcwd9MyuL45nwcikpCFLSL8dcL0 w2gs27V4hsi0erpWOA+ls1dLHnJ8/o2psCKu0e3zy8Z9KkjInVuBIMspil5sMsTH73EV +G01mNxGQ9EWzWgvoqaeXzuVjkIAOBce3hWy7sM2zl78OvkVnQ5NwjL7PZyB9y4iHxJP dcDPWBxPLxfAxGGOvr4xWNrrWsNugOAXViZCcLxhK1VvEbCZZdFbNMre6ct0Zhs7HIuI WqGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id; bh=Jh791W0MulH250E7J/xVwWZvuk9H9Gi1A/9HXYwmBFs=; b=bG8OD5O0yGJt29BE4Wekdk6gEsWJYZrTQOwrj1H7w/fPgp2ea2Gsb6JHkqLw+F3k37 jZBH7epdaL+AaABJ0sNwNkk8Ow09ALwTb6ok0Rn5RHFApknoTV+rwoxPjpc688cMCXMA mEI5I2V4OX9S87J7AW4TSfFTmxMaTVKjS49D1/5kq4HbUR10xeL2y3oUSKZMCWJ4jLMS iBoR1JFjllyIiOjnnKjwsFp0aKzyeSzv3iqVqH5tAvGo+0X+YS08jGxzKF+0t9nPcJfN XyY/xnbVdbnh7MExRwVoP/PpIUFN2Fgl9RhFX/6MybcqZUFwDdKzV4jwGTyXUrWKdrdz EZcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n15si12701068plc.468.2022.02.14.01.23.15; Mon, 14 Feb 2022 01:23:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233918AbiBMGDW (ORCPT + 99 others); Sun, 13 Feb 2022 01:03:22 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233868AbiBMGDU (ORCPT ); Sun, 13 Feb 2022 01:03:20 -0500 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2587F5E778; Sat, 12 Feb 2022 22:03:14 -0800 (PST) Received: from [192.168.0.2] (ip5f5aebcd.dynamic.kabel-deutschland.de [95.90.235.205]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 05C8D61E64846; Sun, 13 Feb 2022 07:03:11 +0100 (CET) Message-ID: Date: Sun, 13 Feb 2022 07:03:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Content-Language: en-US To: Paolo Bonzini Cc: kvm@vger.kernel.org, Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, rcu@vger.kernel.org, "Paul E. McKenney" , Zhouyi Zhou From: Paul Menzel Subject: Set environment variable `KVM` makes build fail Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Linux folks, Playing with rcutorture (`tools/testing/selftests/rcutorture/bin/torture.sh`), a Linux kernel build failed, because the script sets and exports the environment variable `KVM`. I was able to reproduce that manually (on x86_64): $ make defconfig $ scripts/config -m KVM $ scripts/config -m KVM_INTEL $ scripts/config -d KVM_AMD $ scripts/config -d KVM_XEN $ scripts/config -d KVM_MMU_AUDIT $ export KVM=XXX $ make arch/x86/kvm/kvm.o […] LINK /dev/shm/linux-kvm/tools/objtool/objtool make[2]: *** No rule to make target 'arch/x86/kvm/XXX/kvm_main.o', needed by 'arch/x86/kvm/kvm.o'. Stop. make[1]: *** [scripts/Makefile.build:550: arch/x86/kvm] Error 2 make: *** [Makefile:1831: arch/x86] Error 2 The directory `arch/x86/kvm/XXX` is created somehow. Is that expected? Do you know what is going on? I wasn’t able to reproduce this with other variables like `SND_HDA` for example. Kind regards, Paul