Skip to contentSkip to conversation

2.6.37-rc8 build failure on Alpha

BUG Bob Tracy 3 participants 4 messages Jan 3, 2011 – Jan 4, 2011 Alpha port

lore
Share & tools
lore

Bob Tracy

author
#0 lore raw

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

#1 lore raw
Quoted 8 lines · Bob Tracy

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
Quoted 11 lines

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.

author
#2 lore raw
Quoted 8 lines · Michael Cree
Quoted 3 lines · Bob Tracy

(...)
The 2.6.37-rc8 kernel build on alpha fails as follows:
(...)

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.

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

--Bob

maintainer
#3 lore raw
In reply to Michael Cree
Quoted 21 lines · Michael Cree
Quoted 4 lines · Bob Tracy

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:

Quoted 15 lines

(...)
  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

Quoted 6 lines

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.

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
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html