On 2011-04-14 10:58, George Liaskos wrote:
...
More precisely, /usr/local/include/eigen2/Eigen/Core :

37     #ifdef __SSE3__
38       #include<pmmintrin.h>
39     #endif
40     #ifdef __SSSE3__
41       #include<tmmintrin.h>
42     #endif

I have tmmintrin.h only under /usr/include/clang/2.9, using r220528 - amd64.

You can just copy /usr/src/contrib/gcc/config/i386/tmmintrin.h to
/usr/include/gcc/4.2 for now, or apply the attached patch and run "make
install" in /usr/src/gnu/usr.bin/cc/include.  I'll commit a fix to
-current tonight.
Index: gnu/usr.bin/cc/include/Makefile
===================================================================
--- gnu/usr.bin/cc/include/Makefile     (revision 220620)
+++ gnu/usr.bin/cc/include/Makefile     (working copy)
@@ -7,7 +7,7 @@ INCSDIR=${INCLUDEDIR}/gcc/${GCCVER}
 .PATH: ${GCCDIR}/config/${GCC_CPU}
 
 .if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
-INCS=  emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
+INCS=  emmintrin.h mmintrin.h pmmintrin.h tmmintrin.h xmmintrin.h mm_malloc.h
 .elif ${TARGET_ARCH} == "ia64"
 INCS=  ia64intrin.h
 .elif ${TARGET_ARCH} == "arm"
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to