PowerPC build fail
Tobin C. Harding
me at tobin.cc
Tue Feb 28 07:04:53 AEDT 2017
On Mon, Feb 27, 2017 at 09:38:13PM +1100, Michael Ellerman wrote:
> Hi Tobin,
>
> "Tobin C. Harding" <me at tobin.cc> writes:
> > The current (2bfe01e) torvalds git tree fails to build on powerpc64. Build machine
> > is virtualized.
> >
> > - Build error
> > arch/powerpc/kernel/time.c: In function ‘running_clock’:
> > arch/powerpc/kernel/time.c:712:25: error: implicit declaration of function ‘cputime_to_nsecs’
> > return local_clock() - cputime_to_nsecs(kcpustat_this_cpu->cpustat[CPUTIME_STEAL]);
> > ^
> ...
> >
> > If you think this can be fixed with the *little* kernel dev knowledge
> > I have please point me at a starting place and I will dig into it.
>
> Thanks for trying to fix it.
>
> You got unlucky and pulled Linus' tree just after a cleanup series was
> merged, but before all the bugs had been shaken out.
Au contraire, I felt lucky to have bumped into a bug. I would like to
find more :)
Tobin
More information about the Linuxppc-dev
mailing list