linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64'
@ 2019-08-19 21:09 kbuild test robot
  2019-08-19 21:24 ` Thomas Gleixner
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2019-08-19 21:09 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, tipbuild

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

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git WIP.timers/core
head:   b16101077c4444bc7e0dde91e7ffb258ce1f979b
commit: 83083078874a3b1b29b8171714455b469a17b8ab [49/68] sched: Move struct task_cputime to types.h
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 83083078874a3b1b29b8171714455b469a17b8ab
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=sparc64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from <command-line>:0:0:
>> include/linux/sched/types.h:16:2: error: unknown type name 'u64'
     u64    utime;
     ^~~
   include/linux/sched/types.h:17:2: error: unknown type name 'u64'
     u64    stime;
     ^~~

vim +/u64 +16 include/linux/sched/types.h

     4	
     5	/**
     6	 * struct task_cputime - collected CPU time counts
     7	 * @utime:		time spent in user mode, in nanoseconds
     8	 * @stime:		time spent in kernel mode, in nanoseconds
     9	 * @sum_exec_runtime:	total time spent on the CPU, in nanoseconds
    10	 *
    11	 * This structure groups together three kinds of CPU time that are tracked for
    12	 * threads and thread groups.  Most things considering CPU time want to group
    13	 * these counts together and treat all three of them in parallel.
    14	 */
    15	struct task_cputime {
  > 16		u64				utime;
    17		u64				stime;
    18		unsigned long long		sum_exec_runtime;
    19	};
    20	

---
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: 58647 bytes --]

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

* Re: [tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64'
  2019-08-19 21:09 [tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64' kbuild test robot
@ 2019-08-19 21:24 ` Thomas Gleixner
  2019-08-19 22:11   ` Thomas Gleixner
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Gleixner @ 2019-08-19 21:24 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel, tipbuild

On Tue, 20 Aug 2019, kbuild test robot wrote:
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from <command-line>:0:0:

Huch? What kind of weird include chain is that?

> >> include/linux/sched/types.h:16:2: error: unknown type name 'u64'
>      u64    utime;
>      ^~~
>    include/linux/sched/types.h:17:2: error: unknown type name 'u64'
>      u64    stime;
>      ^~~

All (header) files which include that new header have u64 defined.

Thanks,

	tglx

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

* Re: [tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64'
  2019-08-19 21:24 ` Thomas Gleixner
@ 2019-08-19 22:11   ` Thomas Gleixner
  2019-08-19 22:43     ` Thomas Gleixner
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Gleixner @ 2019-08-19 22:11 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel, tipbuild

On Mon, 19 Aug 2019, Thomas Gleixner wrote:
> On Tue, 20 Aug 2019, kbuild test robot wrote:
> > 
> > All errors (new ones prefixed by >>):
> > 
> >    In file included from <command-line>:0:0:
> 
> Huch? What kind of weird include chain is that?
> 
> > >> include/linux/sched/types.h:16:2: error: unknown type name 'u64'
> >      u64    utime;
> >      ^~~
> >    include/linux/sched/types.h:17:2: error: unknown type name 'u64'
> >      u64    stime;
> >      ^~~
> 
> All (header) files which include that new header have u64 defined.

And building sparc64 allmodconfig does not expose this odd failure
here. The build fails for a reason related to this series, but that's not
caused by that sched/types.h header.

Thanks,

	tglx

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

* Re: [tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64'
  2019-08-19 22:11   ` Thomas Gleixner
@ 2019-08-19 22:43     ` Thomas Gleixner
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Gleixner @ 2019-08-19 22:43 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel, tipbuild

On Tue, 20 Aug 2019, Thomas Gleixner wrote:
> On Mon, 19 Aug 2019, Thomas Gleixner wrote:
> > On Tue, 20 Aug 2019, kbuild test robot wrote:
> > > 
> > > All errors (new ones prefixed by >>):
> > > 
> > >    In file included from <command-line>:0:0:
> > 
> > Huch? What kind of weird include chain is that?
> > 
> > > >> include/linux/sched/types.h:16:2: error: unknown type name 'u64'
> > >      u64    utime;
> > >      ^~~
> > >    include/linux/sched/types.h:17:2: error: unknown type name 'u64'
> > >      u64    stime;
> > >      ^~~
> > 
> > All (header) files which include that new header have u64 defined.
> 
> And building sparc64 allmodconfig does not expose this odd failure
> here. The build fails for a reason related to this series, but that's not
> caused by that sched/types.h header.

Now it came after fixing the other thing, but that build error is really
weird.


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

end of thread, other threads:[~2019-08-19 22:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 21:09 [tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64' kbuild test robot
2019-08-19 21:24 ` Thomas Gleixner
2019-08-19 22:11   ` Thomas Gleixner
2019-08-19 22:43     ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).