public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [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
@ 2016-12-27 16:57 kbuild test robot
  2016-12-27 18:46 ` Daniel Vetter
  0 siblings, 1 reply; 5+ messages in thread
From: kbuild test robot @ 2016-12-27 16:57 UTC (permalink / raw)
  To: Chris Wilson; +Cc: Daniel Vetter, intel-gfx, kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 1583 bytes --]

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.

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 59444 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [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
  2016-12-27 16:57 [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 kbuild test robot
@ 2016-12-27 18:46 ` Daniel Vetter
  2016-12-28  9:38   ` Daniel Vetter
  2016-12-28 14:37   ` Fengguang Wu
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Vetter @ 2016-12-27 18:46 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Daniel Vetter, intel-gfx, Joonas Lahtinen, dri-devel, kbuild-all

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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [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
  2016-12-27 18:46 ` Daniel Vetter
@ 2016-12-28  9:38   ` Daniel Vetter
  2016-12-28 14:37   ` Fengguang Wu
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Vetter @ 2016-12-28  9:38 UTC (permalink / raw)
  To: kbuild test robot
  Cc: Daniel Vetter, intel-gfx, Joonas Lahtinen, dri-devel, kbuild-all

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?

Yup, O= was it, creating a patch now.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [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
  2016-12-27 18:46 ` Daniel Vetter
  2016-12-28  9:38   ` Daniel Vetter
@ 2016-12-28 14:37   ` Fengguang Wu
  2016-12-28 14:55     ` Chris Wilson
  1 sibling, 1 reply; 5+ messages in thread
From: Fengguang Wu @ 2016-12-28 14:37 UTC (permalink / raw)
  To: Daniel Vetter
  Cc: Daniel Vetter, intel-gfx, Joonas Lahtinen, dri-devel, kbuild-all

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?

Thanks,
Fengguang

>> 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@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>
>
>-- 
>Daniel Vetter
>Software Engineer, Intel Corporation
>http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [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
  2016-12-28 14:37   ` Fengguang Wu
@ 2016-12-28 14:55     ` Chris Wilson
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2016-12-28 14:55 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: Daniel Vetter, intel-gfx, dri-devel, kbuild-all

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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-28 14:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-27 16:57 [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 kbuild test robot
2016-12-27 18:46 ` Daniel Vetter
2016-12-28  9:38   ` Daniel Vetter
2016-12-28 14:37   ` Fengguang Wu
2016-12-28 14:55     ` Chris Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox