laptopkernel-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Laptopkernel-devel] non-compile problem with gcc 3.3


From: Sebastian Henschel
Subject: [Laptopkernel-devel] non-compile problem with gcc 3.3
Date: Thu, 29 May 2003 21:10:24 +0200
User-agent: Mutt/1.5.4i

hi there...

did anyone of you try to compile with gcc 3.3? to be honest, i took rc6,
not rc4, but that should not make a difference. i get this message:

make[3]: Entering directory `/usr/src/linux-2.4.21-rc6-laptop1/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-rc6-laptop1/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium3
-nostdinc -iwithprefix include -DKBUILD_BASENAME=sched
-fno-omit-frame-pointer -c -o sched.o sched.c
sched.c: In function `schedule':
sched.c:709: internal compiler error: in merge_assigned_reloads, at
reload1.c:6134
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


i do not have this problem with a plain rc6 kernel. the only patch out
of laptopkernel modifying kernel/sched.c is swsusp, i suppose:

diff -Naur linux-2.4.21-rc4/kernel/sched.c
linux-2.4.21-rc4-laptop1/kernel/sched.c
--- linux-2.4.21-rc4/kernel/sched.c     2003-05-27 11:07:15.000000000
+0200
+++ linux-2.4.21-rc4-laptop1/kernel/sched.c     2003-05-27
10:58:38.000000000 +0200
@@ -29,6 +29,9 @@
 #include <linux/completion.h>
  #include <linux/prefetch.h>
   #include <linux/compiler.h>
   +#ifdef CONFIG_SOFTWARE_SUSPEND
   +#include <linux/suspend.h>
   +#endif


unfortunately it seems more complicated, because swsusp does not seem to
do anything with line 709 ff in sched.c. :(


this is a debian sarge system (gcc 3.3 got default today) and gcc 3.2.3
compiles fine: i tried to build a swsusp-enabled kernel on
a suse 8.2 a couple of months ago and had a similar error (if not the
same):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10402


hmm... can anyone of you confirm this so i can ask this on the swsusp
ML?

cheers,
 sebastian
-- 
::: sebastian henschel
::: kodeaffe
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import

Attachment: pgpdP5SEnsbva.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]