Compiler Flags problem with core2 CPU

Aaron Lewis aaron.lewis1989 at
Wed Mar 3 15:40:58 UTC 2010

[root at Meilk /usr/src/sys/i386/compile/AARON]# make
CC='cc' make -f ../../../dev/aic7xxx/aicasm/Makefile 
Warning: Object directory not changed from original 
cc -O2 -pipe -march=i686 -ffast-math -mfpmath=sse -O3  -nostdinc 
-I/usr/include -I. -I../../../dev/aic7xxx/aicasm -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch 
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c 
cc1: warnings being treated as errors
../../../dev/aic7xxx/aicasm/aicasm.c:1: warning: SSE instruction set 
disabled, using 387 arithmetics
*** Error code 1

It's interesting something can work with SSE instruction , while some 
are not ,

Warnings are treated as errors , if we can safely disable it in some 
specific occasions.

More information about the freebsd-questions mailing list