[LLVMdev] Problem while selfhosting LLVM and Clang

陳韋任 chenwj at iis.sinica.edu.tw
Sat Jul 30 01:05:46 PDT 2011


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




More information about the llvm-dev mailing list