Project

General

Profile

Actions

Bug #120

closed

gcc 3.4.5 error with -msse

Added by ejh about 18 years ago. Updated over 17 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 #1

Updated by corecode about 18 years ago

Eric.J.Haug wrote:

My guess is an error in the gcc configuration.

Did you upgrade from an older version? My guess that there is a stale
header lying around in /usr/include. If so we need to clean this out
with make update.

cheers
simon

Actions

Also available in: Atom PDF