From owner-freebsd-current@FreeBSD.ORG Wed May 23 19:33:52 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A495F16A46B for ; Wed, 23 May 2007 19:33:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 893F913C4B7 for ; Wed, 23 May 2007 19:33:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4NJWuwg022731; Wed, 23 May 2007 12:32:56 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4NJWtDR022730; Wed, 23 May 2007 12:32:55 -0700 (PDT) (envelope-from sgk) Date: Wed, 23 May 2007 12:32:55 -0700 From: Steve Kargl To: Kris Kennaway Message-ID: <20070523193255.GA22598@troutmask.apl.washington.edu> References: <20070523191555.GA22564@troutmask.apl.washington.edu> <20070523192857.GA62208@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070523192857.GA62208@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: "make buildkernel" busted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 19:33:52 -0000 On Wed, May 23, 2007 at 03:28:58PM -0400, Kris Kennaway wrote: > On Wed, May 23, 2007 at 12:15:55PM -0700, Steve Kargl wrote: > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron -std=c99 -g -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 -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding /usr/src/sys/amd64/amd64/genassym.c > > cc1: error: unrecognized command line option "-Wno-pointer-sign" > > *** Error code 1 > > You haven't yet updated your compiler. Was this really from a 'make > buildkernel'? I thought it is supposed to rebuild the toolchain as > part of the kernel build. > Yes, it was from a "make buildkernel". My most recent world is about an hour or two before gcc-4.2 was imported. I'm chasing to different kernel panic. I used csup to grab only src-sys. Deleting -Wno-pointer-sign in sys/conf/kern.mk fixes the problem. -- Steve