Skip to contentSkip to conversation

alpha build errors with gcc 4.3

DISCUSSION Adrian Bunk 1 participant 1 message Mar 31, 2008

lore
Share & tools
lore
#0 lore raw

The only architecture that has serious problems when trying to build a kernel with gcc 4.3, and considering the usage of "extern inline" on this architecture problems with gcc 4.3 are somehow expected.

The build fails with:

<-- snip -->

...
CC arch/alpha/kernel/traps.o
cc1: warnings being treated as errors
In file included from
/home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/sched.h:64,
from
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/alpha/kernel/traps.c:12:
include2/asm/semaphore.h: In function 'down':
include2/asm/semaphore.h:133: error: '__down' is static but used in inline function 'down' which is not static
...
make[2]: *** [arch/alpha/kernel/traps.o] Error 1

<-- snip -->

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed