Re: [RFC][PATCH 5/6] x86, efi: Fix endian issues and unalignedaccesses

From: Stephen Rothwell
Date: Wed Feb 29 2012 - 03:05:22 EST


On Wed, 29 Feb 2012 11:28:52 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi again,
>
> On Wed, 29 Feb 2012 11:13:22 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> >
> > OK, I tried just that patch on top of Linus' tree and obviously that
> > didn't work :-) so I pulled the x86/build branch from the tip tree into
> > my tree (which contained just Linus' tree of today
> > (v3.3-rc5-97-g891003a)). and the build failed like this:
> >
> > arch/x86/boot/tools/build.c:36:22: error: asm/boot.h: No such file or directory
> >
> > The build is an ARCH=x86_64 defconfig with CONFIG_EFI_STUB=y.
>
> I added V=1 and the command line for the build of build.c is
>
> gcc -Wp,-MD,arch/x86/boot/tools/.build.d -Iarch/x86/boot -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -I/scratch/sfr/x86_seg.obj/include -I/scratch/sfr/x86_seg/tools/include -include /scratch/sfr/x86_seg/include/linux/kconfig.h -o arch/x86/boot/tools/build /scratch/sfr/x86_seg/arch/x86/boot/tools/build.c
>
> I am using a separate object tree as well (source tree
> is /scratch/sfr/x86_seg, object is /scratch/sfr/x86_seg.obj).

I have refetched x86/build after these two patches:
x86, tools: Remove unneeded header files from tools/build.c
x86, build: Fix portability issues when cross-building

And the kernel build now completes.

Thank you all for all the work.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature