buildkernel fails
Brian J. McGovern
bmcgover at cisco.com
Tue Mar 2 06:34:40 PST 2004
I'm no expert on Sparc, but this has a classic symptom of bad memory or the
supporting hardware.
For chuckles, try rerunning the command w/o cleaning up in between. If you
eventually make it through, odds are, its RAM. Depending on how bad the ram
is, you may have to do this alot (had a bad x86 box, recently, where a
buildworld took some 30 attempts, but made it).
If it was dying in the same place repeatedly, I'd suspect bad code, and then
bad tools, in that order. :)
>
> --MrRUTeZlqqNo1jQ9
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>
> Hi,
>
> I tried to recompile the kernel today, without updating and
> buildworld, and it failed 3 times, everytime in different
> places:
>
> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc
> -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
> -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath
> -I/usr/src/sys/contrib/dev/ath/freebsd
> -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h
> -fno-common -finline-limit=15000 -mcmodel=medlow -msoft-float
> -ffreestanding -Werror /usr/src/sys/kern/vfs_subr.c
> cc: Internal error: Segmentation fault (program as)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1
>
> ===> kue
> rm -f .depend
> mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE
> -I- -I. -I@ -I@/../include -I/usr/obj/usr/src/sys/VIKING
> /usr/src/sys/modules/kue/../../dev/usb/if_kue.c
> Segmentation fault (core dumped)
> *** Error code 139
>
> ===> bridge
> cc -O -pipe -D_KERNEL -DKLD_MODULE -nostdinc -I--include
> /usr/obj/usr/src/sys/VIKING/opt_global.h -I. -I@ -I@/../include -fi
nline-limit=15000
> -fno-common -g -I/usr/obj/usr/src/sys/VIKING -mcmodel=medlow -msoft
-float
> -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-pr
ototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat
-extensions -std=c99
> -c /usr/src/sys/net/bridge.c
> machine/atomic.h: In function `atomic_cmpset_ptr':
> machine/atomic.h:278: internal compiler error: Segmentation fault
> Please submit a full bug report, with preprocessed source if appropriate.
>
> Before every build I cleaned up /usr/obj
>
> Is that known problem ?
>
> -Kirill
>
> --MrRUTeZlqqNo1jQ9
> Content-Type: application/pgp-signature
> Content-Disposition: inline
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (FreeBSD)
>
> iD8DBQFARJlIQC1G6a60JuURAjgLAKDw4230SJUa0knURqm6ZMA+YzZHoQCgzVQS
> TJeUw8xRz1ActkBO2jNWo+U=
> =/8LC
> -----END PGP SIGNATURE-----
>
> --MrRUTeZlqqNo1jQ9--
More information about the freebsd-sparc64
mailing list