DragonFly BSD
DragonFly bugs List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

gcc 3.4.5 error with -msse


From: "Eric.J.Haug" <ejh@xxxxxxxxxxx>
Date: Tue, 21 Mar 2006 14:59:20 -0600 (CST)

Hi,
compiling pkgsrc xorg fails
the error is reproduced below.

Take a simple program like:

#include <xmmintrin.h>
int main(int argc, char* argv[])
{
}

try to compile it
cc -msse c.c
note that at least on my
DragonFly 1.4.2-RELEASE #0: Mon Mar 20 10:12:18 CST 2006 system
using
gcc version 3.4.5 20050809 (prerelease) [DragonFly] (propolice, visibility)
that the following errors appear (there are many more)

In file included from c.c:1:
/usr/include/xmmintrin.h:41: error: mode `V4SF' applied to inappropriate type
/usr/include/xmmintrin.h:44: error: mode `V4SF' applied to inappropriate type
/usr/include/xmmintrin.h: In function `_mm_add_ss':
/usr/include/xmmintrin.h:94: error: incompatible type for argument 1 of `__builtin_ia32_addss'
/usr/include/xmmintrin.h:94: error: incompatible type for argument 2 of `__builtin_ia32_addss'
/usr/include/xmmintrin.h:94: error: can't convert between vector values of different size

My guess is an error in the gcc configuration.

Cheers,

eric haug
Saint Louis University



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]