[cfe-dev] Failure building clang on Mageia2

Edward Diener eldlistmailingz at tropicsoft.com
Mon Dec 31 22:50:34 PST 2012


My attempt to build clang on Mageia2 from the latest llvm/clang source
failed when it could not find cxxabi.h. On Mageia2 it is at:

/usr/lib/gcc/x86_64-mageia-linux-gnu/4.6.3/include/

Here is the output with the compiler -v flag temporarily turned on:

#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>
         ^

I do not know why those gcc paths the compiler is searching are so
strange, but thet are clearly not where the file exists. Does anybody
have any idea ? The gcc compiler is 4.6.3.




More information about the cfe-dev mailing list