Kernel compile fails

Kent Stewart kstewart at owt.com
Sun Mar 22 11:27:39 PDT 2009


On Sunday 22 March 2009 08:43:53 am "Remorque" wrote:
> On Sun, Mar 22, 2009 at 6:23 PM, Kent Stewart <kstewart at owt.com> wrote:
> > On Sunday 22 March 2009 07:53:00 am "Remorque" 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
> > >
> > > Stop in /usr/src.
> > > *** Error code 1
> > >
> > > Stop in /usr/src.
> > >
> > > </cut>
> > >
> > > I can go ahead and comment out all ath_* from the configuration, since
> > > I wouldn't really need them at this juncture, but I believe it should
> > > not
> >
> > be
> >
> > > failing anyway. Do I just wait to csup again tomorrow and hope this
> > > gets fixed? :)
> >
> > You have optimization options on the compile line that I don't have on my
> > system. From this, I would guess that you have a cflags statment
> > in /etc/make.conf and it is bitting you.
> >
> > Kent
>
> Hi Kent,
>
> Thank you for replying.
>
> The fact is that:
>
> 1. I have never used any optimizations ever since I started using FreeBSD
> 2. This is a new box, and there is no /etc/make.conf as yet
>
> The only things I have done on this box (a Dell SC1435) is to install, csup
> (src, ports) and buildworld.
> I was just gonna do the kernel, then start doing the other stuff after the
> system updates.
>
> Your guess is wrong:-)

Yes, you are right. I cvsuped and rebuilt my system and it died at the same 
spot.

kent

-- 
kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-questions mailing list