[LLVMdev] LLVM/.Clang: 'make' freeze ?

Duncan Sands baldrick at free.fr
Mon Apr 11 03:10:01 PDT 2011


Hi John,

> Ive been trying to build llvm/clang from source, but at the point
> where the make reaches ' llvm[4]: Linking Debug+Asserts executable
> clang', it seems that the make just seems to freeze or become
> unresponsive.

this is a common problem when linking on machines that don't have a lot
of memory: the machine starts swapping and the link takes forever.  Try
doing an optimized build instead: the object files are much smaller, so
it doesn't put so much strain on your machine.

Ciao, Duncan.

  When it reaches this point, almost no CPU/IO activity
> seems to take place, and yet the 'make' does not seem to progress any
> further either. Ive been waiting/watching at this point for quite some
> time now. In comparison, the 'linking' steps have taken more time than
> the 'compiling' steps, but this is getting ridiculous. Should this
> step really take a long time on a linux/fedora box ? Like, hours ? Is
> something wrong with my system ? Or should I just let it run
> overnight, and see where we are tomorrow morning ?
>
>
> Thanks in advance,
>
>
> Regards,
>
>
> John Smith.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list