Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2007 12:32:55 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: "make buildkernel" busted
Message-ID:  <20070523193255.GA22598@troutmask.apl.washington.edu>
In-Reply-To: <20070523192857.GA62208@xor.obsecurity.org>
References:  <20070523191555.GA22564@troutmask.apl.washington.edu> <20070523192857.GA62208@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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