Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Feb 2006 11:23:33 -0700 (MST)
From:      Warner Losh <imp@bsdimp.com>
To:        stefanf@FreeBSD.org
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, ru@FreeBSD.org, cvs-all@FreeBSD.org, sgk@troutmask.apl.washington.edu
Subject:   Re: cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h
Message-ID:  <20060201.112333.85357165.imp@bsdimp.com>
In-Reply-To: <20060201180538.GE610@wombat.fafoe.narf.at>
References:  <20060201152602.GD610@wombat.fafoe.narf.at> <20060201173136.GA67971@troutmask.apl.washington.edu> <20060201180538.GE610@wombat.fafoe.narf.at>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Stefan Farfeleder <stefanf@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



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