Re: Problems building 2.6.26 and 2.6.27-rc1

From: Sam Ravnborg
Date: Wed Jul 30 2008 - 16:17:36 EST


On Wed, Jul 30, 2008 at 08:07:28PM +0000, Miller, Mike (OS Dev) wrote:
> 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?

Can you post the output of a make -j4 V=1 run that fials and one that succeeds.
Then we can maybe spot something.

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