From owner-freebsd-current@FreeBSD.ORG Thu Jun 10 19:31:35 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FDD81065691 for ; Thu, 10 Jun 2010 19:31:35 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4048FC1D for ; Thu, 10 Jun 2010 19:31:34 +0000 (UTC) Received: from [192.168.221.2] (remotevpn [192.168.221.2]) by ns1.feral.com (8.14.3/8.14.3) with ESMTP id o5AJVLBG096014 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 10 Jun 2010 12:31:34 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <4C113D84.30301@feral.com> Date: Thu, 10 Jun 2010 12:31:16 -0700 From: Matthew Jacob Organization: Feral Software User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4C113167.8040205@feral.com> <861vcesn3u.fsf@gmail.com> In-Reply-To: <861vcesn3u.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.2.3 (ns1.feral.com [192.168.221.1]); Thu, 10 Jun 2010 12:31:34 -0700 (PDT) Subject: Re: kernel make noise with clang suppression X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2010 19:31:35 -0000 On 6/10/2010 12:29 PM, Anonymous wrote: > Matthew Jacob 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.