Re: Current git fails to compile on AMD64 for three days in a row

From: Andi Kleen
Date: Fri May 11 2007 - 04:09:30 EST


On Thu, May 10, 2007 at 10:16:43AM -0500, Florin Iucha wrote:
> I just pulled the current git (de5603748af8bf7deac403e6ba92887f8d18e812)
> and tried to compile it on my AMD64 box, to test Chuck's RPC fix. It
> fails:
>
> arch/x86_64/kernel/head64.c: In function ???x86_64_start_kernel???:
> arch/x86_64/kernel/head64.c:70: error: size of array ???type name??? is negative
>
> It is failing in the same way since Monday.

It's a BUILD_BUG_ON -- your relocatable base address in CONFIG
needs to be a multiple of 2MB as documented.

There is a patch floating around to turn this into an #error which
might be more clear.
-Andi
-
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/