Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 20:55:32 +0200
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        src-committers@FreeBSD.org
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org
Subject:   Re: svn commit: r193245 - head/sys/dev/aic7xxx/aicasm
Message-ID:  <20090601185532.GA24838@freebsd.org>
In-Reply-To: <20090601184937.GA24177@freebsd.org>
References:  <200906011843.n51IhXt4087781@svn.freebsd.org> <4A242282.4030404@FreeBSD.org> <20090601184937.GA24177@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 01, 2009 at 08:49:37PM +0200, Roman Divacky wrote:
> On Mon, Jun 01, 2009 at 11:48:34AM -0700, Doug Barton wrote:
> > Xin LI wrote:
> > > Author: delphij
> > > Date: Mon Jun  1 18:43:33 2009
> > > New Revision: 193245
> > > URL: http://svn.freebsd.org/changeset/base/193245
> > > 
> > > Log:
> > >   Mark as WARNS=6.
> > > 
> > > Modified:
> > >   head/sys/dev/aic7xxx/aicasm/Makefile
> > > 
> > > Modified: head/sys/dev/aic7xxx/aicasm/Makefile
> > > ==============================================================================
> > > --- head/sys/dev/aic7xxx/aicasm/Makefile	Mon Jun  1 18:42:16 2009	(r193244)
> > > +++ head/sys/dev/aic7xxx/aicasm/Makefile	Mon Jun  1 18:43:33 2009	(r193245)
> > > @@ -15,6 +15,7 @@ SRCS=	${GENHDRS} ${CSRCS} ${YSRCS} ${LSR
> > >  CLEANFILES+= ${GENHDRS} ${YSRCS:R:C/(.*)/\1.output/g}
> > >  DPADD=	${LIBL}
> > >  LDADD=	-ll
> > > +WARNS?=	6
> > >  
> > >  # Correct path for kernel builds
> > >  # Don't rely on the kernel's .depend file
> > > 
> > 
> > Is there more coming?
> > 
> > cc -O2 -pipe -ggdb -nostdinc -I/usr/include -I.
> > -I/usr/local/src/sys/dev/aic7xxx/aicasm -ggdb -std=gnu99
>                                                 ^^^^^^^^^^
> 
> how did you get this? this should be used for userland compilation,
> kernel is done with -std=c99, can you show me how you got this?

ok.. when you

cd /usr/src
make

you build the kernel with -std=gnu99 instead of -std=c99. which is a bug. I am
trying to fix this. if anyone has any idea please mail me..

roman



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