alpha build errors with gcc 4.3

From: Adrian Bunk
Date: Mon Mar 31 2008 - 05:25:38 EST


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

--

"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

--
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/