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

Previous thread: [PATCH] smsc-ircc2: Fix section mismatch derived from smsc_ircc_pnp_probe() by Sedat Dilek on Monday, January 3, 2011 - 2:15 pm. (2 messages)

Next thread: Poslední upozornìní správce systému by Web Administrator on Monday, January 3, 2011 - 2:24 pm. (1 message)
From: Bob Tracy
Date: Monday, January 3, 2011 - 1:57 pm

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
make[1]: *** [arch/alpha/kernel/traps.o] Error 1
make: *** [arch/alpha/kernel] Error 2

--Bob
rct_at_frus_dot_com
--

From: Bob Tracy
Date: Monday, January 3, 2011 - 3:51 pm

Thanks, Michael.  I figured I probably missed that particular needle
whilst perusing the haystack :-).

--Bob
--

From: Michael Cree
Date: Monday, January 3, 2011 - 3:40 pm

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.


--

From: Matt Turner
Date: Tuesday, January 4, 2011 - 12:34 pm

I haven't had much time for alpha things, so I haven't been keeping up
with patches lately. I'll send everything in my patch queue to Linus
for the .38 merge window.

Please send Ivan's patch to Linus directly, and CC Ivan so he can give
his Signed-off-by tag.

Thanks Michael and Bob.

Matt
--

Previous thread: [PATCH] smsc-ircc2: Fix section mismatch derived from smsc_ircc_pnp_probe() by Sedat Dilek on Monday, January 3, 2011 - 2:15 pm. (2 messages)

Next thread: Poslední upozornìní správce systému by Web Administrator on Monday, January 3, 2011 - 2:24 pm. (1 message)