Re: 2.6.37-rc1 build failure

From: Randy Dunlap
Date: Thu Nov 04 2010 - 00:38:07 EST


On Thu, 4 Nov 2010 03:34:16 +0000 randrianasulu@xxxxxxxxx wrote:

> Ð ÑÐÐÐÑÐÐÐÐ ÐÑ Wednesday 03 November 2010 02:05:07 Lin Ming ÐÐÐÐÑÐÐ(Ð):
> > On Wed, Nov 3, 2010 at 1:32 PM, <randrianasulu@xxxxxxxxx> wrote:
> > > Trying to make new kernel i run into this:
> > >
> > > ÂCC Â Â Âarch/x86/lib/delay.o
> > > ÂAS Â Â Âarch/x86/lib/getuser.o
> > > ÂAS Â Â Âarch/x86/lib/putuser.o
> > > ÂCC Â Â Âarch/x86/lib/usercopy_32.o
> > > ÂAR Â Â Âarch/x86/lib/lib.a
> > > ÂLD Â Â Âvmlinux.o
> > > ÂMODPOST vmlinux.o
> > > WARNING: modpost: Found 2 section mismatch(es).
> > > To see full details build your kernel with:
> > > 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> > > ÂGEN Â Â .version
> > > ÂCHK Â Â include/generated/compile.h
> > > ÂUPD Â Â include/generated/compile.h
> > > ÂCC Â Â Âinit/version.o
> > > ÂLD Â Â Âinit/built-in.o
> > > ÂLD Â Â Â.tmp_vmlinux1
> > > kernel/built-in.o: In function `free_event':
> > > perf_event.c:(.text+0x66eb3): undefined reference to `irq_work_sync'
> > > kernel/built-in.o: In function `perf_output_put_handle':
> > > perf_event.c:(.text+0x680e1): undefined reference to `irq_work_queue'
> > > kernel/built-in.o: In function `__perf_event_overflow':
> > > perf_event.c:(.text+0x6a75e): undefined reference to `irq_work_queue'
> > > make: *** [.tmp_vmlinux1] ÐÑÐÐÐÐ 1
> > >
> > > kernel.org git master up to
> > >
> > > commit eb8abb927ae2fd1730e24ea94cd9527f3c086292
> > > Author: Theodore Ts'o <tytso@xxxxxxx>
> > > Date: Â Tue Nov 2 09:34:50 2010 -0400
> > >
> > > Â Âext4: Remove useless spinlock in ext4_getattr()
> > >
> > >
> > >
> > > this is my .config
> >
> > I build with you .config, but no error.
> >
> > Maybe you can make distclean and re-build.
> >
> > Lin Ming
>
> No, same error.
>
> I'm using (Linux/GNU Binutils) 2.20.51.0.8.20100412 , gcc (GCC) 4.4.4 on
> Slackware -current box (glibc-2.12.1-i486-2). Not sure what else i can do for
> debugging this.
> --

The build fails for me with the given .config file.
It's due to selects and depends, finally comes down to HAVE_PERF_EVENTS not being
enabled for M386 or M486. Do you actually have a processor of that vintage?

We can probably fix the Kconfig files to prevent this build error...

(Ingo: FYI)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/