Some headers included in the clang snapshot are not installed, causing these errors : /usr/local/llvm-devel/bin/../lib/clang/3.4/include/module.map:4:12: error: header 'altivec.h' not found header "altivec.h" ^ /usr/local/llvm-devel/bin/../lib/clang/3.4/include/module.map:31:14: error: header 'cpuid.h' not found header "cpuid.h" ^ Fix: This is a consequence of files/patch-tools_clang_lib_Headers_Makefile restricting which headers are installed. Some were already added back in r318206 and r318207 ; I suppose the above two should be added as well. This may be a consequence of the absence of gcc in the base system. I didn't have the problem before upgrading to 10.0 (on the other hand, I used an earlier revision of the port then). How-To-Repeat: Try to compile something.
Responsible Changed From-To: freebsd-ports-bugs->brooks Over to maintainer (via the GNATS Auto Assign Tool)
Author: brooks Date: Wed Nov 13 02:38:26 2013 New Revision: 333647 URL: http://svnweb.freebsd.org/changeset/ports/333647 Log: Include altivec.h and cpuid.h in the set of installed headers. PR: ports/183799 Submitted by: Philippe Michel <philippe.michel7@sfr.fr> Sponsored by: DARPA/AFRL Modified: head/lang/clang-devel/Makefile head/lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile head/lang/clang-devel/pkg-plist Modified: head/lang/clang-devel/Makefile ============================================================================== --- head/lang/clang-devel/Makefile Wed Nov 13 02:31:18 2013 (r333646) +++ head/lang/clang-devel/Makefile Wed Nov 13 02:38:26 2013 (r333647) @@ -3,6 +3,7 @@ PORTNAME= clang PORTVERSION= 3.4.r${SVN_REV} +PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks Modified: head/lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile ============================================================================== --- head/lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile Wed Nov 13 02:31:18 2013 (r333646) +++ head/lang/clang-devel/files/patch-tools_clang_lib_Headers_Makefile Wed Nov 13 02:38:26 2013 (r333647) @@ -8,7 +8,7 @@ $FreeBSD$ HeaderDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/lib/clang/$(CLANG_VERSION)/include -HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*.h)) -+HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*intrin*.h) mm3dnow.h mm_malloc.h) ++HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*intrin*.h) altivec.h cpuid.h mm3dnow.h mm_malloc.h) OBJHEADERS := $(addprefix $(HeaderDir)/, $(HEADERS)) Modified: head/lang/clang-devel/pkg-plist ============================================================================== --- head/lang/clang-devel/pkg-plist Wed Nov 13 02:31:18 2013 (r333646) +++ head/lang/clang-devel/pkg-plist Wed Nov 13 02:38:26 2013 (r333647) @@ -427,12 +427,14 @@ llvm-devel/include/clang/Tooling/Replace llvm-devel/include/clang/Tooling/Tooling.h llvm-devel/lib/clang/3.4/include/__wmmintrin_aes.h llvm-devel/lib/clang/3.4/include/__wmmintrin_pclmul.h +llvm-devel/lib/clang/3.4/include/altivec.h llvm-devel/lib/clang/3.4/include/ammintrin.h llvm-devel/lib/clang/3.4/include/arm_neon.h llvm-devel/lib/clang/3.4/include/avx2intrin.h llvm-devel/lib/clang/3.4/include/avxintrin.h llvm-devel/lib/clang/3.4/include/bmi2intrin.h llvm-devel/lib/clang/3.4/include/bmiintrin.h +llvm-devel/lib/clang/3.4/include/cpuid.h llvm-devel/lib/clang/3.4/include/emmintrin.h llvm-devel/lib/clang/3.4/include/f16cintrin.h llvm-devel/lib/clang/3.4/include/fma4intrin.h _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Suggested fix committed.