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-prev] [day] [month] [year] [list]
Message-ID: <20160825000920.ipamukuy6xjgmil3@wfg-t540p.sh.intel.com>
Date:   Thu, 25 Aug 2016 08:09:20 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     Dan Williams <dan.j.williams@...el.com>
Cc:     Yilong Ren <yilongx.ren@...el.com>,
        Johannes Thumshirn <jthumshirn@...e.de>, kbuild-all@...org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [kbuild-all] make[2]: *** No rule to make target
 'tools/testing/nvdimm//config_check.o', needed by
 'tools/testing/nvdimm//dax.o'.

On Wed, Aug 24, 2016 at 07:59:05AM -0700, Dan Williams wrote:
>On Tue, Aug 23, 2016 at 7:47 PM, Fengguang Wu <fengguang.wu@...el.com> wrote:
>> On Tue, Aug 23, 2016 at 04:42:15PM -0700, Dan Williams wrote:
>>> I was not able to reproduce this, I tried on Fedora 23 and Fedora 24
>>> and both attempts succeeded.
>>
>>
>> Hi Dan, it looks the error only happens with separated obj dir, when
>> KBUILD_OUTPUT or "-C .. O=.." is used in make command line.
>
>The following worked for me, what am I missing?
>
>$ make -j 64 O=$HOME/git/obj 2>out; make -j 64 O=$HOME/git/obj
>M=tools/testing/nvdimm 2>>out;

In 0day builds, $PWD is the obj dir and so we used "-C" too:

        wfg@inn ~/linux/obj-compiletest% ls -l source
        lrwxrwxrwx 1 wfg wfg 2 Aug 24 10:40 source -> ..

        wfg@inn ~/linux/obj-compiletest% make M=tools/testing/nvdimm/
==>     /usr/bin/make -C source O=/home/wfg/linux/obj-compiletest ARCH=x86_64 -j32 M=tools/testing/nvdimm/
        make: Entering directory '/c/wfg/linux'
        make[1]: Entering directory '/c/wfg/linux/obj-compiletest'
        make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//libnvdimm.o'.  Stop.
        /c/wfg/linux/Makefile:1478: recipe for target '_module_tools/testing/nvdimm/' failed
        make[1]: *** [_module_tools/testing/nvdimm/] Error 2
        make[1]: Leaving directory '/c/wfg/linux/obj-compiletest'
        Makefile:150: recipe for target 'sub-make' failed
        make: *** [sub-make] Error 2
        make: Leaving directory '/c/wfg/linux'

Thanks,
Fengguang

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ