Hi!

I tried to update qt4-corelib 4.8.2_1 on FreeBSD 9.1-RELEASE #0 with clang 
3.1. In /etc/make.conf I have:

CC=clang
CXX=clang++
CPP=clang-cpp

Is it okay what clang -v shows:
clang -v
FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
Target: i386-unknown-freebsd9.0
Thread model: posix


And I got:

....
In file included from tools/qsimd.cpp:42:
In file included from tools/qsimd_p.h:203:
In file included from /usr/include/clang/3.1/mm3dnow.h:27:
/usr/include/clang/3.1/mmintrin.h:28:2: error: "MMX instruction set not 
enabled"
#error "MMX instruction set not enabled"
 ^
In file included from tools/qsimd.cpp:42:
In file included from tools/qsimd_p.h:203:
/usr/include/clang/3.1/mm3dnow.h:36:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:36:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
/usr/include/clang/3.1/mm3dnow.h:41:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:41:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
/usr/include/clang/3.1/mm3dnow.h:46:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:46:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
/usr/include/clang/3.1/mm3dnow.h:51:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:51:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
/usr/include/clang/3.1/mm3dnow.h:56:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:56:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
/usr/include/clang/3.1/mm3dnow.h:61:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:61:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
/usr/include/clang/3.1/mm3dnow.h:66:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:66:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
/usr/include/clang/3.1/mm3dnow.h:71:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:71:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
/usr/include/clang/3.1/mm3dnow.h:76:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                  ^
/usr/include/clang/3.1/mm3dnow.h:76:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
                        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [.obj/release-shared/qsimd.o] Error code 1
1 error
*** [do-build] Error code 1

Stop in /usr/ports/devel/qt4-corelib.

===>>> make failed for devel/qt4-corelib
===>>> Aborting update

Terminated

Thanks in advance...

Mitja
--------
http://www.redbubble.com/people/lumiwa
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to