build failure in Linus' tree with gcc 4.4.3

From: Stephen Rothwell
Date: Sun Feb 19 2012 - 21:39:52 EST


Hi all,

My x86_64 allmodconfig build fail like this:

OBJCOPY arch/x86/boot/vmlinux.bin
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
BUILD arch/x86/boot/bzImage
Setup is 14768 bytes (padded to 14848 bytes).
System is 4766 kB
/bin/sh: line 1: 20126 Segmentation fault arch/x86/boot/tools/build arch/x86/boot/setup.bin arch/x86/boot/vmlinux.bin > arch/x86/boot/bzImage

I have bisected it down to commit
291f36325f9f252bd76ef5f603995f37e453fc60 ("x86, efi: EFI boot stub
support"). This may well be a compiler bug that this commit just happens
to poke.

The toolchain is PowerPC hosted cross tools:
x86_64-linux-gcc (GCC) 4.4.3
GNU ld (GNU Binutils) 2.20

I tried an allmodconfig build with my native compiler (gcc (Debian
4.6.2-14) 4.6.2, GNU gold (GNU Binutils for Debian 2.22) 1.11) and it
worked fine.

That is a large commit, so I am not sure where to go from here.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature