Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 May 2012 17:48:56 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        "Hartmann, O." <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-bugs@FreeBSD.org, dim@freebsd.org
Subject:   Re: Re: kern/167574: /usr/include/clang/3.1/smmintrin.h:461:10: fatal error: &#39;popcntintrin.h&#39; file not found
Message-ID:  <4FA44EC8.8050707@FreeBSD.org>
In-Reply-To: <201205042020.q44KK9s9084477@freefall.freebsd.org>
References:  <201205042020.q44KK9s9084477@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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@zedat.fu-berlin.de> To:
> bug-followup@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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FA44EC8.8050707>