[LLVMdev] Building llvm error on Mageia2

Edward Diener eldlistmailingz at tropicsoft.com
Sat Jan 5 06:01:20 PST 2013


Attempting to build llvm on Mageia2 from the 3.3 source I get:

"#include "..." search starts here:
#include <...> search starts here:
 /home/mgeldiener/dev/clang/build/include
 /home/mgeldiener/dev/clang/build/lib/Support
 /home/mgeldiener/vcs/llvm/include
 /home/mgeldiener/vcs/llvm/lib/Support
 /opt/intel/composerxe-2011.5.220/mkl/include
 /opt/intel/composerxe-2011.5.220/tbb/include
 /usr/bin/../lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../include/c++/4.6.3
 /usr/bin/../lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../include/c++/4.6.3/x86_64-mageia-linux-gnu
 /usr/bin/../lib/gcc/x86_64-mageia-linux-gnu/4.6.3/../../../../include/c++/4.6.3/backward
 /usr/local/include
 /usr/bin/../lib/clang/3.0/include
 /usr/include
End of search list.
In file included from /home/mgeldiener/vcs/llvm/lib/Support/Signals.cpp:30:
/home/mgeldiener/vcs/llvm/lib/Support/Unix/Signals.inc:32:10: fatal
error: 'cxxabi.h' file not found
#include <cxxabi.h>
         ^
1 error generated.
gmake[1]: ***
[/home/mgeldiener/dev/clang/build/lib/Support/Debug+Asserts/Signals.o]
Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/home/mgeldiener/dev/clang/build/lib/Support'
gmake: *** [all] Error 1"

The include path does not contain the path to the C standard library
include files where cxxabi.h resides. On Mageia2 this is at
/usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/include/. Why ?




More information about the llvm-dev mailing list