laptopkernel-devel
[Top][All Lists]
Advanced

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

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


From: Jochen Michel
Subject: Re: [Laptopkernel-devel] non-compile problem with gcc 3.3
Date: Fri, 30 May 2003 14:02:19 +0200 (MEST)

Hi!

Anders Karlsson wrote:

> There is a 'pukka' GCC 3.3 to be downloaded from
> ftp://ftp.suse.com/pub/people/pthomas/gcc/3.3/8.2-i386/
>
> I have downloaded it and it works on kernel compiles (kernel
> 2.4.21-rc2-ac3), compiling alsa drivers and VMware modules. That's what
> I have tried it on so far.
>
> From what I have understood, GCC 3.3 is a little more strict with what
> is allowed, and some code gets caught out by this.
>
>
>> I heard about compile problems with some kernel-sources on the SuSE 8.2
>> default compiler.
>> I think they made a updated version available, do you have this one?
>
>
>
> Kernels before a 2.4.21-pre4 (or -pre5) would not build with GCC 3.3.
> SuSE's default kernel in SLPro 8.2 had the patches to allow it to
> compile.


I installed GCC 3.3 final packages from
.../people/pthomas/gcc/3.3/8.2-i386/ on my SuSE 8.2 Pro. Compiling
2.4.21-rc4 works, with laptopkernel patch applied I still get:

make[2]: Entering directory `/usr/src/linux-2.4.21-rc4/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-rc4/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4
  -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.
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21-rc4/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-rc4/kernel'
make: *** [_dir_kernel] Error 2


Apparently there is some code from laptopkernel patch which does'nt
comply to the strict gcc 3.3 rules. SwSusp? Acpi?

Any clues?

Bye, Jochen.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!





reply via email to

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