kern/167574: /usr/include/clang/3.1/smmintrin.h:461:10: fatal error: 'popcntintrin.h' file not found

Jung-uk Kim jkim at FreeBSD.org
Fri May 4 21:48:57 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> The following reply was made to PR kern/167574; it has been noted
> by GNATS.
> 
> From: "Hartmann, O." <ohartman at zedat.fu-berlin.de> To:
> bug-followup at FreeBSD.org Cc: Subject: Re: kern/167574:
> /usr/include/clang/3.1/smmintrin.h:461:10: fatal error:
> &#39;popcntintrin.h&#39; file not found Date: Fri, 04 May 2012
> 22:16:37 +0200
> 
> popcntintrin.h can be found at
> 
> /usr/src/contrib7LLVM7tools/clang/lib/Headers/popcntintrin.h
> 
> It seems that it isn't installed properly.

I think the following patch should fix the problem.

Index: lib/clang/include/Makefile
===================================================================
- --- lib/clang/include/Makefile  (revision 235038)
+++ lib/clang/include/Makefile  (working copy)
@@ -5,17 +5,22 @@
 INCSDIR=${INCLUDEDIR}/clang/3.1

 INCS=	altivec.h \
+	avx2intrin.h \
 	avxintrin.h \
+	bmi2intrin.h \
+	bmiintrin.h \
 	cpuid.h \
 	emmintrin.h \
+	fma4intrin.h \
 	immintrin.h \
+	lzcntintrin.h \
 	mm3dnow.h \
 	mm_malloc.h \
 	mmintrin.h \
 	nmmintrin.h \
 	pmmintrin.h \
+	popintrin.h \
 	smmintrin.h \
- -	stdalign.h \
 	tmmintrin.h \
 	unwind.h \
 	wmmintrin.h \

Please note the stdalign.h is removed because I believe it is redundant.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+kTscACgkQmlay1b9qnVO43QCglaFR7PuF9y7jYZlmBDUPhfkO
6FYAn1PEnYkFLOPJYRiBBvGw0/XmadcI
=6Sbt
-----END PGP SIGNATURE-----


More information about the freebsd-bugs mailing list