From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 27 00:57:03 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8975C10656BA for ; Tue, 27 Apr 2010 00:57:03 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3978FC08 for ; Tue, 27 Apr 2010 00:57:02 +0000 (UTC) Received: by qyk11 with SMTP id 11so15811189qyk.13 for ; Mon, 26 Apr 2010 17:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uuH7Zsg78EtVw8e0IZRlrV5ZiQURGB1DA6842FO3Djs=; b=N5K9llc41NZIQKaFZupBMjiF+wey3YrnT6y+FWwq8/F2UF6WGi4bgorgjY/9TOakRP +OTykjJ1TSM5hnsC8fPFrtgFuKZCilBsHGpAuVjdhMYYAFmQWYeq8bxg/RXt3CP5G7Fa WtSNSFjpC7rUcIaAKIDX/nRvZE/FTE4+suF4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NSnd0HJX09bnE3sBT8LX3+TE2w5P00Dmwne7HQTUCWzkE/N/govg9KKckGZ4j2hbr2 JOXhHCyMXVAiAjfrHc10b5FlIJFYl9iIs7lcMA1Ecw4wGwk1W/irJYzY/X3peh1fsSOp NxRkPfa2R/L4JIdW4xtaG4e/1pzYpnNztHbOo= MIME-Version: 1.0 Received: by 10.229.234.68 with SMTP id kb4mr6084477qcb.103.1272329813798; Mon, 26 Apr 2010 17:56:53 -0700 (PDT) Received: by 10.229.233.11 with HTTP; Mon, 26 Apr 2010 17:56:53 -0700 (PDT) In-Reply-To: References: <20100426.171956.431102609571762985.imp@bsdimp.com> Date: Mon, 26 Apr 2010 17:56:53 -0700 Message-ID: From: Garrett Cooper To: Stephen Hocking Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: hackers@freebsd.org Subject: Re: Building kernels broken under AMD64 Releng 8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 00:57:03 -0000 On Mon, Apr 26, 2010 at 4:51 PM, Stephen Hocking wrote: > On Tue, Apr 27, 2010 at 9:19 AM, M. Warner Losh wrote: >> In message: >> =A0 =A0 =A0 =A0 =A0 =A0Garrett Cooper writes: >> : On Mon, Apr 26, 2010 at 2:54 PM, Stephen Hocking >> : 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