Kernel compile fails

Giorgos Keramidas keramida at ceid.upatras.gr
Sun Mar 22 08:57:30 PDT 2009


On Sun, 22 Mar 2009 17:53:00 +0300, "\"Remorque\"" <odhiambo at gmail.com> wrote:
> I have installed 7.1-RELEASE on a hardware with AMD processor. I have
> successfully buildworld, and now doing the "make kernel" thing.The kernel
> config file is pretty GENERIC, I only removed the option to build a DEBUG
> kernel.I have csup-ped today.
> However, my compilation fails, viz:
> <cut>
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
> -fformat-extensions -nostdinc  -I. -I/usr/src/sys
> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
> opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100
> --param large-function-growth=1000  -mcmodel=kernel -mno-red-zone
>  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -Werror
>  /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/FS.
> *** Error code 1

This snippet does not include *any* compiler warning or error line.  Are
you building with a high -j option?  If yes, can you try removing the
already built stuff from `/usr/obj/*' and rebuilding without any -jXXX
option in the buildworld/buildkernel command-line?



More information about the freebsd-questions mailing list