Missing header file from gcc

Hajimu UMEMOTO ume at mahoroba.org
Tue Dec 9 06:58:56 PST 2003


Hi,

>>>>> On Tue, 9 Dec 2003 15:51:19 +0100
>>>>> Ollivier Robert <roberto at keltia.freenix.fr> said:

roberto> According to Marius Strobl:
> Could you elaborate on the other problem? I hit this issue recently,
> copied src/contrib/gcc/config/i386/emmintrin.h to /usr/include and
> ffmepg 0.4.8 in ports and HEAD version from CVS compiled and worked
> fine afterwards.

Me too.  I dunno why emmintrin.h is not installed, I apply following
patch locally:

Index: gnu/usr.bin/cc/include/Makefile
diff -u gnu/usr.bin/cc/include/Makefile.orig gnu/usr.bin/cc/include/Makefile
--- gnu/usr.bin/cc/include/Makefile.orig	Wed Sep 10 02:43:07 2003
+++ gnu/usr.bin/cc/include/Makefile	Mon Nov 17 03:56:21 2003
@@ -5,7 +5,7 @@
 .PATH: ${GCCDIR}/config/${GCC_CPU}
 
 .if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
-INCS=	mmintrin.h xmmintrin.h
+INCS=	emmintrin.h mmintrin.h xmmintrin.h
 .elif ${TARGET_ARCH} == "ia64"
 INCS=	ia64intrin.h
 .endif

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume at bisd.hitachi.co.jp  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-current mailing list