Re: GIT head doesn't seem to want to build on 32bit..

From: Sam Ravnborg
Date: Tue Dec 16 2008 - 13:37:00 EST


On Tue, Dec 16, 2008 at 06:11:33PM +0000, Alan Cox wrote:
> On Tue, 16 Dec 2008 09:47:02 -0800 (PST)
> Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> >
> >
> > On Tue, 16 Dec 2008, Alan Cox wrote:
> > >
> > > CC arch/x86/kernel/traps.o
> > > CC arch/x86/kernel/irq.o
> > > CC arch/x86/kernel/irq_32.o
> > > arch/x86/kernel/irq_32.c: In function âdo_IRQâ:
> > > arch/x86/kernel/irq_32.c:211: error: âper_cpu__vector_irqâ undeclared (first use in this function)
> > > arch/x86/kernel/irq_32.c:211: error: (Each undeclared identifier is reported only once
> > > arch/x86/kernel/irq_32.c:211: error: for each function it appears in.)
> > > make[1]: ***
> > > [arch/x86/kernel/irq_32.o] Error 1
> > >
> > > gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
> >
> > Hmm. That code has been like that since before -rc1. And I cannot
> > reproduce it in my 32-bit environment. That's with your config file, and
> > despite the fact that I have the same compiler version on that machine.
>
> I built a 64bit kernel from the same source tree first, then did make
> mrproper, then it broke. I'll investigate further.

Smells like a kbuild issue.
Please copy me and linux-kbuild@xxxxxxxxxxxxxxx on any findings.

[My 64 bit toolchain is br0ken atm so I could not try to reproduce]

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/