svn commit: r193245 - head/sys/dev/aic7xxx/aicasm

Roman Divacky rdivacky at FreeBSD.org
Mon Jun 1 18:56:39 UTC 2009


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


More information about the svn-src-all mailing list