Project

General

Profile

Actions

Bug #120

closed

gcc 3.4.5 error with -msse

Added by ejh over 18 years ago. Updated about 18 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Actions

Also available in: Atom PDF