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

> The following reply was made to PR kern/167574; it has been noted
> by GNATS.
> 
> From: "Hartmann, O." <[email protected]> To:
> [email protected] 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-----
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to