Re: kernel make noise with clang suppression

From: Matthew Jacob <mj_at_feral.com>
Date: Thu, 10 Jun 2010 12:31:16 -0700
On 6/10/2010 12:29 PM, Anonymous wrote:
> Matthew Jacob<mj_at_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
>> _at__at_ -63,9 +67,15 _at__at_
>>   # 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.
Received on Thu Jun 10 2010 - 17:31:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC