Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 2009 12:09:37 -0700
From:      Xin LI <delphij@delphij.net>
To:        Roman Divacky <rdivacky@FreeBSD.ORG>
Cc:        svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG
Subject:   Re: svn commit: r193245 - head/sys/dev/aic7xxx/aicasm
Message-ID:  <4A242771.3090605@delphij.net>
In-Reply-To: <20090601185532.GA24838@freebsd.org>
References:  <200906011843.n51IhXt4087781@svn.freebsd.org> <4A242282.4030404@FreeBSD.org> <20090601184937.GA24177@freebsd.org> <20090601185532.GA24838@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roman Divacky wrote:
> 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..

This is strange...  Let me take a look at this, I have reverted the
WARNS?=6 change for now.

Cheers,
- --
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkokJ3EACgkQi+vbBBjt66AnHACfXXyxcoKUsfCORzcOv4Nz8X3D
IJoAn2dXFSLAq/HzO+S0XXuFbFFTJuhJ
=3Uqo
-----END PGP SIGNATURE-----



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