Re: FW: CONFIG_X86_ES7000=y, CONFIG_X86_GENERICARCH=n, CONFIG_ACPI=y build broken

From: Natalie Protasevich
Date: Tue Jun 12 2007 - 17:49:31 EST


On 6/12/07, Natalie Protasevich <protasnb@xxxxxxxxx> wrote:
>
> From: Roland Dreier [mailto:rdreier@xxxxxxxxx]
> Sent: Tuesday, June 12, 2007 1:14 PM
> To: linux-kernel@xxxxxxxxxxxxxxx; Protasevich, Natalie; Vivek Goyal
> Cc: akpm@xxxxxxxxxxxxxxxxxxxx
> Subject: CONFIG_X86_ES7000=y, CONFIG_X86_GENERICARCH=n, CONFIG_ACPI=y
> build broken
>
> (sending to Vivek since he seems to be one of the last people to touch
> this code)
>
> For some strange reason I found myself compiling a kernel with
> CONFIG_X86_ES7000 and CONFIG_ACPI set and CONFIG_X86_GENERICARCH not
> set. It died with
>
> arch/i386/kernel/built-in.o: In function `acpi_parse_madt':
> boot.c:(.init.text+0x68b7): undefined reference to
> `acpi_madt_oem_check'
> arch/i386/kernel/built-in.o: In function `get_smp_config':
> (.init.text+0x9f98): undefined reference to `mps_oem_check'
> arch/i386/kernel/built-in.o: In function `connect_bsp_APIC':
> (.init.text+0xa340): undefined reference to `enable_apic_mode'
> arch/i386/kernel/built-in.o: In function `connect_bsp_APIC':
> (.init.text+0xa370): undefined reference to `enable_apic_mode'
>
> this seems to be because eg acpi_madt_oem_check() and mps_oem_check()
> are defined in arch/i386/mach-generic/es7000.c, but arch/i386/Makefile
> only goes into mach-generic if CONFIG_X86_GENERICARCH is set.
> I didn't track down why enable_apic_mode is broken yet.
>
> No patch because I don't understand how this subarch stuff is supposed
> to build :(
>
> - R.
>

Roland,
I can't reproduce the problem, with the git tree I just pulled. Can
you please provide the config file?
Sorry, never mind - I just did...Will look at it also.
Thanks,
--Natalie
-
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/