[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141117210524.GE344@x4>
Date: Mon, 17 Nov 2014 22:05:24 +0100
From: Markus Trippelsdorf <markus@...ppelsdorf.de>
To: Kees Cook <keescook@...omium.org>
Cc: Ingo Molnar <mingo@...nel.org>, Junjie Mao <eternal.n08@...il.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>, Borislav Petkov <bp@...en8.de>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [GIT PULL] x86 fixes
On 2014.11.17 at 13:02 -0800, Kees Cook wrote:
> On Mon, Nov 17, 2014 at 5:58 AM, Ingo Molnar <mingo@...nel.org> wrote:
> >
> > * Markus Trippelsdorf <markus@...ppelsdorf.de> 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.
>
> Eek, well, the warning worked, at least (".bss and .brk lack common
> file offset") since that was kind of an assumption in the script I
> wanted to make sure we'd catch if it wasn't true.
>
> Can you send your full .config? I built without CONFIG_BLK_DEV_INITRD,
> and it didn't fail, so something else must be tickling this...
I already send it to the list, but I have attached it again.
--
Markus
View attachment "config" of type "text/plain" (70369 bytes)
Powered by blists - more mailing lists