Re: [GIT PULL] x86 fixes

From: Ingo Molnar
Date: Mon Nov 17 2014 - 08:59:09 EST



* Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx> wrote:

> On 2014.11.17 at 08:42 +0100, Markus Trippelsdorf wrote:
> > On 2014.11.16 at 10:07 +0100, Ingo Molnar wrote:
> > >
> > > Junjie Mao (1):
> > > x86, kaslr: Prevent .bss from overlaping initrd
> >
> > This breaks the build for me:
> > ...
> > OBJCOPY arch/x86/boot/compressed/vmlinux.bin
> > HOSTCC arch/x86/boot/compressed/mkpiggy
> > CC arch/x86/boot/compressed/cpuflags.o
> > CC arch/x86/boot/version.o
> > CC arch/x86/boot/video-vga.o
> > CC arch/x86/boot/video-vesa.o
> > CC arch/x86/boot/video-bios.o
> > LZ4 arch/x86/boot/compressed/vmlinux.bin.lz4
> > HOSTCC arch/x86/boot/tools/build
> > CPUSTR arch/x86/boot/cpustr.h
> > CC arch/x86/boot/cpu.o
> > .bss and .brk lack common file offset
> > .bss and .brk lack common file offset
> > .bss and .brk lack common file offset
> > .bss and .brk lack common file offset
> > MKPIGGY arch/x86/boot/compressed/piggy.S
> > Usage: arch/x86/boot/compressed/mkpiggy compressed_file run_size
> > arch/x86/boot/compressed/Makefile:86: recipe for target 'arch/x86/boot/compressed/piggy.S' failed

Oops ...

> from my config:
> # CONFIG_BLK_DEV_INITRD is not set
>
> So only running calc_run_size.pl when CONFIG_BLK_DEV_INITRD is set would
> probably fix the issue.

I've Cc:-ed Junjie Mao and Kees Cook as well.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/