Re: "make buildkernel" busted

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Wed, 23 May 2007 20:30:25 +0100 (BST)
On Wed, 23 May 2007, 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

The new version of gcc accepts different flags than the old one, so you'll 
need to either do a full buildworld, or just kernel-buildchain (or whatever 
the target is called) in oder to do a buildkernel.  This is quite 
inconvenient, but in practice necessary.

Robert N M Watson
Computer Laboratory
University of Cambridge
Received on Wed May 23 2007 - 17:30:25 UTC

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