Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 1996 18:39:37 -0400 (EDT)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        current@freebsd.org
Subject:   Can someone explain why...
Message-ID:  <Pine.BSI.3.92.960413183510.4757R-100000@freebsd.ki.net>

next in thread | raw e-mail | index | archive | help


...I get these occasionally while attempting to compile a kernel:

freebsd# make
cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Winline -g -nostdinc -I. -I../.. -I../../sys -I../../../include -DI486_CPU -DCOMPAT_43 -DDEVFS -DNFS -DFFS -DINET -DDODUMP -DKERN
EL  ../../kern/subr_xxx.c
cc: Internal compiler error: program cc1 got fatal signal 10
*** Error code 1

	pstat -s shows:

freebsd# pstat -s
Device      1K-blocks     Used    Avail Capacity  Type
/dev/sd0b       51200    17096    34040    33%    Interleaved

	The file in question hasn't changed any recently:

freebsd# ls -lt ../../kern/subr_xxx.c
-rw-r--r--  1 root  wheel  5148 Nov  5 23:13 ../../kern/subr_xxx.c

	Not twenty minutes before, I had successfully compiled a kernel
using the same source (but had failed to turn on -O).

	funny thing is, I just disabled -O, and its compiling again:

mfreebsd# make
cc -c  -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Winline -g -nostdinc -I. -I../.. -I../../sys -I../../../include -DI486_CPU -DCOMPAT_43 -DDEVFS -DNFS -DFFS -DINET -DDODUMP -DKERNEL
  ../../kern/subr_xxx.c
cc -c  -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Winline -g -nostdinc -I. -I../.. -I../../sys -I../../../include -DI486_CPU -DCOMPAT_43 -DDEVFS -DNFS -DFFS -DINET -DDODUMP -DKERNEL
  ../../kern/sys_generic.c

	And if I turn -O back on, it fails again.

	So, seems like a software problem to me, not a hardware...

Comments?

Marc G. Fournier | POP Mail  Telnet Acct  DNS Hosting
System           |  WWW Services   Database Services  | Knowledge,
  Administrator  |                                    | Information and
 scrappy@ki.net  |      WWW: http://www.ki.net        | Communications, Inc




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.92.960413183510.4757R-100000>