RE: Problems building 2.6.26 and 2.6.27-rc1

From: Miller, Mike (OS Dev)
Date: Wed Jul 30 2008 - 16:08:38 EST


Roland wrote:

>
> > I'm getting the following error when trying to build
> either 2.6.26 or > 2.6.27-rc1:
> >
> > arch/x86/kernel/head64.c: In function 'x86_64_start_kernel':
> > arch/x86/kernel/head64.c:88: error: size of array 'type
> name' is negative
>
> It looks like you're hitting
>
> BUILD_BUG_ON(!(MODULES_VADDR > __START_KERNEL));
>
> No idea why you're hitting that though. What's your .config
> and compiler?
>
I think maybe I've figured out what's breaking my build. If use "make -jN" I hit the error. I usually set N to the number of processors (real and HT). So if /proc/cpuinfo display info about 4 processors I use -j4, etc. If I don't specify the number of jobs to run simultaneously the build completes with just the usual warnings.

Any experts on parallelism out there?

-- mikem
--
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/