Hi, Asron> 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/9391I am not sure where to put cxxabi.h. How can I let clang find this header file while compiling LLVM and Clang (in step 2)? 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
Aaron Myles Landwehr
2011-Jul-30 06:54 UTC
[LLVMdev] Problem while selfhosting LLVM and Clang
On Sat, Jul 30, 2011 at 2:35 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:> Hi, Asron > > > 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 > > I am not sure where to put cxxabi.h. How can I let clang find this > header file while compiling LLVM and Clang (in step 2)? >You need to add it to somewhere that is in Clangs includes search path. E.g. $INSTALL/lib/clang/2.9/include perhaps.> > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110730/77912799/attachment.html>
Hi, Aaron> > I am not sure where to put cxxabi.h. How can I let clang find this > > header file while compiling LLVM and Clang (in step 2)? > > > > You need to add it to somewhere that is in Clangs includes search path. E.g. > $INSTALL/lib/clang/2.9/include perhaps.Thanks for your help. Now I have another problem, --- llvm[4]: Compiling Version.cpp for Release build /nfs_home/chenwj/install/bin/clang++: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /nfs_home/chenwj/install/bin/clang++) --- What does the error mean? My default gcc is GCC 4.4.2, and its' libstdc++.so has no GLIBCXX_3.4.14. The GCC 4.5.2's libstdc++.so does have though. I find the comments of the post [1] have the similar problem I have, but I am not sure if this is the correct way to slove above problem. Regards, chenwj [1] http://stackoverflow.com/questions/5216399/usr-lib-libstdc-so-6-version-glibcxx-3-4-15-not-found -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667