Re: [BUG] 2.6.37-rc8 build failure on Alpha

From: Michael Cree
Date: Mon Jan 03 2011 - 18:47:19 EST


On Tue, January 4, 2011 9:57 am, Bob Tracy wrote:
> This probably happened before -rc8, but was not an issue for 2.6.36.
>
> The 2.6.37-rc8 kernel build on alpha fails as follows:
>
> (...)
> LD usr/built-in.o
> AS arch/alpha/kernel/entry.o
> CC arch/alpha/kernel/traps.o
> cc1: warnings being treated as errors
> In file included from
> /usr/src/linux-2.6/arch/alpha/include/asm/mmu_context.h:22,
> from arch/alpha/kernel/traps.c:26:
> /usr/src/linux-2.6/arch/alpha/include/asm/io.h: In function '__set_hae':
> /usr/src/linux-2.6/arch/alpha/include/asm/io.h:41: error:
> 'arch_local_irq_save' is static but used in inline function '__set_hae'
> which is not static
> /usr/src/linux-2.6/arch/alpha/include/asm/io.h:49: error:
> 'arch_local_irq_restore' is static but used in inline function '__set_hae'
> which is not static

A patch that fixes this was posted to linux-alpha some time ago (see
http://www.spinics.net/linux/lists/linux-alpha/msg00710.html). I am not
sure why it hasn't made it through to Linus as yet.

Cheers
Michael.


--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html