issue with kernel 4.12.rc6 addnote -kernel dont build

Michael Ellerman mpe at
Mon Jul 10 21:01:22 AEST 2017

luigi burdo <intermediadc at> writes:

> Hi all, kernel here is not building.

Did it just stop working? That code is from 2014?

> attached file will explain better than my poor english.
> Host Machine BE Qoriq e5500  16GB ram

What userspace are you running? Is it 32-bit ?

>  HOSTCC  arch/powerpc/boot/addnote
   What compiler is that?

Building with V=1 should show you.

> arch/powerpc/boot/addnote.c: In function ‘main’:
> arch/powerpc/boot/addnote.c:75:47: warning: right shift count >= width of type [-Wshift-count-overflow]
>  #define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \

These warnings seem like they're correct, but that code should never
actually run on 32-bit so it should be harmless.

> mv: cannot move 'arch/powerpc/boot/.addnote.tmp' to 'arch/powerpc/boot/.addnote.cmd': No such file or directory
> scripts/ recipe for target 'arch/powerpc/boot/addnote' failed
> make[1]: *** [arch/powerpc/boot/addnote] Error 1

But they're only warnings, so they shouldn't be breaking the build AFAICS.


More information about the Linuxppc-dev mailing list