Date: Thu, 10 Jun 2010 12:31:16 -0700 From: Matthew Jacob <mj@feral.com> To: freebsd-current@freebsd.org Subject: Re: kernel make noise with clang suppression Message-ID: <4C113D84.30301@feral.com> In-Reply-To: <861vcesn3u.fsf@gmail.com> References: <4C113167.8040205@feral.com> <861vcesn3u.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/10/2010 12:29 PM, Anonymous wrote: > Matthew Jacob<mj@feral.com> writes: > > >> Comments? (yes, I know -fformat-extensions have just been added...) >> >> >> >> diff -r ea5e09d013e7 sys/conf/kern.mk >> --- a/sys/conf/kern.mk Thu Jun 10 07:40:51 2010 -0700 >> +++ b/sys/conf/kern.mk Thu Jun 10 11:35:50 2010 -0700 >> @@ -63,9 +67,15 @@ >> # reserved for user applications. >> # >> .if ${MACHINE_ARCH} == "amd64" >> +.if ${CC} == "clang" >> +CFLAGS+= -mcmodel=kernel -mno-red-zone \ >> + -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow \ >> > Shouldn't be there all supported -msse* by clang? I for one have ssse3 > and sse4.1 that are not supported by basegcc. > SSE instructions are disabled in the kernel.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C113D84.30301>