recompiling my kernel error

Loren M. Lang lorenl at alzatex.com
Fri Dec 10 01:18:10 PST 2004


On Wed, Dec 08, 2004 at 07:33:52PM +0800, Spades wrote:
> After I cvsup'd and recompiling my kernel, it came up with this error,
> anyone has an idea on how to fix this?
> 
> --
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
>  -fformat-extensions
> -ansi  -nostdinc -I- -I. -I../.. -I../../../include 
> -I../../contrib/dev/acpica
> -I../../contrib/ipfilter  -D_KERNEL -include
> pt_global.h  -mpreferred-stack-boundary=2  ../../dev/advansys/adwmcode.c
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
>  -fformat-extensions
> -ansi  -nostdinc -I- -I. -I../.. -I../../../include 
> -I../../contrib/dev/acpica
> -I../../contrib/ipfilter  -D_KERNEL -include
> pt_global.h  -mpreferred-stack-boundary=2  ../../dev/an/if_an.c
> {standard input}: cc: Assembler messages:
> Internal compiler error: program cc1 got fatal signal 11{standard
> input}:1997:
> Warning: *** Error code 1
> end of file not at end of a line; newline inserted
> 
> Stop in /usr/src/sys/compile/CONF.
> {standard input}:4156: bash-2.05b# Error: suffix or operands invalid for
> `sub'

I've seen errors like this before when a system is low on memory and
starts killing processes, if the compiler was killed, then the asm that
it's generating and piping to gas (assembler) will be truncated and give
a syntax error.  Normally just restarting the make without cleaning
first will allow it to continue on.  Does youre system have little ram
or is usually quite full, for example running kde on a system with 128
megs of ram could be enough to cause the kernel to start killing
processes when trying to make buildworld.

P.S.  Is there an easy way to start a buildworld or buildkernel again
without having it auto-clean first for cases like this, or when just
making a minor chance to a source file?

> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


More information about the freebsd-questions mailing list