Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 19:05:11 +0300
From:      "\"Remorque\"" <odhiambo@gmail.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Kernel compile fails
Message-ID:  <991123400903220905g446abd58jd1957113f9a1a577@mail.gmail.com>
In-Reply-To: <87ljqxlfdl.fsf@kobe.laptop>
References:  <991123400903220753o6909d0ban5ef235bacf2b3ab1@mail.gmail.com> <87ljqxlfdl.fsf@kobe.laptop>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, Mar 22, 2009 at 6:57 PM, Giorgos Keramidas <keramida@ceid.upatras.gr
> wrote:

> On Sun, 22 Mar 2009 17:53:00 +0300, "\"Remorque\"" <odhiambo@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?


No.


>  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?
>

I have removed the stuff in /usr/obj/* and now rebuilding kernel again.
Let me see what happens.

PS: I have never used any -j option ever, so this is pretty odd. This also
happens to be the first AMD (Quad Core) box that I have ever build. If it
matters, the dmesg output can be seen here -
http://gw.crownkenya.com/~wash/dmesg-amd.txt





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"The only time a woman really succeeds in changing a man is when he is a
baby."
                             - Natalie Wood



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?991123400903220905g446abd58jd1957113f9a1a577>