KDE related compile errors on CURRENT.

Dimitry Andric dim at FreeBSD.org
Thu Apr 14 11:50:12 UTC 2011


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.
-------------- next part --------------
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"


More information about the freebsd-current mailing list