From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27330 invoked from network); 23 Sep 1998 00:05:30 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 23 Sep 1998 00:05:30 -0000 Received: from ctp.mit.edu (CTP.MIT.EDU [18.77.2.74]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA26324 for ; Tue, 22 Sep 1998 20:04:44 -0400 Received: (from son@localhost) by ctp.mit.edu (8.9.0/8.9.0) id UAA24055; Tue, 22 Sep 1998 20:04:09 -0400 (EDT) Date: Tue, 22 Sep 1998 20:04:08 -0400 (EDT) From: Dam Thanh Son Subject: Re: Random sig[segv|fpe] on 164LX with 256MB RAM To: axp-list@redhat.com In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 22 Sep 1998, Andrew Hobgood wrote: > schizo:~# gcc -o memtest memtest.c > schizo:~# ./memtest > Filling with seed of s=0x420 > memtest: memory violation at pc=120000900 rp=1200008c8 (bad address = 00000000) > Segmentation fault (core dumped) I have exactly the same result on my UDB (48MB RAM) with egcs-1.0.2. Same addresses. When using egcs-1.1b instead of the stock egcs-1.0.2, the addresses are slightly different: memtest: memory violation at pc=12000093c rp=120000904 (bad address = 00000000) Is it a hardware or a software issue?? I also discovered that egcs-1.1 fails to compile the kernel on my machine (with PPP support). It stumbled on drivers/net/slhc.c with the following error (sorry for line wraps) gcc -D__KERNEL__ -I/usr/src/linux-2.0.35/include -Wall -Wstrict-prototypes -O2 - fomit-frame-pointer -fno-strength-reduce -pipe -mno-fp-regs -Wa,-m21164a -DBWX_USABLE -c -o slhc.o slhc.c {standard input}: gcc: Internal compiler error: program cc1 got fatal signal 11 make[3]: *** [slhc.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.0.35/drivers/net' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.0.35/drivers/net' make[1]: *** [sub_dirs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.0.35/drivers' make: *** [linuxsubdirs] Error 2 [root@localhost linux]# Assembler messages: {standard input}:0: Warning: end of file not at end of a line; newline inserted {standard input}:531: Error: unknown opcode `' The message in /var/log/messages reads: Sep 22 01:52:54 localhost kernel: cc1: memory violation at pc=120106050 rp=120106170 (bad address = 11f7fffa0) I compiled the kernel without problem with egcs-1.0.2. May these two things be connected? I have standard RH5.1 with updates. Son.