Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 17:56:53 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Stephen Hocking <stephen.hocking@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: Building kernels broken under AMD64 Releng 8
Message-ID:  <h2g7d6fde3d1004261756hbc9f8c87q85ace6ec65183f7a@mail.gmail.com>
In-Reply-To: <w2n6300771b1004261651r1840032fhc705afd7d24c2e@mail.gmail.com>
References:  <p2p6300771b1004261454lcbfcb6a3xd5c80ea16c7dd206@mail.gmail.com> <g2i7d6fde3d1004261613h44c1631fj3b52fbb9bf4f70ec@mail.gmail.com> <20100426.171956.431102609571762985.imp@bsdimp.com> <w2n6300771b1004261651r1840032fhc705afd7d24c2e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 26, 2010 at 4:51 PM, Stephen Hocking
<stephen.hocking@gmail.com> wrote:
> On Tue, Apr 27, 2010 at 9:19 AM, M. Warner Losh <imp@bsdimp.com> wrote:
>> In message: <g2i7d6fde3d1004261613h44c1631fj3b52fbb9bf4f70ec@mail.gmail.=
com>
>> =A0 =A0 =A0 =A0 =A0 =A0Garrett Cooper <yanefbsd@gmail.com> writes:
>> : On Mon, Apr 26, 2010 at 2:54 PM, Stephen Hocking
>> : <stephen.hocking@gmail.com> wrote:
>> : > Hi all,
>> : >
>> : > Am noticing the following when attempting to build a kernel:
>> : >
>> : > [root@blurfl /usr/src]# make buildkernel
>> : >
>> : > --------------------------------------------------------------
>> : >>>> Kernel build for GENERIC started on Tue Apr 27 07:53:29 EST 2010
>> : > --------------------------------------------------------------
>> : > =3D=3D=3D> GENERIC
>> : > mkdir -p /usr/obj/src/FreeBSD/STABLE/src/sys
>> : >
>> : > --------------------------------------------------------------
>> : >>>> stage 1: configuring the kernel
>> : > --------------------------------------------------------------
>> : > cd /src/FreeBSD/STABLE/src/sys/amd64/conf;
>> : > PATH=3D/usr/obj/src/FreeBSD/STABLE/sr/tmp/legacy/usr/sbin:/usr/obj/s=
rc/FreeBSD/STABLE/src/tmp/legacy/usr/bin:/usr/ob/src/FreeBSD/STABLE/src/tmp=
/legacy/usr/games:/usr/obj/src/FreeBSD/STABLE/src/tm/usr/sbin:/usr/obj/src/=
FreeBSD/STABLE/src/tmp/usr/bin:/usr/obj/src/FreeBSD/STABE/src/tmp/usr/games=
:/sbin:/bin:/usr/sbin:/usr/bin
>> : > =A0config =A0-d /usr/obj/src/FreeSD/STABLE/src/sys/GENERIC
>> : > /src/FreeBSD/STABLE/src/sys/amd64/conf/GENERIC
>> : > ../../conf/options.amd64: Duplicate option COMPAT_FREEBSD32.
>> : > *** Error code 1
>> : >
>> : > Stop in /src/FreeBSD/STABLE/src.
>> : > *** Error code 1
>> : >
>> : > Stop in /src/FreeBSD/STABLE/src.
>> : >
>> : >
>> : > Any clues? I believe it's related to the COMPAT_IA32 option being
>> : > replaced (I haven't built a kernel since the beginning of the month)=
.
>> :
>> : =A0 =A0 This was reported approximately a week ago and Warner (imp@) w=
as
>> : made aware of the problem, and fixed the issue in a later revision of
>> : 8-STABLE I think. Please see:
>> : http://lists.freebsd.org/pipermail/svn-src-all/2010-April/022969.html
>> : for more details.
>>
>> You always have to rebuild world before rebuilding the kernel. =A0You
>> often can get away with not doing that, but not aways.
>>
>> I'm adding a safety belt to config, and that should be done soon.
>>
>
> OK, thanks - wasn't immediately clear. Now, one should usually do an
> installkernel prior to an installworld, in case system calls change,
> is this correct?

Wouldn't kernel-toolchain accomplish the same thing?
Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h2g7d6fde3d1004261756hbc9f8c87q85ace6ec65183f7a>