Re: linux-next: build failure after merge of the akpm-current tree

From: Thiago Jung Bauermann
Date: Tue Sep 20 2016 - 22:27:28 EST


Am Dienstag, 20 September 2016, 22:00:32 schrieb Michael Ellerman:
> Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> writes:
> > On Tue, 20 Sep 2016 16:44:14 +1000 Stephen Rothwell
<sfr@xxxxxxxxxxxxxxxx> wrote:
> >> After merging the akpm-current tree, today's linux-next build (powerpc
> >> ppc64_defconfig) failed like this:
> >>
> >> powerpc-linux-gcc: error: unrecognized command line option '-m'
> >> scripts/Makefile.build:290: recipe for target
> >> 'arch/powerpc/purgatory/printf.o' failed
> >>
> >> and a few more like that.
> >
> > OK, this is (most likely) caused by the CONFIG_WORD_SIZE -> BITS change
> > interacting with the KEXEC_FILE changes. Tomorrow I will do a better
> > merge conflict resolution patch that fixes all those.
>
> Ah yep looks like that's the problem, patch below should fix it?
>
> I think I'd actually prefer it if purgatory didn't redefine the CFLAGS
> from scratch, so I'll see if Thiago can do that and send a new version.

I could move the purgatory inside arch/powerpc/boot and use its BOOTCFLAGS.
The needs of the purgatory and the boot wrapper are very similar. Would that
be better?
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center