[LLVMdev] Failure building llvm/clang from source using binary clang package on Mageia 2

Dmitri Gribenko gribozavr at gmail.com
Sun Jan 6 16:20:48 PST 2013


On Mon, Jan 7, 2013 at 12:23 AM, Edward Diener
<eldlistmailingz at tropicsoft.com> wrote:
> On Mageia 2 I have installed the binary clang package clang3.0-7. When I
> tried to build the latest llvm/clang from source using this binary clang
> I get this error:
>
> 1) 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>
>          ^
> llvm[1]: Compiling Statistic.cpp for Debug+Asserts build
> 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
>
> If I build with gcc, there are no problems.

I think that we have a new entry for our 'unsupported compilers' list.
 Please show the output of 'clang -v -fsyntax-only -x c++ /dev/null'.

It looks like Mageia 2 has C++ headers in a directory unknown to
clang.  (So basically, clang from the repository is broken...)

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-dev mailing list