Skip to contentSkip to conversation

internal compiler error

Swsusp Michael Frank 1 participant 1 message Apr 4, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 22 lines · Robert Woerle Paceblade/Support

now i get this when i try to compile 2.4.20 with any swsusp patch !! ( tried , beta19 and beta19-14 and beta19-16)

the thing i changed is that i now use Suse 8.2 and before i had suse 8.1 and everything was fine .

i dont know if there is a gcc differenc between those 2 but it looks like !!

Cheers Rob

cc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall

(quoted diff) +0 -5
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=0 -malign-jumps=0 -malign-loops=0   -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c
-o sched.o sched.c

cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions

Quoted 8 lines

sched.c: In function `schedule':
sched.c:611: warning: comparison between signed and unsigned sched.c:640: warning: comparison between signed and unsigned sched.c:709: internal compiler error: in merge_assigned_reloads, at reload1.c:6133
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

The obsolete messages point to some gcc-3x. It is no good for kernel compiles because there are many complex tricks in the kernel.

You ought to use gcc2.95-3. You can look for gcc295 compat package and libs at suse site.

Michael

P.S. Official compiler _is_ gcc2.95-3 also for 2.5 series. This is _not_ "obsolete" documentation.

Could someone authoritative from kernel list please confirm that above still applies