Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Mar 2010 23:40:59 +0800
From:      Aaron Lewis <aaron.lewis1989@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Compiler Flags problem with core2 CPU
Message-ID:  <4B8E830B.2000708@gmail.com>
In-Reply-To: <d7195cff1003022057t594281eblf2ba394662e132dd@mail.gmail.com>
References:  <4B8A63D5.90104@gmail.com> <d7195cff1003022057t594281eblf2ba394662e132dd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[root@Meilk /usr/src/sys/i386/compile/AARON]# make
CC='cc' make -f ../../../dev/aic7xxx/aicasm/Makefile 
MAKESRCPATH=../../../dev/aic7xxx/aicasm
Warning: Object directory not changed from original 
/usr/src/sys/i386/compile/AARON
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 
../../../dev/aic7xxx/aicasm/aicasm.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.



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