[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

Daniel Vetter daniel at ffwll.ch
Tue Dec 27 18:46:55 UTC 2016


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?
-Daniel

> 
> vim +58 drivers/gpu/drm//selftests/test-drm_mm.c
> 
>     42	
>     43		return err > 0 ? 0 : err;
>     44	}
>     45	
>     46	static void __exit test_drm_mm_exit(void)
>     47	{
>     48	}
>     49	
>     50	module_init(test_drm_mm_init);
>     51	module_exit(test_drm_mm_exit);
>     52	
>     53	module_param(random_seed, uint, 0400);
>     54	module_param(max_iterations, uint, 0400);
>     55	module_param(max_prime, uint, 0400);
>     56	
>     57	MODULE_AUTHOR("Intel Corporation");
>   > 58	MODULE_LICENSE("GPL");
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list