lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <d3e6a461-5b37-ecfb-d63c-d35af27f2682@molgen.mpg.de>
Date:   Sun, 13 Feb 2022 07:03:10 +0100
From:   Paul Menzel <pmenzel@...gen.mpg.de>
To:     Paolo Bonzini <pbonzini@...hat.com>
Cc:     kvm@...r.kernel.org, Masahiro Yamada <masahiroy@...nel.org>,
        Michal Marek <michal.lkml@...kovi.net>,
        linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
        rcu@...r.kernel.org, "Paul E. McKenney" <paulmck@...nel.org>,
        Zhouyi Zhou <zhouzhouyi@...il.com>
Subject: Set environment variable `KVM` makes build fail

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ