alpha build errors with gcc 4.3
- From: Adrian Bunk <bunk@xxxxxxxxxx>
- Date: Mon, 31 Mar 2008 12:25:01 +0300
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/
- Prev by Date: Re: [PATCH] x86: create array based interface to change page attribute
- Next by Date: Re: [PATCH] x86: create array based interface to change page attribute
- Previous by thread: [2.6.25 patch] arm/kernel/arthur.c: add MODULE_LICENSE
- Next by thread: Re: [RFC,PATCH] loopback: calls netif_receive_skb() instead of netif_rx()
- Index(es):
Relevant Pages
- Re: [2.6 patch] parisc: "extern inline" -> "static inline" (fwd)
... John David Anglin is the hppa/parisc gcc maintainer and has ... Which of the
functions my patch changes also have a global function ... "extern inline" didn't
make any sense. ... There had been need of rain for many days. ... (Linux-Kernel) - Re: [PATCH] likely cleanup: remove unlikely for kfree(NULL)
... On Wed, 26 Apr 2006, Arjan van de Ven wrote: ... what I would like is kfree
to become an inline wrapper that does the ... with the VRP pass) if gcc can prove
it's not NULL. ... There had been need of rain for many days. ... (Linux-Kernel) - Re: "kernel + gcc 4.1 = several problems" / "Oops in 2.6.19.1"
... If the same kernel compiled with gcc 3.4.6 works fine, ... into one of the mysterious
problems with gcc 4.1. ... Does the machine hang completely, or is any useful information
like e.g. ... There had been need of rain for many days. ... (Linux-Kernel) - 2.6.12-rc5-mm1: fork connector doesnt compile with gcc 2.95
... The following compile breakage with gcc 2.95 is caused by ... There had
been need of rain for many days. ... send the line "unsubscribe linux-kernel" in
... (Linux-Kernel) - Re: New filesystem for Linux
... C standard defines that shifts by more bits than size of a type are ... and
the results with your example depend on the gcc ... version and optimization level.
... There had been need of rain for many days. ... (Linux-Kernel)