Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Feb 2006 08:53:56 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, stefanf@freebsd.org, Ruslan Ermilov <ru@freebsd.org>, Stefan Farfeleder <stefan@fafoe.narf.at>, "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h
Message-ID:  <86bqxq42nf.fsf@xps.des.no>
In-Reply-To: <20060201173136.GA67971@troutmask.apl.washington.edu> (Steve Kargl's message of "Wed, 1 Feb 2006 09:31:36 -0800")
References:  <200601311757.k0VHvHuF060699@repoman.freebsd.org> <20060131.121247.100359574.imp@bsdimp.com> <20060131.135734.112813988.imp@bsdimp.com> <20060201080250.GA610@wombat.fafoe.narf.at> <20060201112513.GH90360@ip.net.ua> <20060201150602.GA67259@troutmask.apl.washington.edu> <20060201152602.GD610@wombat.fafoe.narf.at> <20060201173136.GA67971@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Kargl <sgk@troutmask.apl.washington.edu> writes:
> Build world and kernel of amd64.  Watch kernl panic and take
> out parts of /usr/include and /usr/src.  Do "make includes"
> to restore /usr/include, so one can build a new kernel.  Watch
> the fun begin.
>
> =3D=3D=3D> games/fortune/strfile (obj,depend,all,install)
> cc -O2 -fno-strict-aliasing -pipe  -I/usr/obj/usr/src/tmp/legacy/usr/incl=
ude -c
> /usr/src/games/fortune/strfile/strfile.c
> In file included from /usr/src/games/fortune/strfile/strfile.c:53:
> /usr/include/stdio.h:331: error: syntax error before "__format_arg"
> *** Error code 1

This is trivial to hack around (e.g. by adding "-D__format_arg(x)=3D" to
CFLAGS in make.conf).  I agree that it's unfortunate that this breaks
upgrading across branches, but it is not a serious obstacle to
recovering from a hosed /usr/include.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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