cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h

Warner Losh imp at bsdimp.com
Wed Feb 1 10:26:39 PST 2006


From: Stefan Farfeleder <stefanf at FreeBSD.org>
Subject: Re: cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h
Date: Wed, 1 Feb 2006 19:05:43 +0100

> On Wed, Feb 01, 2006 at 09:31:36AM -0800, Steve Kargl wrote:
> > On Wed, Feb 01, 2006 at 04:26:06PM +0100, Stefan Farfeleder wrote:
> > > On Wed, Feb 01, 2006 at 07:06:02AM -0800, Steve Kargl wrote:
> > > > On Wed, Feb 01, 2006 at 01:25:13PM +0200, Ruslan Ermilov wrote:
> > > > >
> > > > > Commit what Warner sent you, but only to RELENG_6.
> > > > > 
> > > > 
> > > > What abour -current?  This problem with format_arg has
> > > > totally hosed those people who are having panics with
> > > > kernels that are newer than 2006-01-25.
> > > 
> > > What do you mean by 'totally hosed'?  Did I miss any mail describing
> > > this problem?
> > > 
> > 
> > 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.
> > 
> > ===> games/fortune/strfile (obj,depend,all,install)
> > cc -O2 -fno-strict-aliasing -pipe  -I/usr/obj/usr/src/tmp/legacy/usr/include -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
> > 
> > Stop in /usr/src/games/fortune/strfile.
> > *** Error code 1
> 
> Unless I'm mistaken "make includes" does not install /usr/include/sys,
> so your /usr/include was newer than /usr/include/sys and this problem
> was to be expected.

Actually, it looks like it does, at least for the default case.  I
just tested this on a RELENG_6 box and I get a new sys/cdefs.h.  I'm
not sure why Steve isn't getting a new one, unless his source tree
isn't complete.  I didn't test the use symbolic links case, so that
might also be the cause of grief...

Warner


More information about the cvs-all mailing list