Re: "make buildkernel" busted

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Wed, 23 May 2007 12:32:55 -0700
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
Received on Wed May 23 2007 - 17:33:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC