[LLVMbugs] [Bug 23935] New: Bootstrapping clang fails because of emmintrin.h
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 24 10:34:02 PDT 2015
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: unassignedclangbugs at nondot.org
Reporter: bero at linaro.org
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150624/48c053db/attachment.html>
More information about the llvm-bugs
mailing list