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

Dmitri Gribenko gribozavr at gmail.com
Mon Jan 7 05:39:10 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.

Hello Edward,

Here's a patch for ./configure that should detect and reject a broken
clang in your cases.  Could you please apply and test on all platforms
that you recently sent bug reports about?  You should see a clear
error from ./configure that the selected compiler 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>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-error-on-broken-clang-v1.patch
Type: application/octet-stream
Size: 4208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130107/6a52b1ce/attachment.obj>


More information about the llvm-dev mailing list