From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Ravnborg Subject: Re: Problems building 2.6.26 and 2.6.27-rc1 Date: Wed, 30 Jul 2008 22:17:54 +0200 Message-ID: <20080730201754.GA10882@uranus.ravnborg.org> References: <20080730184833.GA936@roadking.ldev.net> <0F5B06BAB751E047AB5C87D1F77A778826B3E811B0@GVW0547EXC.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <0F5B06BAB751E047AB5C87D1F77A778826B3E811B0@GVW0547EXC.americas.hpqcorp.net> Sender: linux-kernel-owner@vger.kernel.org To: "Miller, Mike (OS Dev)" Cc: Roland Dreier , LKML , LKML-scsi List-Id: linux-scsi@vger.kernel.org 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