[LLVMdev] Problem while selfhosting LLVM and Clang

Aaron Myles Landwehr snaphat at gmail.com
Fri Jul 29 22:54:18 PDT 2011


This looks relevant to me for your issue. Grabbing the cxxabi.h from there
may work:

http://comments.gmane.org/gmane.comp.compilers.clang.devel/9391

--
Aaron Myles Landwehr


On Sat, Jul 30, 2011 at 1:33 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:

> Hi, all
>
>  I am trying to selfhost LLVM and Clang. Below is my flow,
>
> Step 1. Build LLVM and Clang by using native gcc
>
> $ ../llvm-2.9/configure --prefix=$INSTALL \
> --enable-optimized
>
> Step 2. Build LLVM and Clang by using clang built by step 1
>
> $ CC=clang CXX=clang++ ../llvm-2.9/configure \
> --prefix=$INSTALL --enable-optimized
>
>
>  But in step 2, I have a compilation error below,
>
> --
> llvm[1]: Compiling Signals.cpp for Release build
> In file included from
> /nfs_home/chenwj/test/llvm-2.9/lib/Support/Signals.cpp:30:
> /nfs_home/chenwj/test/llvm-2.9/lib/Support/Unix/Signals.inc:31:10: fatal
> error: 'cxxabi.h' file not found
> #include <cxxabi.h>
>         ^
> --
>
>  Do I miss something like missing option or the Clang source needed to
> be modified?
>
>  Thanks!
>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110730/05659d19/attachment.html>


More information about the llvm-dev mailing list