[drm-intel:drm-intel-nightly 341/365] drivers/gpu/drm//selftests/test-drm_mm.c:58:1: fatal error: opening dependency file drivers/gpu/drm//selftests/.test-drm_mm.o.d: No such file or directory

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 28 14:55:04 UTC 2016


On Wed, Dec 28, 2016 at 10:37:09PM +0800, Fengguang Wu wrote:
> On Tue, Dec 27, 2016 at 07:46:55PM +0100, Daniel Vetter wrote:
> >On Wed, Dec 28, 2016 at 12:57:07AM +0800, kbuild test robot wrote:
> >>tree:   git://anongit.freedesktop.org/drm-intel drm-intel-nightly
> >>head:   0d15e733fab5dd48154dda2bebdacd1d87069d08
> >>commit: 50f0033d1a0f3a8e9eed09ab68067fbb57b0669d [341/365] drm: Add some kselftests for the DRM range manager (struct drm_mm)
> >>config: arm-allmodconfig (attached as .config)
> >>compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> >>reproduce:
> >>        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> >>        chmod +x ~/bin/make.cross
> >>        git checkout 50f0033d1a0f3a8e9eed09ab68067fbb57b0669d
> >>        # save the attached .config to linux build tree
> >>        make.cross ARCH=arm
> >>
> >>All errors (new ones prefixed by >>):
> >>
> >>>> drivers/gpu/drm//selftests/test-drm_mm.c:58:1: fatal error: opening dependency file drivers/gpu/drm//selftests/.test-drm_mm.o.d: No such file or directory
> >>    MODULE_LICENSE("GPL");
> >>    ^~~~~~~~~~~~~~
> >>   compilation terminated.
> >
> >Hm, it compiles fine here. Is there anything different than normal in your
> >build setup? Like compiling to a different target using O=$output_path?
> 
> Yes we use separated .o dir. Is that the problem?

No, not a problem, just my false expectation of how kbuild worked.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list