Re: build breakage -- paravirt_{alloc,free}_ldt

From: Ingo Molnar
Date: Mon Jan 12 2009 - 06:18:50 EST



* Jiri Kosina <jkosina@xxxxxxx> wrote:

> On Mon, 12 Jan 2009, Ingo Molnar wrote:
>
> > > with Linus' tree (ae04d14015) doesn't build for me with
> > >
> > > arch/x86/kernel/ldt.c: In function 'alloc_ldt':
> > > arch/x86/kernel/ldt.c:55: error: implicit declaration of function 'paravirt_alloc_ldt'
> > > arch/x86/kernel/ldt.c:79: error: implicit declaration of function 'paravirt_free_ldt'
> > >
> > > Config on http://www.jikos.cz/jikos/junk/.config
> >
> > hm, it builds fine here with your config. Did .28 build fine for you? The
> > only change to this file since .28 has been Jaswinder's "423a540: x86:
> > ldt.c fix style problems".
>
> Puzzled. On one system, I still get this build error even after make
> mrpoper (I use this machine to build kernel routinely, so it certainly
> didn't happen a few days ago).
>
> But I just tried on different system, and there is builds flawlessly.
> It's gcc 4.3.1 vs 4.3.2. I will check a little bit more.

beyond mrproper you might want to try 'git checkout HEAD . -f' as well, to
get a forced checkout of the current working tree. Should there be any
corruption in any of the source code files this will get rid of it.

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