https://llvm.org/bugs/show_bug.cgi?id=23935
Bug ID: 23935
Summary: Bootstrapping clang fails because of emmintrin.h
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 14512
--> https://llvm.org/bugs/attachment.cgi?id=14512&action=edit
fix
When using cmake to bootstrap clang (crosscompiling the entire
llvm+clang+libc++ combo), the build fails because various files in (at least)
tools/clang/lib/Base and tools/clang/lib/Lex try to #include <emmintrin.h>,
which is part of clang and therefore doesn't exist in the target sysroot yet.
The patch I'm attaching fixes the problem for me by making clang look for
headers in its source directory.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs