This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: linux kernel-2.1.76 panic(..egcs-971225 on i586-pc-linux-gnu..)


On Tue, 30 Dec 1997, Byeong-ryeol Kim wrote:

> 1. kernel 2.1.76, glibc-2.0.5c-13, binutils-2.8.1.0.18, libg++-2.8.0.b6.5,
>   egcs-1.0.1-prerelease on Pentium MMX 166 with 64M EDO RAM(ASUS
>   P/I-P55T2P4 rev 3.0 mainboard)
...
 I compiled egcs-971225 with vanilla glibc-2.0.6 on RH 5.0 linux 
system, and the result of 'make -k check' was the same as with
glibc-2.0.5c-13.
 I tried to compile several applications and kernel-2.1.76.
 It was successful in most case.
 But, as for kernel-2.1.76, I could not boot the compiled kernel.
 The log file says as follows:
....
gcc -D__KERNEL__ -I/usr/X11R6/src/linux/include -Wall -Wstrict-prototypes
-O2 -f
omit-frame-pointer -pipe -fno-strength-reduce -mcpu=pentium -march=pentium
-mali
gn-loops=2 -malign-jumps=2 -malign-functions=2   -c -o init/main.o
init/main.c
/usr/X11R6/src/linux/include/asm/string.h: In function
`__constant_memcpy':
In file included from /usr/X11R6/src/linux/include/linux/string.h:39,
                 from /usr/X11R6/src/linux/include/linux/signal.h:64,
                 from /usr/X11R6/src/linux/include/linux/sched.h:22,
                 from init/main.c:17:
/usr/X11R6/src/linux/include/asm/string.h:448: warning: control reaches
end of n
on-void function
/usr/X11R6/src/linux/include/asm/string.h: In function
`__constant_c_and_count_m
emset':
/usr/X11R6/src/linux/include/asm/string.h:599: warning: control reaches
end of n
on-void function
.... 
 The same warnings continually appeared, and after compiling and
installing the kernel and modules, I stucked at the beginning of 
kernel booting. It seems to be related with kswapd, I partially 
read from OOPS message.
 Sorry, I could not log OOPS, this was complete lock-up of the 
system.

 BTW, I remember that I could boot some kernels compiled with egcs
 before, such as 2.0.33, 2.1.7x. Though, startx failed on 2.0.33, 
as stated in egcs-FAQ. This case with egcs-971225 is different. 

 "Where there is a will, there is a way."  jinbo21@soback.kornet.nm.kr 
                                           kbeyl@kids.kotel.co.kr      
  For the future of you and me!            hitel: jinbo21



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]